Latest compatible version of Classicube from the original GitHub repository (https://github.com/ClassiCube/ClassiCube) that can be compiled on Classicube for PowerMac PPC running Mac OS X 10.4.
This commit is contained in:
12
misc/xbox/ps_textured.ps.cg
Normal file
12
misc/xbox/ps_textured.ps.cg
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user