aboutsummaryrefslogtreecommitdiffstats
path: root/vert.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'vert.glsl')
-rw-r--r--vert.glsl9
1 files changed, 9 insertions, 0 deletions
diff --git a/vert.glsl b/vert.glsl
new file mode 100644
index 0000000..1730d35
--- /dev/null
+++ b/vert.glsl
@@ -0,0 +1,9 @@
+// Copyright (C) 2018 Tomasz Kramkowski <tk@the-tk.com>
+// SPDX-License-Identifier: MIT
+#version 330 core
+layout (location = 0) in vec3 pos;
+
+void main()
+{
+ gl_Position = vec4(pos, 1.0);
+}