1 2 3 4 5 6 7 8 9 10 11
uniform mat4 mvp; attribute vec4 vert_color; varying vec4 color; void main(void) { gl_Position = mvp * gl_Vertex; color = abs(vert_color); }