1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Tune map rendering and related diagnostics

This commit is contained in:
Perttu Ahola 2011-10-18 19:18:01 +03:00
parent 8ead29a302
commit 4e1055543c
4 changed files with 64 additions and 21 deletions

View file

@ -1983,8 +1983,10 @@ void the_game(
range = draw_control.wanted_range*BS + MAP_BLOCKSIZE*BS*1.5;
if(draw_control.range_all)
range = 100000*BS;
if(range < 50*BS)
range = range * 0.5 + 25*BS;
/*if(range < 50*BS)
range = range * 0.5 + 25*BS;*/
// Move the invisible limit a bit further
//range *= 1.2;
}
driver->setFog(