precision highp float; varying vec2 v_texcoord; // is in 0-1 uniform sampler2D tex; void main() { gl_FragColor = texture2D(tex, v_texcoord); }