wedge/shaders/cell.vert

13 lines
185 B
GLSL
Raw Normal View History

2019-07-27 10:03:19 +00:00
#version 330
in vec2 point;
2019-07-27 19:43:29 +00:00
out vec4 pos;
2019-07-27 10:03:19 +00:00
uniform mat4 target;
uniform mat4 projection;
void main() {
2019-07-27 19:43:29 +00:00
pos = vec4(point, 0.0, 1.0);
gl_Position = projection * target * pos;
2019-08-06 08:16:06 +00:00
}