Enable lighting when rendering models. Everything looks a lot better!

This commit is contained in:
ganymedes01 2014-11-13 20:03:45 -02:00
parent 6c4c579e89
commit de813e808a
19 changed files with 36 additions and 155 deletions

View file

@ -39,7 +39,6 @@ public class TEAltarRenderer extends TileEntitySpecialRenderer
if (tileEntity instanceof TEAltar)
{
TEAltar tileAltar = (TEAltar) tileEntity;
GL11.glDisable(GL11.GL_LIGHTING);
GL11.glPushMatrix();
if (tileAltar.getStackInSlot(0) != null)
@ -64,8 +63,6 @@ public class TEAltarRenderer extends TileEntitySpecialRenderer
}
GL11.glPopMatrix();
GL11.glEnable(GL11.GL_CULL_FACE);
GL11.glEnable(GL11.GL_LIGHTING);
}
}