Enable lighting when rendering TESRs

This commit is contained in:
ganymedes01 authored and mezz committed 2015-08-20 00:48:07 -07:00
1 parent 4bf4c2a043
commit f5dc70141e
3 files changed
-6

No files matched your search

@@ -59,7 +59,6 @@ public class ModelAnalyzer extends ModelBase {
public void render(ForgeDirection orientation, float posX, float posY, float posZ) {
GL11.glPushMatrix();
GL11.glDisable(GL11.GL_LIGHTING);
GL11.glTranslatef(posX, posY, posZ);
float[] angle = {0, 0, 0};
@@ -108,7 +107,6 @@ public class ModelAnalyzer extends ModelBase {
Proxies.common.bindTexture(textures[2]);
tower2.render(factor);
GL11.glEnable(GL11.GL_LIGHTING);
GL11.glPopMatrix();
}