aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorx2048 <codeforsmile@gmail.com>2023-01-06 22:31:06 +0100
committerGitHub <noreply@github.com>2023-01-06 22:31:06 +0100
commit2715cc8bf68a2cc8cd583cd5b0bb732ee13a1b49 (patch)
treecd9c735604cc8ca5c7b6a84cdf5e44058a9d0e11 /builtin
parent059f62d7d60b0aab9af47740f5d5101aa25b7077 (diff)
downloadminetest-2715cc8bf68a2cc8cd583cd5b0bb732ee13a1b49.tar.xz
Occlusion culling algorithm based on recursive descend (#13104)
Co-authored-by: DS <vorunbekannt75@web.de>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index a97d2c0f7..d3a817126 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -623,6 +623,15 @@ 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
+enable_raytraced_culling (Enable Raytraced Culling) bool true
+
[*Server]
# Name of the player.