Tune occlusion culling a bit more
parent
339b7588d2
commit
718086f383
|
@ -3847,7 +3847,7 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
|
||||||
v3s16 cpn = v3s16(block->getPos() * MAP_BLOCKSIZE)
|
v3s16 cpn = v3s16(block->getPos() * MAP_BLOCKSIZE)
|
||||||
+ v3s16(MAP_BLOCKSIZE)/2;
|
+ v3s16(MAP_BLOCKSIZE)/2;
|
||||||
float step = BS*1;
|
float step = BS*1;
|
||||||
float stepfac = 1.2;
|
float stepfac = 1.1;
|
||||||
float startoff = BS*1;
|
float startoff = BS*1;
|
||||||
float endoff = -BS*MAP_BLOCKSIZE*1.42*1.42;
|
float endoff = -BS*MAP_BLOCKSIZE*1.42*1.42;
|
||||||
v3s16 spn = cam_pos_nodes + v3s16(0,0,0);
|
v3s16 spn = cam_pos_nodes + v3s16(0,0,0);
|
||||||
|
|
Loading…
Reference in New Issue