aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorlhofhansl <lhofhansl@yahoo.com>2016-10-30 20:35:55 -0700
committerkwolekr <kwolekr@minetest.net>2016-10-30 23:35:55 -0400
commite1842ed370f7cab23e460979a08886b5df38e1b3 (patch)
treea16653ec6e2f9be8411dd1aa3ae629dd301de687 /builtin
parent595932a8602292f28333ce14e20cee4b6d8820c1 (diff)
downloadminetest-e1842ed370f7cab23e460979a08886b5df38e1b3.tar.gz
minetest-e1842ed370f7cab23e460979a08886b5df38e1b3.tar.bz2
minetest-e1842ed370f7cab23e460979a08886b5df38e1b3.zip
Optionally disable optimization that causes underwater and cave rendering glitches. (#4686)
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 492d7c79d..e48fc9bc5 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -849,6 +849,13 @@ liquid_queue_purge_time (Liquid queue purge time) int 0
# Liquid update interval in seconds.
liquid_update (Liquid update tick) float 1.0
+# At this distance the server will aggressively optimize which blocks are sent to clients.
+# Small values potentially improve performance a lot, at the expense of visible rendering glitches.
+# (some blocks will not be rendered under water and in caves, as well as sometimes on land)
+# Setting this to a value greater than max_block_send_distance disables this optimization.
+# Stated in mapblocks (16 nodes)
+block_send_optimize_distance (block send optimize distance) int 4 2
+
[*Mapgen]
# Name of map generator to be used when creating a new world.