Files
MapLibreParticleLab/src/shader/dot.vertex.glsl
John Firebaugh 9d5f02ccaa Match js shaders
The only non-incidental change is to revert portions
of d5b4c116 and 3a9a9043.

See d5b4c1162d (commitcomment-7668050)
2014-09-05 13:23:14 -07:00

10 lines
164 B
GLSL

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;
}