aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorlhofhansl <larsh@apache.org>2023-02-08 13:42:12 -0800
committerGitHub <noreply@github.com>2023-02-08 13:42:12 -0800
commitd3a6ee00e63cc0a4adcaa7598ad5614f1e419515 (patch)
treeab82ef6f25fe7f314c0065334f7c9c4d56f65426 /builtin
parent56d2567b5dcf9556cef8352032cede48a5610801 (diff)
downloadminetest-d3a6ee00e63cc0a4adcaa7598ad5614f1e419515.tar.xz
Generalize mesh chunking, and make it configurable. (#13179)
* Generalize mesh chunking. Set 3x3x3 chunks. * Make mesh chunk size configurable... Default to 1 (off). * Extract all mesh grid maths into a dedicated class --------- Co-authored-by: x2048 <codeforsmile@gmail.com>
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 ec8a8ce47..14cfdbc0b 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -1713,6 +1713,13 @@ world_aligned_mode (World-aligned textures mode) enum enable disable,enable,forc
# Warning: This option is EXPERIMENTAL!
autoscale_mode (Autoscaling mode) enum disable disable,enable,force
+# Side length of a cube of map blocks that the client will consider together
+# when generating meshes.
+# Larger values increase the utilization of the GPU by reducing the number of
+# draw calls, benefiting especially high-end GPUs.
+# Systems with a low-end GPU (or no GPU) would benefit from smaller values.
+client_mesh_chunk (Client Mesh Chunksize) int 1 1 16
+
[**Font]
font_bold (Font bold by default) bool false