aboutsummaryrefslogtreecommitdiff
path: root/res/shaders/line.vs
diff options
context:
space:
mode:
Diffstat (limited to 'res/shaders/line.vs')
-rw-r--r--res/shaders/line.vs8
1 files changed, 8 insertions, 0 deletions
diff --git a/res/shaders/line.vs b/res/shaders/line.vs
new file mode 100644
index 0000000..7ad4775
--- /dev/null
+++ b/res/shaders/line.vs
@@ -0,0 +1,8 @@
+#version 420 core
+layout (location = 0) in vec3 _l_position;
+
+uniform mat4 _u_matrix;
+
+void main() {
+ gl_Position = _u_matrix * vec4(_l_position, 1.0f);
+}