1 2 3 4 5 6 7 8 9 10 11 12
#version 330 core in VS_OUT { vec4 color; vec2 tex_coord; } fs_in; out vec4 fragColor; void main() { fragColor = fs_in.color; }