Version:

OccluderArea

OccluderArea


This feature is in preview release and is subject to change.

You can use the OccluderArea component to create a custom-shaped occlusion plane with four vertices. This is useful if you don’t want Lumberyard to render everything that is behind the OccluderArea component. This can result in better performance in areas where automatic occlusion doesn’t work well. For example, if you have many objects behind a wall, you can add an occluder area behind the wall so that those objects don’t appear.

Note
You can’t modify the OccluderArea, Portal, and VisArea components at runtime.

Topics

OccluderArea Component Properties

[The Occluder Area component properties in Lumberyard Editor.]

The OccluderArea component has the following properties.


NameDescription
DisplayFilledDisplays the occluder area as a filled volume in the Lumberyard Editor viewport.
CullDistRatioA multiplier on the range where the culling effect stops.
UseInIndoorsThe occluder area works inside visible areas.
DoubleSideSpecifies whether the occluder area works from both sides.
VerticesThe vertices that define the shape of the occluder area. Occluder areas always have four vertices.
EditChoose Edit, and the component is locked for editing. For more information, see Editing Components in the Viewport.

Occluder Area Component Example

The following example shows two boxes. One box is hidden behind the occluder area, but you can see its shadow. The other box is outside the occluder area and appears normally on screen.

[OccluderArea component with two boxes.]