Skip to content

Commit

Permalink
Fix radiation overlay not consistently displaying with the correct co…
Browse files Browse the repository at this point in the history
…lor #7558
  • Loading branch information
pupnewfster committed Jul 27, 2022
1 parent c58fad8 commit db466df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/mekanism/client/render/MekanismRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ public static void renderColorOverlay(PoseStack matrix, int x, int y, int width,
RenderSystem.disableTexture();
RenderSystem.enableBlend();
RenderSystem.defaultBlendFunc();
RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F, 1.0F);
RenderSystem.setShader(GameRenderer::getPositionColorShader);
Tesselator tesselator = Tesselator.getInstance();
BufferBuilder bufferbuilder = tesselator.getBuilder();
Expand Down

0 comments on commit db466df

Please sign in to comment.