// Vertex Shader for Worldpos Rendering

uniform mat4 mViewMatrix;
uniform mat4 mProjectionMatrix;

void main()
{
	mat4 viewProjection =  mProjectionMatrix * mViewMatrix;
	vec4 pos = gl_Vertex;
	//pos.z = -0.02;
	gl_Position = viewProjection * pos;
	//vec4 trans = viewProjection * gl_Vertex;
	//gl_Position = trans + vec4(0.0, 0.0, -0.2, 0.0);
	//gl_Position = gl_Vertex;
	gl_TexCoord[1] = gl_MultiTexCoord1;
	gl_FrontColor = gl_Color;
}