// Mikkel Gjøl, s971661 'at' student 'dot' dtu 'dot' dk
////////////////////////////////////////////////////////////////////

struct a2v {
	float4 position : POSITION;
	float2 tex0     : TEXCOORD0;
	float4 vcol : COLOR0;
};


struct v2f {
	float4 position  : POSITION;
	float2 texcoords : TEXCOORD0;
	float4 vcol : COLOR0;
};


void main(	in a2v IN,
			out v2f OUT,
			const uniform float4x4 ModelViewProj : state.matrix.mvp )
{
	OUT.position  = mul( ModelViewProj, IN.position );
	OUT.texcoords = IN.tex0;
	OUT.vcol = IN.vcol;
}

