Version: 2019.2

説明

デフォルトのシャドウサンプリングモード: 比較フィルターを通してサンプリングします。

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

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