mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2024-12-29 09:23:53 +00: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;
|
|
}
|