Techneck/vertex_shader.glsl

12 lines
161 B
Plaintext
Raw Normal View History

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 10:43:34 +00:00
void main() {
2023-10-10 11:35:29 +00:00
gl_Position = vec4(pos, 1.0) * projection_matrix;
2023-10-10 10:43:34 +00:00
}