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

@ -53,7 +53,7 @@ public class RenderWritingTable extends TileEntitySpecialRenderer
for (int i = 1; i <= 6; i++)
{
GL11.glPushMatrix();
GL11.glEnable(GL11.GL_LIGHTING);
if (tileAltar.getStackInSlot(i) != null)
{
float scaleFactor = getGhostItemScaleFactor(tileAltar.getStackInSlot(i));
@ -79,9 +79,6 @@ public class RenderWritingTable extends TileEntitySpecialRenderer
GL11.glPopMatrix();
}
GL11.glEnable(GL11.GL_CULL_FACE);
GL11.glEnable(GL11.GL_LIGHTING);
}
}