#ifdef GL_ES
// define default precision for float, vec, mat.
precision highp float;
#endif

uniform mat4 mvp;

attribute vec4 pos;
attribute vec2 texc1;
attribute vec2 texc2;
attribute vec4 color;

varying vec4 outColor;
varying vec2 outTexc1;
varying vec2 outTexc2;

void main()
{
	gl_Position = mvp * pos;
	outColor = color;
	outTexc1 = texc1;
	outTexc2 = texc2;
}
