Move where the fog setup happens
This commit is contained in:
@@ -233,6 +233,7 @@ public class LodRenderer
|
||||
GL11.glPolygonMode(GL11.GL_FRONT_AND_BACK, GL11.GL_FILL);
|
||||
GL11.glEnable(GL11.GL_BLEND);
|
||||
|
||||
setupFog(FogDistanceMode.NEAR, ofConfig.getFogType());
|
||||
|
||||
|
||||
|
||||
@@ -379,8 +380,6 @@ public class LodRenderer
|
||||
colorIndex++;
|
||||
}
|
||||
|
||||
setupFog(FogDistanceMode.NEAR, ofConfig.getFogType());
|
||||
|
||||
mc.world.profiler.endStartSection("LOD draw");
|
||||
|
||||
// draw the LODs
|
||||
|
||||
Reference in New Issue
Block a user