mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-18 19:29:19 +00:00
Fix energy and gas transmitters rendering without proper transparency.
This commit is contained in:
1 parent
c706d2ebb1
commit
db8ec6cb2e
1 file changed
+4
-4
@@ -237,7 +237,7 @@ public class RenderPartTransmitter implements IIconSelfRegister
|
||||
return;
|
||||
}
|
||||
|
||||
GL11.glPushMatrix();
|
||||
push();
|
||||
CCRenderState.reset();
|
||||
CCRenderState.useNormals = true;
|
||||
CCRenderState.startDrawing();
|
||||
@@ -256,7 +256,7 @@ public class RenderPartTransmitter implements IIconSelfRegister
|
||||
MekanismRenderer.disableCullFace();
|
||||
MekanismRenderer.glowOff();
|
||||
|
||||
GL11.glPopMatrix();
|
||||
pop();
|
||||
}
|
||||
|
||||
public void renderContents(PartMechanicalPipe pipe, Vector3 pos)
|
||||
@@ -468,7 +468,7 @@ public class RenderPartTransmitter implements IIconSelfRegister
|
||||
return;
|
||||
}
|
||||
|
||||
GL11.glPushMatrix();
|
||||
push();
|
||||
CCRenderState.reset();
|
||||
CCRenderState.useNormals = true;
|
||||
CCRenderState.startDrawing();
|
||||
@@ -486,7 +486,7 @@ public class RenderPartTransmitter implements IIconSelfRegister
|
||||
|
||||
MekanismRenderer.disableCullFace();
|
||||
MekanismRenderer.glowOff();
|
||||
GL11.glPopMatrix();
|
||||
pop();
|
||||
}
|
||||
|
||||
public void renderStatic(PartSidedPipe transmitter)
|
||||
|
||||
Reference in new issue
Block a user