#version 330 core layout (location = 0) in vec4 vertices; uniform vec4 ourColor; out vec4 color; void main() { color = ourColor; gl_Position = vertices; }