#version 400 uniform mat4 P; uniform mat4 V; uniform mat4 M; layout(location = 0) in vec3 pos_attrib; out vec3 v_pos; void main(void) { gl_Position = vec4(pos_attrib, 1.0); //v_pos = pos_attrib; }