aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-03 13:35:32 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-03 13:35:32 +0200
commit718086f383eab64ebca3c6bd85350cf0802f6040 (patch)
treec237651a08bb48a5c16e65435d156e585ba7b231
parent339b7588d2f97ee96d0c9fcaabc862e223b9ae76 (diff)
downloadminetest-718086f383eab64ebca3c6bd85350cf0802f6040.tar.gz
minetest-718086f383eab64ebca3c6bd85350cf0802f6040.tar.bz2
minetest-718086f383eab64ebca3c6bd85350cf0802f6040.zip
Tune occlusion culling a bit more
-rw-r--r--src/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 3ecdfa00f..6ba33288d 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -3847,7 +3847,7 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
v3s16 cpn = v3s16(block->getPos() * MAP_BLOCKSIZE)
+ v3s16(MAP_BLOCKSIZE)/2;
float step = BS*1;
- float stepfac = 1.2;
+ float stepfac = 1.1;
float startoff = BS*1;
float endoff = -BS*MAP_BLOCKSIZE*1.42*1.42;
v3s16 spn = cam_pos_nodes + v3s16(0,0,0);