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

Question missing node depth fade

Discussion in 'Shader Graph' started by raelplays90, May 5, 2022.

  1. raelplays90

    raelplays90

    Joined:
    Apr 24, 2021
    Posts:
    26
    i was trying to follow a tutorial but i could not find the depthfade node
    like in the video
     
  2. raelplays90

    raelplays90

    Joined:
    Apr 24, 2021
    Posts:
    26
    forget it was mistake of mine already solved thx
     
  3. jlorenzi

    jlorenzi

    Joined:
    May 2, 2021
    Posts:
    272
    How did you find it? I can't find the depth fade node anywhere
     
  4. GameBossNinja1

    GameBossNinja1

    Joined:
    May 29, 2022
    Posts:
    3
    i can't find it either
     
  5. Ben_at_Work

    Ben_at_Work

    Joined:
    Mar 16, 2022
    Posts:
    58
    Isn't it called "Scene Depth" in Shader Graph or are you referring to a different node?
     
  6. jgarciavector

    jgarciavector

    Joined:
    Jan 26, 2019
    Posts:
    2
    I think I found it. Depth Fade is a SUB SHADER, that means you have to create it.
    In this video it shows how to do it for the water foam in the min 3:00
     
  7. Rozik

    Rozik

    Joined:
    Nov 13, 2009
    Posts:
    4
    Anyone know how to write this sub shader so it works with orthographic camera too?
     
  8. techwrath

    techwrath

    Joined:
    Feb 18, 2016
    Posts:
    1
  9. DOGUKANN3

    DOGUKANN3

    Joined:
    Jul 22, 2021
    Posts:
    3
    I figure out the name of sub shader must be "DepthFade" or you can't see the DepthFade section.