Enable server side occlusion culling by default.

This commit is contained in:
Lars Hofhansl 2017-03-03 12:40:50 -08:00 committed by Auke Kok
parent ba4b704ebf
commit ff80696947
3 changed files with 3 additions and 3 deletions

@ -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 # 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 # sent to the client 50-80%. The client will not longer receive most invisible
# so that the utility of noclip mode is reduced. # 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] [*Mapgen]

@ -1060,7 +1060,7 @@
# on the eye position of the player. This can reduce the number of blocks # 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 # sent to the client 50-80%. The client will not longer receive most invisible
# so that the utility of noclip mode is reduced. # so that the utility of noclip mode is reduced.
server_side_occlusion_culling = false server_side_occlusion_culling = true
## Mapgen ## Mapgen

@ -282,7 +282,7 @@ void set_default_settings(Settings *settings)
// This causes frametime jitter on client side, or does it? // This causes frametime jitter on client side, or does it?
settings->setDefault("max_block_send_distance", "9"); settings->setDefault("max_block_send_distance", "9");
settings->setDefault("block_send_optimize_distance", "4"); 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("max_clearobjects_extra_loaded_blocks", "4096");
settings->setDefault("time_speed", "72"); settings->setDefault("time_speed", "72");
settings->setDefault("server_unload_unused_data_timeout", "29"); settings->setDefault("server_unload_unused_data_timeout", "29");