Skip to content

Commit

Permalink
Fix weather radar rendering on other side of walls
Browse files Browse the repository at this point in the history
  • Loading branch information
Corosauce committed Nov 3, 2016
1 parent b003c2b commit 629519c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ public void renderTileEntityAt(TileEntity var1, double x, double y, double z, fl
GlStateManager.translate((float)x + 0.5F, (float)y+1.1F, (float)z + 0.5F);
GL11.glNormal3f(0.0F, 1.0F, 0.0F);
GlStateManager.disableLighting();
GlStateManager.depthMask(false);
GlStateManager.disableDepth();
//GlStateManager.depthMask(false);
//GlStateManager.disableDepth();
GlStateManager.enableBlend();
GlStateManager.tryBlendFuncSeparate(770, 771, 1, 0);
Tessellator tessellator = Tessellator.getInstance();
Expand All @@ -118,8 +118,8 @@ public void renderTileEntityAt(TileEntity var1, double x, double y, double z, fl
worldrenderer.pos((double)(sizeRenderBoxDiameter/2), 0, -(double)(sizeRenderBoxDiameter/2)).color(0.0F, 0.0F, 0.0F, 0.25F).endVertex();
tessellator.draw();
GlStateManager.enableTexture2D();
GlStateManager.enableDepth();
GlStateManager.depthMask(true);
//GlStateManager.enableDepth();
//GlStateManager.depthMask(true);

GlStateManager.enableLighting();
GlStateManager.disableBlend();
Expand Down

0 comments on commit 629519c

Please sign in to comment.