You've already forked taptap2024_GJ_chidouren
13 lines
512 B
HLSL
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
|