Search Unity

Question Is a pixel on screen in a shadow or not?

Discussion in 'Shader Graph' started by ArkadyYa, Mar 14, 2020.

  1. ArkadyYa

    ArkadyYa

    Joined:
    Jan 30, 2020
    Posts:
    7
    Good day. I imitate sun sparkles on snow with emission in my shader. But these sparkles must be weaker in shadows (or not to be at all). I guess I need the information from the shadow map. How?