summaryrefslogtreecommitdiff
path: root/assets/shaders/triangle.vert
diff options
context:
space:
mode:
authoromnisci3nce <17525998+omnisci3nce@users.noreply.github.com>2024-03-27 21:05:04 +1100
committeromnisci3nce <17525998+omnisci3nce@users.noreply.github.com>2024-03-27 21:05:04 +1100
commit80cdd4f2b1c2a3355926b59a85e14100b3daa7b7 (patch)
tree0c7787806aeb5613462e4e966fccd9f4de1c57b7 /assets/shaders/triangle.vert
parent90248a622203da205916ac89a1ac144d363cf37d (diff)
simple shaders for testing
Diffstat (limited to 'assets/shaders/triangle.vert')
-rw-r--r--assets/shaders/triangle.vert8
1 files changed, 8 insertions, 0 deletions
diff --git a/assets/shaders/triangle.vert b/assets/shaders/triangle.vert
new file mode 100644
index 0000000..0518c62
--- /dev/null
+++ b/assets/shaders/triangle.vert
@@ -0,0 +1,8 @@
+#version 450
+#extension GL_ARB_separate_shader_objects : enable
+
+layout(location = 0) in vec3 in_position;
+
+void main() {
+ gl_Position = vec4(in_position, 1.0);
+} \ No newline at end of file