Search Unity

Help Wanted Using the Fog node with a unlit master

Discussion in 'Shader Graph' started by YuriyPopov, Jan 27, 2020.

  1. YuriyPopov

    YuriyPopov

    Joined:
    Sep 5, 2017
    Posts:
    121
    Using the fog node with a unlit master node being active result in the return value of the density being completely black (understand 0). When a PBR master node is active however the density value is correct. This is happening on URP 7.1.7/unity 2019.3 and URP 7.1.8/unity 2020. Has anyone encountered this problem and how can it be solved?
     
  2. GilG

    GilG

    Joined:
    Jan 30, 2017
    Posts:
    12
    Hello, I'm currently trying to add fog to a shader and have the exact same issue.
    Did you already reported it as a bug ?
     
  3. alexandral_unity

    alexandral_unity

    Unity Technologies

    Joined:
    Jun 18, 2018
    Posts:
    119
  4. GilG

    GilG

    Joined:
    Jan 30, 2017
    Posts:
    12
    Thank you very much !
     
unityunity