From 93898957b6c5862c6db0fa2555eaa5d3a0070e12 Mon Sep 17 00:00:00 2001 From: x2048 Date: Thu, 30 Mar 2023 00:10:23 +0200 Subject: 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 --- minetest.conf.example | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'minetest.conf.example') diff --git a/minetest.conf.example b/minetest.conf.example index b69d7764e..7f79ca493 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -695,6 +695,12 @@ # type: int # update_last_known = 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 +# type: enum values: bfs, loops +# occlusion_culler = bfs + # Use raytraced occlusion culling in the new culler. # This flag enables use of raytraced occlusion culling test # type: bool -- cgit v1.2.3