From 2715cc8bf68a2cc8cd583cd5b0bb732ee13a1b49 Mon Sep 17 00:00:00 2001 From: x2048 Date: Fri, 6 Jan 2023 22:31:06 +0100 Subject: Occlusion culling algorithm based on recursive descend (#13104) Co-authored-by: DS --- builtin/settingtypes.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'builtin') 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. -- cgit v1.2.3