#ifdef GL_ES precision mediump float; #endif attribute vec4 vertex; attribute vec4 color; attribute vec2 tex_coord; uniform mat4 mvp; varying vec4 col; varying vec2 tex_c; void main() { gl_Position = mvp * vertex; col = color; tex_c = tex_coord; }