Rasagar/Library/PackageCache/com.unity.visualeffectgraph/Shaders/ParticleHexahedron/PassShadowCaster.template
2024-08-26 23:07:20 +03:00

19 lines
342 B
Plaintext

// Shadow pass
Pass
{
Name ${VFXPassShadow}
Tags { "LightMode"=${VFXPassShadow} }
ZClip [_ZClip]
ZWrite On
Blend Off
HLSLPROGRAM
#define VFX_PASSDEPTH VFX_PASSDEPTH_SHADOW
#if !USE_ALPHA_TEST && IS_TRANSPARENT_PARTICLE
#define USE_ALPHA_TEST 1
#endif
${VFXInclude("Shaders/ParticleHexahedron/PassDepthOrMV.template")}
ENDHLSL
}