Lumberyard
Legacy Reference

Clip Volume

ClipVolumes define geometric shapes that can restrict the influence of lights and cubemaps in a level.

Lights can be associated with ClipVolumes by either placing the light directly inside the object or by creating an entity link from the light to the ClipVolume. Once an association has been established, the AffectsThisAreaOnly property on the light source will clip the light's influence to the geometry inside the ClipVolume.

Here are some restrictions on the use of ClipVolume objects:

  • The Clip Volume mesh needs to be watertight.

  • Clip Volume mesh complexity has an impact on performance.

  • ClipVolumes must not overlap.

  • Due to performance reasons, forward rendered objects perform the inside test based on their pivot only.

  • Each light can be linked to a maximum of two ClipVolumes.