aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/shaders/chunk.vert
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2022-06-08 15:14:11 +0200
committermakamys <makamys@outlook.com>2022-06-08 15:14:11 +0200
commitb22def74875b1d31def9e35f3b578a2c48580971 (patch)
tree948d5286e1a2834cce4c3b269aea2912a9d5e122 /src/main/resources/shaders/chunk.vert
parent6064a0b77be0c15145eb61bd9510f6abaa15677a (diff)
downloadNeodymium-b22def74875b1d31def9e35f3b578a2c48580971.tar.gz
Neodymium-b22def74875b1d31def9e35f3b578a2c48580971.tar.bz2
Neodymium-b22def74875b1d31def9e35f3b578a2c48580971.zip
Rename DaColor to Color
who named it that
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;