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:
23
misc/xbox360/vs_textured.hlsl
Normal file
23
misc/xbox360/vs_textured.hlsl
Normal file
@@ -0,0 +1,23 @@
|
||||
struct INPUT_VERTEX
|
||||
{
|
||||
float3 pos : POSITION;
|
||||
float4 col : COLOR0;
|
||||
float2 uv : TEXCOORD0;
|
||||
};
|
||||
|
||||
struct OUTPUT_VERTEX
|
||||
{
|
||||
float4 pos : POSITION;
|
||||
float4 col : COLOR0;
|
||||
float2 uv : TEXCOORD0;
|
||||
};
|
||||
|
||||
float4x4 mvpMatrix: register(c0);
|
||||
|
||||
OUTPUT_VERTEX main(INPUT_VERTEX input) {
|
||||
OUTPUT_VERTEX output;
|
||||
output.pos = mul(mvpMatrix, float4(input.pos, 1.0f));
|
||||
output.col = input.col;
|
||||
output.uv = input.uv;
|
||||
return output;
|
||||
}
|
||||
Reference in New Issue
Block a user