forked from BilalY/Rasagar
17 lines
307 B
Plaintext
17 lines
307 B
Plaintext
Pass
|
|
{
|
|
Name ${VFXPassVelocity}
|
|
Tags { "LightMode"=${VFXPassVelocity} }
|
|
|
|
${VFXStencilMotionVector}
|
|
|
|
ZWrite On
|
|
Blend Off
|
|
|
|
HLSLPROGRAM
|
|
#define VFX_PASSDEPTH VFX_PASSDEPTH_MOTION_VECTOR
|
|
${VFXPassVelocityAdditionalPragma}
|
|
${VFXInclude("Shaders/ParticleHexahedron/PassDepthOrMV.template")}
|
|
ENDHLSL
|
|
}
|