summaryrefslogtreecommitdiffstats
path: root/dev/a6-harold/shaders/stroke3d.vert
diff options
context:
space:
mode:
Diffstat (limited to 'dev/a6-harold/shaders/stroke3d.vert')
-rw-r--r--dev/a6-harold/shaders/stroke3d.vert10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev/a6-harold/shaders/stroke3d.vert b/dev/a6-harold/shaders/stroke3d.vert
new file mode 100644
index 0000000..d333c4f
--- /dev/null
+++ b/dev/a6-harold/shaders/stroke3d.vert
@@ -0,0 +1,10 @@
+#version 330
+
+uniform mat4 modelViewMatrix;
+uniform mat4 projectionMatrix;
+
+layout(location = 0) in vec3 vertex;
+
+void main() {
+ gl_Position = projectionMatrix * modelViewMatrix * vec4(vertex,1);
+}