2023-11-02 01:20:12 -04:00
|
|
|
SamplerState gSampler : register(s1, space0);
|
2023-11-24 18:12:58 -05:00
|
|
|
Texture2D<float4> gTexture : register(t2, space1);
|
2023-11-02 01:20:12 -04:00
|
|
|
|
2023-10-30 22:41:05 -04:00
|
|
|
void PSMain(
|
2023-11-02 01:20:12 -04:00
|
|
|
in float4 iColor : COLOR,
|
|
|
|
in float2 iUV : TEXCOORD,
|
|
|
|
out float4 oColor : SV_TARGET
|
2023-10-30 22:41:05 -04:00
|
|
|
)
|
|
|
|
{
|
2023-11-02 01:20:12 -04:00
|
|
|
oColor = gTexture.SampleLevel(gSampler, iUV, 0) * iColor;
|
2023-10-30 22:41:05 -04:00
|
|
|
}
|