#version 330 uniform mat4 projection; uniform mat4 view; uniform mat4 model; in vec3 vert; in vec4 vertColor; out vec4 fragColor; void main() { fragColor = vertColor; gl_Position = projection * view * model * vec4(vert, 1); }