You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.3 KiB
58 lines
1.3 KiB
{
|
|
SubShader
|
|
{
|
|
Tags{ "RenderPipeline" = "HDRenderPipeline" }
|
|
Cull Off
|
|
|
|
${VFXInclude("Shaders/VFXParticleHeader.template")}
|
|
|
|
Pass
|
|
{
|
|
Name "SceneSelectionPass"
|
|
Tags { "LightMode"="SceneSelectionPass" }
|
|
|
|
ZWrite On
|
|
Blend Off
|
|
|
|
HLSLPROGRAM
|
|
#pragma vertex Vert
|
|
#pragma fragment FragmentSceneSelection
|
|
|
|
#define VFX_PASSDEPTH VFX_PASSDEPTH_SELECTION
|
|
${VFXIncludeRP("Templates/Volumetric/PassVolumetricFog.template")}
|
|
ENDHLSL
|
|
}
|
|
|
|
Pass
|
|
{
|
|
Name "VolumetricFogVFX"
|
|
Tags { "LightMode"="VolumetricFogVFX" }
|
|
|
|
HLSLPROGRAM
|
|
|
|
#pragma vertex Vert
|
|
#pragma fragment Frag
|
|
|
|
${VFXIncludeRP("Templates/Volumetric/PassVolumetricFog.template")}
|
|
ENDHLSL
|
|
}
|
|
|
|
Pass
|
|
{
|
|
Name "VolumetricFogVFXOverdrawDebug"
|
|
Tags { "LightMode"="VolumetricFogVFXOverdrawDebug" }
|
|
|
|
Blend One One
|
|
|
|
HLSLPROGRAM
|
|
|
|
#pragma vertex Vert
|
|
#pragma fragment FragmentOverdrawDebug
|
|
|
|
#define HDRP_OVERDRAW_DEBUG
|
|
|
|
${VFXIncludeRP("Templates/Volumetric/PassVolumetricFog.template")}
|
|
ENDHLSL
|
|
}
|
|
}
|
|
}
|