stmbl/term/graph.v.glsl

7 lines
120 B
GLSL

attribute vec2 coord2d;
uniform mat4 transform;
void main(void) {
gl_Position = transform * vec4(coord2d.xy, 0, 1);
}