Skip to content

Commit

Permalink
Enable server side occlusion culling by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
lhofhansl authored and sofar committed Mar 12, 2017
1 parent ba4b704 commit ff80696
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion builtin/settingtypes.txt
Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion minetest.conf.example
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/defaultsettings.cpp
Expand Up @@ -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");
Expand Down

0 comments on commit ff80696

Please sign in to comment.