#version 150 core in vec2 pos; in vec3 color; out vec4 f_color; void main() { f_color = vec4(color, 1.0); gl_Position = vec4(pos, 0.0, 1.0); }