varying vec4 v_color;
varying vec2 v_texCoord;

void main()
{
//    gl_Position = vec4(gl_Vertex.x-1.0, gl_Vertex.y-1.0, 0.0, 1.0);
//    v_color = gl_Color;
    v_texCoord = vec2(gl_MultiTexCoord0.x, 1.0-gl_MultiTexCoord0.y);

    gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
    v_color = gl_Color;
//    v_texCoord = vec2(gl_MultiTexCoord0);
}