29 lines
469 B
Plaintext
29 lines
469 B
Plaintext
|
// Depth pass
|
||
|
Pass
|
||
|
{
|
||
|
Name "SceneSelectionPass"
|
||
|
Tags { "LightMode"="SceneSelectionPass" }
|
||
|
|
||
|
ZWrite On
|
||
|
Blend Off
|
||
|
|
||
|
HLSLPROGRAM
|
||
|
#define VFX_PASSDEPTH VFX_PASSDEPTH_SELECTION
|
||
|
${VFXInclude("Shaders/ParticlePoints/PassDepthOrMV.template")}
|
||
|
ENDHLSL
|
||
|
}
|
||
|
|
||
|
Pass
|
||
|
{
|
||
|
Name "Picking"
|
||
|
Tags { "LightMode"="Picking" }
|
||
|
|
||
|
ZWrite On
|
||
|
Blend Off
|
||
|
|
||
|
HLSLPROGRAM
|
||
|
#define VFX_PASSDEPTH VFX_PASSDEPTH_PICKING
|
||
|
${VFXInclude("Shaders/ParticlePoints/PassDepthOrMV.template")}
|
||
|
ENDHLSL
|
||
|
}
|