summaryrefslogtreecommitdiff
path: root/src/shader/dot.vertex.glsl
blob: 5310ae745e0f34354c50a824e3690f0c2dafe163 (plain)
1
2
3
4
5
6
7
8
9
uniform mat4 u_matrix;
uniform float u_size;

attribute vec2 a_pos;

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