2023-10-10 10:43:34 +00:00
|
|
|
#version 420 core
|
|
|
|
|
|
|
|
layout(location=0) in vec3 pos;
|
|
|
|
|
2023-10-10 11:35:29 +00:00
|
|
|
uniform mat4 projection_matrix;
|
2023-10-10 15:06:01 +00:00
|
|
|
uniform mat4 view_matrix;
|
|
|
|
uniform mat4 model_matrix;
|
2023-10-10 11:35:29 +00:00
|
|
|
|
2023-10-10 10:43:34 +00:00
|
|
|
void main() {
|
|
|
|
|
2023-10-10 15:06:01 +00:00
|
|
|
gl_Position = projection_matrix * view_matrix * vec4(pos, 1.0);
|
2023-10-10 10:43:34 +00:00
|
|
|
|