ClassiCube/misc/xbox/ps_textured.ps.cg
2023-09-04 23:27:51 +10:00

12 lines
195 B
Text

struct vOut {
float4 color : COLOR;
float2 tex0 : TEXCOORD0;
};
float4 main(
vOut input,
uniform sampler2D tex
) : COLOR
{
return tex2D(tex, input.tex0.xy) * input.color;
}