summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorSebastian Park <SebPark03@gmail.com>2024-05-06 02:15:49 -0400
committerSebastian Park <SebPark03@gmail.com>2024-05-06 02:15:49 -0400
commit85e2ef8c9d7cdb24715a7375e149d5d1e7d580b1 (patch)
tree92ca052fb3afcdb9c7e7a928029f944d4bd9b636 /resources
parent72bcf6a346dfcaeaac9520d8c524711192e77c3d (diff)
change clear colors and set input name from color to normal.
Diffstat (limited to 'resources')
-rw-r--r--resources/shaders/color.vert4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/shaders/color.vert b/resources/shaders/color.vert
index d449122..6aa941e 100644
--- a/resources/shaders/color.vert
+++ b/resources/shaders/color.vert
@@ -1,10 +1,10 @@
#version 330 core
layout (location = 0) in vec3 position;
-layout (location = 1) in vec3 color;
+layout (location = 1) in vec3 normal;
out vec3 col;
void main() {
gl_Position = vec4(position, 1.0);
- col = color;
+ col = normal;
}