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.
 
 
 
 
 

31 lines
799 B

Pass
{
Name "FullScreenDebug"
Tags{ "LightMode" = "FullScreenDebug" }
HLSLPROGRAM
#pragma target 4.5
#define DEBUG_DISPLAY
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugDisplay.hlsl"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/Debug/FullScreenDebug.hlsl"
struct ps_input
{
float4 pos : SV_POSITION;
UNITY_VERTEX_OUTPUT_STEREO
VFX_VERTEX_OUTPUT_INSTANCE_INDEX
};
#define VFX_VARYING_PS_INPUTS ps_input
#define VFX_VARYING_POSCS pos
${VFXBegin:VFXVertexAdditionalProcess}
${VFXPassFullScreenDebugCommonVertex}
${VFXEnd}
${VFXInclude("Shaders/ParticleLinesSW/Pass.template")}
${VFXPassFullScreenDebugCommonFragment}
ENDHLSL
}