From abef6da56913f1c55528103e60a50451a39628b1 Mon Sep 17 00:00:00 2001 From: WlodekM Date: Sun, 16 Jun 2024 10:35:45 +0300 Subject: initial commit --- misc/xbox/ps_textured.ps.cg | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 misc/xbox/ps_textured.ps.cg (limited to 'misc/xbox/ps_textured.ps.cg') diff --git a/misc/xbox/ps_textured.ps.cg b/misc/xbox/ps_textured.ps.cg new file mode 100644 index 0000000..19d4f9e --- /dev/null +++ b/misc/xbox/ps_textured.ps.cg @@ -0,0 +1,12 @@ +struct vOut { + float4 color : COLOR; + float2 tex0 : TEXCOORD0; +}; + +float4 main( + vOut input, + uniform sampler2D tex + ) : COLOR +{ + return tex2D(tex, input.tex0.xy) * input.color; +} -- cgit 1.4.1-2-gfad0