1 2 3 4 5 6 7 8
#version 450 layout(location=0)in vec3 v_color; layout(location=0)out vec4 f_color; void main(){ f_color=vec4(v_color,1.); }