

uniform mat4 ModelViewProj;
attribute vec2 InPosition;
attribute vec4 InColour0;
attribute vec2 InUV0;
varying vec4 InterpColour0;
varying vec2 InterpUV0;

void main()
{
	// transform position into homogenous clip-space
	gl_Position = ( ModelViewProj * vec4( InPosition, 0, 1 ) );

	// pass colour/uv
	InterpColour0 = InColour0;
	InterpUV0 = InUV0;
}

