mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Possible fix to bases of islands/hills getting culled out too early
This commit is contained in:
parent
718086f383
commit
4964daa5be
1 changed files with 2 additions and 2 deletions
|
@ -3844,8 +3844,8 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
|
|||
Occlusion culling
|
||||
*/
|
||||
|
||||
v3s16 cpn = v3s16(block->getPos() * MAP_BLOCKSIZE)
|
||||
+ v3s16(MAP_BLOCKSIZE)/2;
|
||||
v3s16 cpn = block->getPos() * MAP_BLOCKSIZE;
|
||||
cpn += v3s16(MAP_BLOCKSIZE/2, MAP_BLOCKSIZE/2, MAP_BLOCKSIZE/2);
|
||||
float step = BS*1;
|
||||
float stepfac = 1.1;
|
||||
float startoff = BS*1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue