Doubled view distance

This commit is contained in:
Pazaz 2022-04-27 03:25:02 -04:00
parent 83a07e779e
commit fec94fe629
8 changed files with 38 additions and 34 deletions

View file

@ -52,7 +52,7 @@ public final class Static156 {
}
@Pc(99) short local99;
if (GlRenderer.enabled) {
local99 = 3584;
local99 = (short)GlobalConfig.VIEW_DISTANCE;
} else {
local99 = 3500;
}
@ -110,7 +110,7 @@ public final class Static156 {
GlRenderer.setLightingEnabled(false);
local1.glDisable(GL2.GL_DEPTH_TEST);
local1.glPushAttrib(GL2.GL_FOG_BIT);
local1.glFogf(GL2.GL_FOG_START, 3072.0F);
local1.glFogf(GL2.GL_FOG_START, (float) GlobalConfig.VIEW_DISTANCE - 512.0f);
GlRenderer.disableDepthMask();
for (@Pc(19) int local19 = 0; local19 < Static36.surfaceHdTiles[0].length; local19++) {
@Pc(31) GlTile local31 = Static36.surfaceHdTiles[0][local19];