aboutsummaryrefslogtreecommitdiff
path: root/hello.vert
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-16 17:03:33 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-16 17:03:33 +0200
commitc0a4cd2aa8dce443a7d54232cada0ee57cdec463 (patch)
treee559b7e0ef46627957426a685dcd376cc96c8d94 /hello.vert
parent548fcede95d44a3486e43f24302809792754861a (diff)
WIP fragment shader demo
Diffstat (limited to 'hello.vert')
-rw-r--r--hello.vert7
1 files changed, 7 insertions, 0 deletions
diff --git a/hello.vert b/hello.vert
index e69de29..4af0bdf 100644
--- a/hello.vert
+++ b/hello.vert
@@ -0,0 +1,7 @@
+#version 330 core
+layout (location = 0) in vec3 aPos;
+
+void main() {
+ gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0);
+}
+