You've already forked taptap2024_GJ_chidouren
init
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
//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
|
||||
Reference in New Issue
Block a user