From 0a7c0c573c846054e9aff02d26999280bcb65d69 Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Sun, 17 Nov 2024 19:26:11 +1000 Subject: [PATCH] blub --- src/main/resources/assets/voxy/shaders/hiz/blit.fsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/assets/voxy/shaders/hiz/blit.fsh b/src/main/resources/assets/voxy/shaders/hiz/blit.fsh index 78e48c38..008cdc78 100644 --- a/src/main/resources/assets/voxy/shaders/hiz/blit.fsh +++ b/src/main/resources/assets/voxy/shaders/hiz/blit.fsh @@ -6,6 +6,8 @@ layout(binding = 0) uniform sampler2D depthTex; void main() { vec4 depths = textureGather(depthTex, uv, 0); // Get depth values from all surrounding texels. + //TODO: fully fix this system + //TODO, do it so that for the first 2,3 levels if 1 (or maybe even 2 (on the first layer)) pixels are air, just ignore that // this is to stop issues with 1 pixel gaps bvec4 cv = lessThanEqual(vec4(0.99999999), depths);