Enable lighting when rendering models. Everything looks a lot better!
This commit is contained in:
parent
6c4c579e89
commit
de813e808a
19 changed files with 36 additions and 155 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue