Files
taptap2024_GJ_chidouren/Assets/Scripts/System/RenderFeature/Art/GaussBlur/BlitTexture.hlsl
2024-10-16 00:03:41 +08:00

13 lines
512 B
HLSL

//UNITY_SHADER_NO_UPGRADE
#ifndef MYHLSLINCLUDE_INCLUDED
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
// Blit.hlsl 提供 vertex shader (Vert), input structure (Attributes) and output strucutre (Varyings)
#include "Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl"
#define MYHLSLINCLUDE_INCLUDED
void SampleTextureX_float(float2 uv, out half4 col)
{
col = SAMPLE_TEXTURE2D_X(_BlitTexture, sampler_PointClamp, uv);
}
#endif //MYHLSLINCLUDE_INCLUDED