Skip to content

Commit

Permalink
Fix Beam Former depth mask pollution (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurrycat2004 authored Nov 29, 2024
1 parent 246de04 commit 7d86362
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public static void renderBeamSegment(double x, double y, double z, double partia
bufferbuilder.pos(x + d3, y + (double) yOffset, z + d4).tex(0.0D, d13).color(f, f1, f2, 0.125F).endVertex();
bufferbuilder.pos(x + d3, y + i, z + d4).tex(0.0D, d14).color(f, f1, f2, 0.125F).endVertex();
tessellator.draw();
GlStateManager.depthMask(true);
GlStateManager.enableLighting();
GlStateManager.enableTexture2D();
GlStateManager.enableFog();
Expand Down

0 comments on commit 7d86362

Please sign in to comment.