From d3a6ee00e63cc0a4adcaa7598ad5614f1e419515 Mon Sep 17 00:00:00 2001 From: lhofhansl Date: Wed, 8 Feb 2023 13:42:12 -0800 Subject: 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 --- builtin/settingtypes.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'builtin') 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 -- cgit v1.2.3