varying vec2 texCoord;
varying vec4 vpos; //vertex pos
varying vec4 flatvpos;
varying vec4 glColor;

void main(void)
{
	//gl_Position = ftransform();
	gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
	texCoord = gl_MultiTexCoord0.xy;

    vpos=gl_Position;
    flatvpos=gl_Vertex;
    glColor=gl_Color;
}
