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
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue