1 2 3 4 5 6 7 8 9 10 11 12
#version 330 core in vec3 position; uniform mat4 viewProjection; uniform mat4 model; void main() { gl_Position = viewProjection * model * vec4(position, 1.0); }