]> git.localhorst.tv Git - tacos-assets.git/blobdiff - shader/cursor.vertex.glsl
simple cursor shader
[tacos-assets.git] / shader / cursor.vertex.glsl
diff --git a/shader/cursor.vertex.glsl b/shader/cursor.vertex.glsl
new file mode 100644 (file)
index 0000000..85c68b6
--- /dev/null
@@ -0,0 +1,9 @@
+#version 330 core
+
+layout(location = 0) in vec3 vert_position;
+
+uniform mat4 VP;
+
+void main() {
+       gl_Position = VP * vec4(vert_position, 1.0);
+}