Poly3d/shaders/gizmo_vertex_shader.glsl

12 lines
206 B
Plaintext
Raw Permalink Normal View History

2024-11-25 23:08:00 +00:00
#version 330 core
layout(location = 0) in vec3 position;
uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;
void main()
{
gl_Position = projection * view * model * vec4(position, 1.0);
}