summaryrefslogtreecommitdiffhomepage
path: root/shaders
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-12-07 09:27:52 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-12-09 05:08:48 +0100
commit459e94900d06ea79b7fb215880e336a8cba156ca (patch)
treec099f716f75c8bbb94b77d6fcf5478ae9b72e8ca /shaders
parent142a53e157d5f1f591feb2560b2e6260e4a2a249 (diff)
wipshit
Diffstat (limited to 'shaders')
-rw-r--r--shaders/shader.vert2
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/shader.vert b/shaders/shader.vert
index 88ed1e93..a2deda52 100644
--- a/shaders/shader.vert
+++ b/shaders/shader.vert
@@ -5,7 +5,7 @@ layout (location = 1) uniform vec3 offset;
layout (location = 2) uniform vec4 tint;
layout (location = 3) uniform bool enable_lightmap;
-layout (location = 0) in vec4 position;
+layout (location = 0) in vec4 position; // todo move depth to .w
layout (location = 1) in vec2 texcoords;
layout (location = 2) in vec2 light_coord;
layout (location = 3) in float depth;