forked from BilalY/Rasagar
19 lines
342 B
Plaintext
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
|
|
}
|