summaryrefslogtreecommitdiff
path: root/assets/shaders/triangle.vert
diff options
context:
space:
mode:
authoromnisci3nce <17525998+omnisci3nce@users.noreply.github.com>2024-03-29 21:11:02 +1100
committeromnisci3nce <17525998+omnisci3nce@users.noreply.github.com>2024-03-29 21:11:02 +1100
commit765a6d0f36a9f16189efc449bde815a6c0938584 (patch)
tree68bf5121a6f8b4136205fed57893e696ea3a60d7 /assets/shaders/triangle.vert
parentff907c6ffa7ed0a7c6ce938b40a6c223dd0a3b9d (diff)
triangle
Diffstat (limited to 'assets/shaders/triangle.vert')
-rw-r--r--assets/shaders/triangle.vert3
1 files changed, 3 insertions, 0 deletions
diff --git a/assets/shaders/triangle.vert b/assets/shaders/triangle.vert
index 0518c62..3dcf931 100644
--- a/assets/shaders/triangle.vert
+++ b/assets/shaders/triangle.vert
@@ -3,6 +3,9 @@
layout(location = 0) in vec3 in_position;
+layout(location = 0) out vec3 out_position;
+
void main() {
gl_Position = vec4(in_position, 1.0);
+ out_position = in_position;
} \ No newline at end of file