light/Engine/res/Shaders/Texture/Texture_PS.hlsl

7 lines
193 B
HLSL
Raw Normal View History

sampler samplerState : register(s0);
Texture2D<float4> myTexture : register(t0);
float4 main(float2 InTexChoord : TEXCOORD) : SV_Target
{
return myTexture.Sample(samplerState, InTexChoord);
}