aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorx2048 <codeforsmile@gmail.com>2023-03-30 00:10:23 +0200
committerGitHub <noreply@github.com>2023-03-30 00:10:23 +0200
commit93898957b6c5862c6db0fa2555eaa5d3a0070e12 (patch)
tree76383f2376f5f5665ba62d1d9a15edd24fa30713 /builtin
parentbd88d299b9159acbbf7d9d1df6d4f5487653a863 (diff)
downloadminetest-93898957b6c5862c6db0fa2555eaa5d3a0070e12.tar.xz
Return 'loops' occlusion culler under a setting (#13352)
* Add occlusion_culler setting to minetest.conf.example * Add raytraced occlusion culling to 'loops' algorithm --------- Co-authored-by: sfan5 <sfan5@live.de>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 14d4df179..ea90c30d0 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -629,6 +629,11 @@ update_last_checked (Last update check) string
# Ex: 5.5.0 is 005005000
update_last_known (Last known version update) int 0
+# Type of occlusion_culler
+# "loops" is the legacy algorithm with nested loops and O(N^3) complexity
+# "bfs" is the new algorithm based on breadth-first-search and side culling
+occlusion_culler (Occlusion Culler) enum bfs bfs,loops
+
# Use raytraced occlusion culling in the new culler.
# This flag enables use of raytraced occlusion culling test for
# client mesh sizes smaller than 4x4x4 map blocks.