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
778 B
31 lines
778 B
Shader "Custom/#SCRIPTNAME#"
|
|
{
|
|
SubShader
|
|
{
|
|
HLSLINCLUDE
|
|
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
|
|
#include "Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl"
|
|
ENDHLSL
|
|
|
|
Tags { "RenderType"="Opaque" }
|
|
LOD 100
|
|
ZWrite Off Cull Off
|
|
Pass
|
|
{
|
|
Name "#SCRIPTNAME#"
|
|
|
|
HLSLPROGRAM
|
|
|
|
#pragma vertex Vert
|
|
#pragma fragment Frag
|
|
|
|
float4 Frag (Varyings input) : SV_Target
|
|
{
|
|
float4 color = SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, input.texcoord).rgba;
|
|
return color;
|
|
}
|
|
|
|
ENDHLSL
|
|
}
|
|
}
|
|
}
|