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