Godot 4.7.2
Hi everyone,
I’m currently struggling with Occlusion Culling in my Godot 4 project and could use some advice.
-
I have fully enclosed a room with Occluder geometry (Walls, Floor, and Ceiling are all properly covered)
-
The Occlusion Culling buffer (debug view) shows the interior correctly as white/free and the surrounding walls as gray/occluded
-
Occlusion Culling is properly enabled in the project settings
-
I have completely followed the official Godot Occlusion Culling Documentation, but unfortunately, it didn’t solve the issue
The Problem: When I stand inside the room and look toward the closed walls/doors leading to the rest of the map, the performance monitors still show massive numbers for the rest of the stage:
Performance.get_monitor(Performance.RENDER_TOTAL_OBJECTS_IN_FRAME)
Performance.get_monitor(Performance.RENDER_TOTAL_DRAW_CALLS_IN_FRAME)
Performance.get_monitor(Performance.RENDER_TOTAL_PRIMITIVES_IN_FRAME)
Despite the occluder walls showing up as occluded in the depth buffer, all objects behind the walls are still being rendered and counted.
The only thing that successfully reduces the object count is lowering the far view-distance (clip distance) of the Camera3D.
Does anyone have an idea why the occluder geometry isn’t cutting off the objects behind the walls, even though the debug buffer indicates the walls are successfully rasterized?
Thanks in advance for any help!