mirror of
https://github.com/rt64/rt64.git
synced 2024-12-28 18:31:51 +00:00
11 lines
276 B
HLSL
11 lines
276 B
HLSL
|
//
|
||
|
// RT64
|
||
|
//
|
||
|
|
||
|
Texture2D<float4> gTexture : register(t1);
|
||
|
SamplerState gSampler : register(s2);
|
||
|
|
||
|
float4 PSMain(in float4 pos : SV_Position, in float2 uv : TEXCOORD) : SV_TARGET {
|
||
|
float4 result = float4(gTexture.SampleLevel(gSampler, uv, 0).rgb, 1.0f);
|
||
|
return result;
|
||
|
}
|