aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/shaders
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/shaders')
-rw-r--r--src/main/resources/shaders/chunk.vert8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/resources/shaders/chunk.vert b/src/main/resources/shaders/chunk.vert
index 3e12f99..67ce114 100644
--- a/src/main/resources/shaders/chunk.vert
+++ b/src/main/resources/shaders/chunk.vert
@@ -1,8 +1,8 @@
#version 330 core
-layout (location = 0) in vec3 aPos;
-layout (location = 1) in vec2 aTexCoord;
-layout (location = 2) in vec2 aBTexCoord;
-layout (location = 3) in vec4 aColor;
+layout (location = ATTRIB_POS) in vec3 aPos;
+layout (location = ATTRIB_TEXTURE) in vec2 aTexCoord;
+layout (location = ATTRIB_BRIGHTNESS) in vec2 aBTexCoord;
+layout (location = ATTRIB_COLOR) in vec4 aColor;
uniform mat4 modelView;
uniform mat4 proj;