summary refs log tree commit diff
path: root/misc/xbox/ps_textured.ps.cg
diff options
context:
space:
mode:
authorWlodekM <[email protected]>2024-06-16 10:35:45 +0300
committerWlodekM <[email protected]>2024-06-16 10:35:45 +0300
commitabef6da56913f1c55528103e60a50451a39628b1 (patch)
treeb3c8092471ecbb73e568cd0d336efa0e7871ee8d /misc/xbox/ps_textured.ps.cg
initial commit
Diffstat (limited to 'misc/xbox/ps_textured.ps.cg')
-rw-r--r--misc/xbox/ps_textured.ps.cg12
1 files changed, 12 insertions, 0 deletions
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;
+}