YoggieEngine/BarinkEngine/graphics/shaders/vertex.shader

10 lines
181 B
GLSL

#version 440 core
in layout(location=0) vec3 aPos;
uniform mat4 M;
uniform mat4 V;
uniform mat4 P;
void main() {
gl_Position = P * V * M * vec4(aPos.x, aPos.y, aPos.z, 1.0);
}