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.
 
 
 
 
 

37 lines
867 B

Shader "Hidden/ScriptableRenderPipeline/ShadowClear"
{
HLSLINCLUDE
#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
ENDHLSL
SubShader
{
Tags{ "RenderPipeline" = "HDRenderPipeline" }
Pass
{
Name "ClearShadow"
ZTest Always
Cull Off
ZWrite On
HLSLPROGRAM
#pragma vertex Vert_0
#pragma fragment Frag
float4 Vert_0( uint vertexID : VERTEXID_SEMANTIC ) : SV_POSITION
{
return GetFullScreenTriangleVertexPosition( vertexID, UNITY_RAW_FAR_CLIP_VALUE );
}
void Frag() { }
ENDHLSL
}
}
Fallback Off
}