
attribute vec2 position;
attribute vec2 texCoord;
attribute vec4 color;

uniform mat4 projMat;

varying vec2 v_texCoord;
varying vec4 v_color;

void main()
{
	gl_Position = projMat * vec4(position.x, position.y, 0, 1);
	//v_texCoord = texCoord / 65535.0;
	//v_color = color / 255.0;
	v_texCoord = texCoord;
	v_color = color;
}