17 lines
319 B
Plaintext
17 lines
319 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/ParticleLinesSW/PassDepthOrMV.template")}
|
||
|
|
ENDHLSL
|
||
|
|
}
|