diff options
Diffstat (limited to 'misc/xbox/ps_textured.ps.cg')
-rw-r--r-- | misc/xbox/ps_textured.ps.cg | 12 |
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; +} |