From 0970a9062f859f984d932e376724a71191839c60 Mon Sep 17 00:00:00 2001 From: Noah Date: Sun, 13 Oct 2024 11:06:48 -0400 Subject: [PATCH] maybe this will work! --- assets/minecraft/shaders/core/rendertype_text.fsh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/minecraft/shaders/core/rendertype_text.fsh b/assets/minecraft/shaders/core/rendertype_text.fsh index 4aad715..7d7f1be 100644 --- a/assets/minecraft/shaders/core/rendertype_text.fsh +++ b/assets/minecraft/shaders/core/rendertype_text.fsh @@ -34,10 +34,10 @@ void main() { // If you are merging with another shader, replace the code below here with the code that they have in their main() function vec4 color = texture(Sampler0, texCoord0) * vertexColor * ColorModulator; - if (color.a < 0.1) { - if (!(((vertexColor.x * 255.0) == 240.0 && (vertexColor.y * 255.0) == 242.0 && (vertexColor.z * 255.0) == 242.0) || ((vertexColor.x * 255.0) == 168.0 && (vertexColor.y * 255.0) == 242.0 && (vertexColor.z * 255.0) == 242.0) || ((vertexColor.x * 255.0) == 164.0 && (vertexColor.y * 255.0) == 242.0 && (vertexColor.z * 255.0) == 242.0))) { - discard; - } + if (color.a < 0.1) + { + discard; } + fragColor = linear_fog(color, vertexDistance, FogStart, FogEnd, FogColor); }