vertex.vert (282B)
1 // 2 // © 2020 Michael Percival <m@michaelpercival.xyz> 3 // See LICENSE file for copyright and license details. 4 // 5 6 #version 330 core 7 8 layout(location = 0) in vec3 vertexPosition_modelspace; 9 10 void main() { 11 gl_Position.xyz = vertexPosition_modelspace; 12 gl_Position.w = 1.0; 13 }