mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Rendering fixes
This commit is contained in:
1 parent
5aa8041049
commit
47fd07f5c3
8 files changed
+34
-10
No files matched your search
@@ -77,9 +77,11 @@ public class ModelChargepad extends ModelBase
|
||||
|
||||
public void render(float size, TextureManager manager)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
MekanismRenderer.blendOn();
|
||||
|
||||
doRender(size);
|
||||
|
||||
GL11.glPushMatrix();
|
||||
manager.bindTexture(OVERLAY);
|
||||
GL11.glScalef(1.001F, 1.001F, 1.001F);
|
||||
GL11.glTranslatef(0, -0.0011F, 0);
|
||||
@@ -88,6 +90,7 @@ public class ModelChargepad extends ModelBase
|
||||
doRender(size);
|
||||
|
||||
MekanismRenderer.glowOff();
|
||||
MekanismRenderer.blendOff();
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user