Game dev
Saved & recent

Occlusion culling

Related terms: occluder, PVS, portals, Hi-Z

Skipping objects that are hidden behind other objects. Frustum culling removes what is outside the view. Occlusion culling removes what is inside the view but covered: the rooms behind a wall, the city behind the nearest building.

Some engines work out ahead of time what can be seen from each area. Others test bounding boxes against the depth buffer every frame. The test itself costs time, so it only pays off when a lot is hidden.

Further reading
Unity: Occlusion culling
occluder hidden crates camera occluded region
The wall fully covers the two crates drawn with dashed outlines. The near crate and the crate at the edge of the occluded region can still be drawn.

View in the full Game dev collection