Rasagar/Library/PackageCache/com.unity.visualeffectgraph/Shaders/ParticleMeshes/PassShadowCaster.template

21 lines
359 B
Plaintext
Raw Normal View History

2024-08-26 13:07:20 -07:00
// Shadow pass
Pass
{
Name ${VFXPassShadow}
Tags { "LightMode"=${VFXPassShadow} }
ZClip [_ZClip]
ZWrite On
Blend Off
HLSLPROGRAM
#pragma target 4.5
#if !USE_ALPHA_TEST && IS_TRANSPARENT_PARTICLE
#define USE_ALPHA_TEST 1
#endif
#define VFX_PASSDEPTH VFX_PASSDEPTH_SHADOW
${VFXInclude("Shaders/ParticleMeshes/PassDepthOrMV.template")}
ENDHLSL
}