文档

Unity Engine

Unity Engine

RawDepth

Shadow sampling mode for sampling the depth value.
阅读时间1 分钟最后更新于 1 个月前

Definition

RawDepth = 1

Remarks

The texture and sampler can be declared with:
sampler2D _Shadowmap;
and sampled with:
tex2D(_Shadowmap, uv).r;
.