Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 265 Bytes
attribute vec3 vertex;
attribute vec3 color;
uniform mat4 ProjectionMatrix;
uniform mat4 ModelViewMatrix;
varying vec4 frontColor;
void main(void) {
frontColor = vec4(color,1.0);
gl_Position = ProjectionMatrix * ModelViewMatrix * vec4(vertex, 1.0);
}