Search Unity

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,348
    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,982
    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,878
    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,982
    Thanks!



    VacuumShaders - Facebook Twitter YouTube