Versions with this page:
Versions without this page:
Shadow sampling mode for sampling the depth value.
The texture and sampler can be declared with: sampler2D _Shadowmap;and sampled with: tex2D(_Shadowmap, uv).r;.
sampler2D _Shadowmap;
tex2D(_Shadowmap, uv).r;