armory/Shaders/debug_draw/line.vert.glsl
N8n5h afdc54bc35 Fixed DebugDraw line drawing method
Now lines should always face the camera.
2020-01-05 11:48:29 -03:00

13 lines
165 B
GLSL
Executable file

#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);
}