summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Hofhansl <larsh@apache.org>2017-03-03 12:40:50 -0800
committerAuke Kok <sofar+github@foo-projects.org>2017-03-11 18:11:19 -0800
commitff8069694748707d4435ebd109c99ff20212826f (patch)
treea9992de8e59dcc0e60dfbc2773e8c0606d230452
parentba4b704ebf24952ab9a84c914b8ad6c45dabfaba (diff)
downloadminetest-ff8069694748707d4435ebd109c99ff20212826f.tar.gz
minetest-ff8069694748707d4435ebd109c99ff20212826f.tar.bz2
minetest-ff8069694748707d4435ebd109c99ff20212826f.zip
Enable server side occlusion culling by default.
-rw-r--r--builtin/settingtypes.txt2
-rw-r--r--minetest.conf.example2
-rw-r--r--src/defaultsettings.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index ffd872c20..cba03e983 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -868,7 +868,7 @@ block_send_optimize_distance (block send optimize distance) int 4 2
# on the eye position of the player. This can reduce the number of blocks
# sent to the client 50-80%. The client will not longer receive most invisible
# so that the utility of noclip mode is reduced.
-server_side_occlusion_culling (Server side occlusion culling) bool false
+server_side_occlusion_culling (Server side occlusion culling) bool true
[*Mapgen]
diff --git a/minetest.conf.example b/minetest.conf.example
index 08d00d62a..8caeeb7d2 100644
--- a/minetest.conf.example
+++ b/minetest.conf.example
@@ -1060,7 +1060,7 @@
# on the eye position of the player. This can reduce the number of blocks
# sent to the client 50-80%. The client will not longer receive most invisible
# so that the utility of noclip mode is reduced.
-server_side_occlusion_culling = false
+server_side_occlusion_culling = true
## Mapgen
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 483c9cff6..d67a60b07 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -282,7 +282,7 @@ void set_default_settings(Settings *settings)
// This causes frametime jitter on client side, or does it?
settings->setDefault("max_block_send_distance", "9");
settings->setDefault("block_send_optimize_distance", "4");
- settings->setDefault("server_side_occlusion_culling", "false");
+ settings->setDefault("server_side_occlusion_culling", "true");
settings->setDefault("max_clearobjects_extra_loaded_blocks", "4096");
settings->setDefault("time_speed", "72");
settings->setDefault("server_unload_unused_data_timeout", "29");