Skip to main content

Occluder Component

The occluder component adds invisible geometry to a scene that is only used by the CPU occlusion culling path.

note

The default GPU occlusion culling uses the depth of all opaque geometry and ignores occluder components. They only have an effect where GPU culling is off or unavailable. See Visibility and Occlusion Culling.

CPU occlusion buffer overlay

Contrary to greybox geometry, the occluder component itself is invisible. Enable occluder geometry visualization to see it in action.

Occluders can be moved around dynamically, so you can attach it to a door and it will properly occlude objects when the door closes. You can also (de-)activate the entire component programmatically. For example a breakable wall can use an occluder as long as it is intact, and deactivate it when the wall breaks.

Component Properties​

  • Type: The occluder shape: Box, QuadPosX (a single quad) or Mesh.
  • Extents: The size of the box or quad. Default 1, 1, 1.
  • Mesh: For Mesh, the static mesh to use as occluder geometry.

See Also​