m2-ar-projet/shaders/line.vert

9 lines
127 B
GLSL

attribute vec3 in_pos;
uniform mat4 proj;
uniform mat4 view;
void main() {
gl_Position = proj * view * vec4(in_pos, 1.0);
}