From b22def74875b1d31def9e35f3b578a2c48580971 Mon Sep 17 00:00:00 2001 From: makamys Date: Wed, 8 Jun 2022 15:14:11 +0200 Subject: Rename DaColor to Color who named it that --- src/main/resources/shaders/chunk.vert | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/resources/shaders/chunk.vert') 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; -- cgit