1 2 3 4 5 6 7 8
#version 130 out vec4 color; void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; color = gl_Color; }