mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2024-09-06 04:13:15 +02:00
12 lines
273 B
HLSL
12 lines
273 B
HLSL
SamplerState gSampler : register(s1, space0);
|
|
Texture2D<float4> gTexture : register(t2, space1);
|
|
|
|
void PSMain(
|
|
in float4 iColor : COLOR,
|
|
in float2 iUV : TEXCOORD,
|
|
out float4 oColor : SV_TARGET
|
|
)
|
|
{
|
|
oColor = gTexture.SampleLevel(gSampler, iUV, 0) * iColor;
|
|
}
|