attribute vec3 vPosition; attribute vec4 vColor; varying vec4 color; varying vec3 position; uniform mat4 ProjectionMatrix; void main() { gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0); color = vColor; position = vPosition; }