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

21 lines
359 B
Plaintext

// 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
}