From 9f483ee07a78dcfb00744f623761efed65c24b9c Mon Sep 17 00:00:00 2001 From: James Seibel Date: Tue, 24 Feb 2026 22:03:43 -0600 Subject: [PATCH] Fix fade test shader --- .../resources/assets/distanthorizons/shaders/fade/frag.fsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/resources/assets/distanthorizons/shaders/fade/frag.fsh b/core/src/main/resources/assets/distanthorizons/shaders/fade/frag.fsh index 72751ec8f..cf8963b19 100644 --- a/core/src/main/resources/assets/distanthorizons/shaders/fade/frag.fsh +++ b/core/src/main/resources/assets/distanthorizons/shaders/fade/frag.fsh @@ -11,14 +11,14 @@ uniform sampler2D uDhDepthTexture; void main() { float dhFragmentDepth = texture(uDhDepthTexture, TexCoord).r; - if (dhFragmentDepth == 0) + if (dhFragmentDepth == 1) { // no MC depth - fragColor = fColor; + fragColor = fColor; } else { // MC depth drawn - fragColor = vec4(0, 0, 1, 1); // green + fragColor = vec4(1, 1, 1, 1); // white } } \ No newline at end of file