hexnando/shaders/hex.vert
2023-10-15 18:28:20 +02:00

10 lines
183 B
GLSL

#version 330 core
layout (location = 0) in vec3 pos;
uniform mat4 model;
uniform mat4 view;
uniform mat4 proj;
void main()
{
gl_Position = proj * view * model * vec4(pos, 1.0f);
}