summaryrefslogtreecommitdiff
path: root/src/shader/pattern.vertex.glsl
blob: eeee39930f81690ce6caf1a6cd94482ea15904d2 (plain)
1
2
3
4
5
6
7
8
9
10
uniform mat4 u_matrix;

attribute vec2 a_pos;

varying vec2 v_pos;

void main() {
    v_pos = a_pos;
    gl_Position = u_matrix * vec4(a_pos, 0, 1);
}