Version: 2022.1
언어: 한국어

설명

Default shadow sampling mode: sampling with a comparison filter.

The texture and sampler should be declared with: UNITY_DECLARE_SHADOWMAP(_Shadowmap);

and sampled with: UNITY_SAMPLE_SHADOW(_Shadowmap, half3(uv, depth_for_comparison));.