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
|
@ -19,8 +19,6 @@ public class RenderConduit extends TileEntitySpecialRenderer
|
|||
if (tileEntity instanceof TEConduit)
|
||||
{
|
||||
TEConduit tileConduit = (TEConduit) tileEntity;
|
||||
GL11.glDisable(GL11.GL_LIGHTING);
|
||||
GL11.glDisable(GL11.GL_CULL_FACE);
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float) d0 + 0.5F, (float) d1 + 1.5F, (float) d2 + 0.5F);
|
||||
ResourceLocation test = new ResourceLocation("alchemicalwizardry:textures/models/Conduit.png");
|
||||
|
@ -30,8 +28,6 @@ public class RenderConduit extends TileEntitySpecialRenderer
|
|||
this.modelConduit.render((Entity) null, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F, tileConduit.getInputDirection(), tileConduit.getOutputDirection());
|
||||
GL11.glPopMatrix();
|
||||
GL11.glPopMatrix();
|
||||
GL11.glEnable(GL11.GL_CULL_FACE);
|
||||
GL11.glEnable(GL11.GL_LIGHTING);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue