Tweaked fog distances slightly (they're still terrible)

This commit is contained in:
Adubbz 2014-08-01 18:35:47 +10:00
parent 1bd7e92f0a
commit b9b5368703

View file

@ -68,7 +68,7 @@ public class FogHandler
fogInit = true;
int distance = 30;
int distance = 20;
int divider = 0;
float farPlaneDistance = 0F;
@ -85,7 +85,7 @@ public class FogHandler
}
else
{
farPlaneDistance += 256F;
farPlaneDistance += event.farPlaneDistance;
}
divider++;
@ -108,7 +108,7 @@ public class FogHandler
}
else
{
GL11.glFogf(GL11.GL_FOG_START, farPlaneDistance * 0.8F);
GL11.glFogf(GL11.GL_FOG_START, farPlaneDistance * 0.75F);
GL11.glFogf(GL11.GL_FOG_END, farPlaneDistance);
}
}