aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/shaders/chunk.vert
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/shaders/chunk.vert')
-rw-r--r--src/main/resources/shaders/chunk.vert6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/resources/shaders/chunk.vert b/src/main/resources/shaders/chunk.vert
index 5ff6b06..9901ef3 100644
--- a/src/main/resources/shaders/chunk.vert
+++ b/src/main/resources/shaders/chunk.vert
@@ -2,7 +2,7 @@
layout (location = 0) in vec3 aPos;
layout (location = 1) in vec2 aTexCoord;
layout (location = 2) in vec2 aBTexCoord;
-layout (location = 3) in vec4 aDaColor;
+layout (location = 3) in vec4 aColor;
uniform mat4 modelView;
uniform mat4 proj;
@@ -15,7 +15,7 @@ uniform vec3 playerPos;
out vec2 TexCoord;
out vec2 BTexCoord;
-out vec4 DaColor;
+out vec4 Color;
out vec4 Viewport;
out mat4 ProjInv;
out vec4 FogColor;
@@ -26,7 +26,7 @@ void main()
gl_Position = proj * modelView * (vec4(aPos - playerPos, 1.0) + vec4(0, 0.12, 0, 0));
TexCoord = aTexCoord;
BTexCoord = aBTexCoord;
- DaColor = aDaColor;
+ Color = aColor;
Viewport = viewport;
ProjInv = projInv;
FogColor = fogColor;