mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-22 20:35:24 +02:00
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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user