mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-20 05:20:24 -07:00
Improved fog distance scaling
This commit is contained in:
parent
fec94fe629
commit
f80d7cbb61
4 changed files with 5 additions and 4 deletions
|
|
@ -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, (float) GlobalConfig.VIEW_DISTANCE - 512.0f);
|
||||
local1.glFogf(GL2.GL_FOG_START, (float) GlobalConfig.VIEW_DISTANCE - (GlobalConfig.VIEW_FADE_DISTANCE * 2.0f));
|
||||
GlRenderer.disableDepthMask();
|
||||
for (@Pc(19) int local19 = 0; local19 < Static36.surfaceHdTiles[0].length; local19++) {
|
||||
@Pc(31) GlTile local31 = Static36.surfaceHdTiles[0][local19];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue