aboutsummaryrefslogtreecommitdiff
path: root/builtin/settingtypes.txt
diff options
context:
space:
mode:
authorx2048 <codeforsmile@gmail.com>2022-04-02 10:42:27 +0200
committerGitHub <noreply@github.com>2022-04-02 10:42:27 +0200
commitb0b9732359d43325c8bd820abeb8417353365a0c (patch)
tree3de2c5a55f67ee142a9f2a1b95c2b47b6d881c54 /builtin/settingtypes.txt
parent26c046a563f686f9309055f5d566a92d436eed7e (diff)
downloadminetest-b0b9732359d43325c8bd820abeb8417353365a0c.tar.gz
minetest-b0b9732359d43325c8bd820abeb8417353365a0c.tar.bz2
minetest-b0b9732359d43325c8bd820abeb8417353365a0c.zip
Add depth sorting for node faces (#11696)
Use BSP tree to order transparent triangles https://en.wikipedia.org/wiki/Binary_space_partitioning
Diffstat (limited to 'builtin/settingtypes.txt')
-rw-r--r--builtin/settingtypes.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 3dc165bd1..b4230735b 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -858,6 +858,10 @@ autoscale_mode (Autoscaling mode) enum disable disable,enable,force
# A restart is required after changing this.
show_entity_selectionbox (Show entity selection boxes) bool false
+# Distance in nodes at which transparency depth sorting is enabled
+# Use this to limit the performance impact of transparency depth sorting
+transparency_sorting_distance (Transparency Sorting Distance) int 16 0 128
+
[*Menus]
# Use a cloud animation for the main menu background.