RawDepth
Shadow sampling mode for sampling the depth value.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
RawDepth = 1
Remarks
The texture and sampler can be declared with:
sampler2D _Shadowmap;and sampled with: .
tex2D(_Shadowmap, uv).r;