1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#version 430 //layout(location = 0)in vec3 vertex; in vec3 vertex; uniform mat4 projection; uniform mat4 view; uniform mat4 model; //out vec3 texCoord; void main() { gl_Position = projection * view * model * vec4(vertex, 1.0f); }