#version 300 es layout (location=0) in vec3 position; layout (location=1) in vec4 color; out vec4 vColor; void main () { gl_Position = vec4(position, 1); vColor = color; }