1 2 3 4 5 6 7 8
attribute vec3 in_pos; uniform mat4 proj; uniform mat4 view; void main() { gl_Position = proj * view * vec4(in_pos, 1.0); }