Files
SMH-Engine/resources/shaders/simple.vert
Benjamin Kyd f88a89cd1a initial commit
2019-02-20 20:56:32 +00:00

12 lines
170 B
GLSL

#version 330
in vec3 position;
uniform mat4 model;
uniform mat4 view;
uniform mat4 proj;
void main() {
gl_Position = proj * view * model * vec4(position, 1.0);
}