mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-23 01:21:57 -05:00
13 lines
No EOL
339 B
Text
13 lines
No EOL
339 B
Text
void main(
|
|
float3 in_position,
|
|
float4 in_color,
|
|
float2 in_texcoord,
|
|
uniform float4x4 mvp_matrix,
|
|
out float4 out_position : POSITION,
|
|
out float4 out_color : COLOR,
|
|
out float2 out_texcoord: TEXCOORD0)
|
|
{
|
|
out_position = mul(mvp_matrix, float4(in_position, 1.0f));
|
|
out_color = in_color;
|
|
out_texcoord = in_texcoord;
|
|
} |