wedge/shaders/cell.vert
2019-08-06 03:16:06 -05:00

12 lines
185 B
GLSL

#version 330
in vec2 point;
out vec4 pos;
uniform mat4 target;
uniform mat4 projection;
void main() {
pos = vec4(point, 0.0, 1.0);
gl_Position = projection * target * pos;
}