UNPKG

111 BPlain TextView Raw
1attribute vec2 a_pos;
2
3uniform mat4 u_matrix;
4
5void main() {
6 gl_Position = u_matrix * vec4(a_pos, 0, 1);
7}