summaryrefslogtreecommitdiff
path: root/shaders/combine.vert
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-02-11 20:39:22 +0100
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-02-11 20:39:22 +0100
commit4ecdaa7cd08f4f3ee04cd49f8f2271636ac81e64 (patch)
tree96c95877250d63ca2d688ad472bd6a46bdc3fbb3 /shaders/combine.vert
parent35a70d71f62e41d78d68247075ce174f2b6d997a (diff)
transparencyHEADmain
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'shaders/combine.vert')
-rw-r--r--shaders/combine.vert11
1 files changed, 11 insertions, 0 deletions
diff --git a/shaders/combine.vert b/shaders/combine.vert
new file mode 100644
index 0000000..b9b349e
--- /dev/null
+++ b/shaders/combine.vert
@@ -0,0 +1,11 @@
+#version 450
+
+const vec2 vertices[] = {
+ vec2(-1.0f, 3.0f),
+ vec2(-1.0f, -1.0f),
+ vec2(3.0f, -1.0f)
+};
+
+void main() {
+ gl_Position = vec4(vertices[gl_VertexIndex % 3], 0.0f, 1.0f);
+}