uniform mat4 u_matrix; in vec2 a_pos; in vec2 a_texture_pos; out vec2 v_pos; void main() { gl_Position = u_matrix * vec4(a_pos, 0, 1); v_pos = a_texture_pos / 8192.0; }