void main( float4 in_position : POSITION, float4 in_color : DIFFUSE, uniform float4x4 mvp, out float4 out_pos : POSITION, out float4 out_color : COLOR) { float4 pos = float4(in_position.xyz, 1.0f); out_pos = mul(pos, mvp); out_color = in_color; }