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

struct v2f {
	float4 position  : POSITION;
	float2 texcoords : TEXCOORD0;

	float3 amb_col   : TEXCOORD2;
	float3 diff_col  : TEXCOORD3;
	float3 spec_col  : TEXCOORD4;
};

void main( in v2f IN,
					 out float4 colOut : COLOR0) {

	const float3 tmp = IN.amb_col + IN.diff_col + IN.spec_col;
	colOut = float4( tmp, 1 );
}

