summaryrefslogtreecommitdiffstats
path: root/balls.vert
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-10-30 12:01:31 -0400
committerSam Anthony <sam@samanthony.xyz>2024-10-30 12:01:31 -0400
commitb0aadeeffa84efecf3e2ef92407f3be7c71545d0 (patch)
treeb7fffeba3555cf4b6eb22792413d7b7a83fef999 /balls.vert
parent82cff2f488165191dd3abaad663e807aec71166a (diff)
downloadballs-b0aadeeffa84efecf3e2ef92407f3be7c71545d0.zip
ball colorss
Diffstat (limited to 'balls.vert')
-rw-r--r--balls.vert4
1 files changed, 4 insertions, 0 deletions
diff --git a/balls.vert b/balls.vert
index 8313b06..7d21548 100644
--- a/balls.vert
+++ b/balls.vert
@@ -1,8 +1,12 @@
#version 130
in vec4 in_coords;
+in vec3 in_color;
+out vec3 new_color;
void
main(void) {
+ new_color = in_color;
+
gl_Position = in_coords;
}