Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

ShadowSamplingMode.RawDepth

Description

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;.

Did you find this page useful? Please give it a rating: