기술 자료

Unity Engine

Unity Engine

CompareDepths

Default shadow sampling mode: sampling with a comparison filter.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

CompareDepths = 0

Remarks

The texture and sampler should be declared with:
UNITY_DECLARE_SHADOWMAP(_Shadowmap);
and sampled with:
UNITY_SAMPLE_SHADOW(_Shadowmap, half3(uv, depth_for_comparison));
.