Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

5.4 Camera-DepthNormalTexture override no longer works?

Discussion in 'Shaders' started by Alabatross, Sep 24, 2016.

  1. Alabatross

    Alabatross

    Joined:
    Dec 15, 2012
    Posts:
    223
    My custom rendertypes were broken with the switch to 5.4, it seems like Camera-DepthNormalTexture isn't even used anymore.

    So I went to download the most recent built in shaders, and surprise surprise... it was renamed to: Internal-DepthNormalsTexture. I thought I figured it out but it quickly became clear I was unable to override this too.

    Where is it getting the rendertypes from now?
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,248
    Check the graphics settings. They exposed a couple of internal shaders that previously you could override by just putting copies of in your Asset folders that now need to be explicitly called out. I can't remember if the camera depth normal texture is in there though.
     
  3. Alabatross

    Alabatross

    Joined:
    Dec 15, 2012
    Posts:
    223
    Thank you! I had to change the depthnormals from built in to custom and reference my own. Much appreciated :D
     
  4. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    Removed from Graphics Settings in 5.5.
    Does anyone know where we override built-in Depth Normals shader? Nothing mentioned in release notes or doc.

    depthNT.png


    VacuumShaders - Facebook Twitter YouTube
     
  5. aubergine

    aubergine

    Joined:
    Sep 12, 2009
    Posts:
    2,864
    Right click on "Inspector" title and chose debug instead of normal.
    Go to your graphics settings and you will see them all.
     
  6. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    Thanks!



    VacuumShaders - Facebook Twitter YouTube