LNXSDK/leenkx/Shaders/debug_draw/line.vert.glsl
2025-01-22 16:18:30 +01:00

13 lines
165 B
GLSL

#version 450
in vec3 pos;
in vec3 col;
uniform mat4 ViewProjection;
out vec3 color;
void main() {
color = col;
gl_Position = ViewProjection * vec4(pos, 1.0);
}