mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Fog factor correction, small fixes
This commit is contained in:
parent
f6c74dfb8b
commit
ccbfaa3a86
5 changed files with 9 additions and 9 deletions
|
|
@ -115,7 +115,7 @@ void Engine::mainloop() {
|
|||
level->update();
|
||||
level->chunksController->update(settings.chunks.loadSpeed);
|
||||
|
||||
float fovFactor = 16.0f / (float)settings.chunks.loadDistance;
|
||||
float fovFactor = 18.0f / (float)settings.chunks.loadDistance;
|
||||
worldRenderer.draw(camera, occlusion, fovFactor, settings.fogCurve);
|
||||
hud.draw();
|
||||
if (level->player->debug) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue