Skip to content

Commit

Permalink
Revert "maybe this will work!"
Browse files Browse the repository at this point in the history
This reverts commit 0970a90.
  • Loading branch information
noxhy committed Oct 13, 2024
1 parent fd8a894 commit 42cd82c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assets/minecraft/shaders/core/rendertype_text.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
discard;
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;
}
}

fragColor = linear_fog(color, vertexDistance, FogStart, FogEnd, FogColor);
}

0 comments on commit 42cd82c

Please sign in to comment.