forked from BilalY/Rasagar
17 lines
328 B
Plaintext
17 lines
328 B
Plaintext
// Depth Normal pass
|
|
Pass
|
|
{
|
|
Name ${VFXPassDepthNormal}
|
|
Tags { "LightMode"=${VFXPassDepthNormal} }
|
|
|
|
ZWrite On
|
|
Blend Off
|
|
|
|
HLSLPROGRAM
|
|
#define VFX_PASSDEPTH VFX_PASSDEPTH_ACTUAL
|
|
#define WRITE_NORMAL_BUFFER
|
|
${VFXPassDepthAdditionalPragma}
|
|
${VFXInclude("Shaders/ParticlePlanarPrimitives/PassDepthOrMV.template")}
|
|
ENDHLSL
|
|
}
|