mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-17 10:55:06 +00:00
Enable lighting when rendering TESRs
This commit is contained in:
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();
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user