mybox/res/shaders/vertex.vert
2022-07-03 17:55:00 -07:00

10 lines
No EOL
281 B
GLSL

#version 420 core
layout (location = 0) in vec3 aPos;
//layout (location = 0) in vec2 aPos;
//layout (location = 0) in float aPosx;
//layout (location = 1) in float aPosy;
//layout (location = 2) in float aPosz;
void main() {
gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0);
}