Clip Volumes define geometric shapes that can restrict the influence of lights, cube maps, and fog volumes in the world. This feature is intended to replace the deprecated Light Boxes and Deferred Clip Shapes functionality.
We currently support generic geometric shapes as long as they are water tight. Note that in the following the term 'light' is used for both, lights and cube maps.
Left: clip volume, right: Red light clipped by the volume
On CRYENGINE 5.6 and beyond,
Property | Description |
---|---|
Filled | Just for visibility in the editor this option defines if the area should be rendered as filled or not. |
Ignore Outdoor AO | Ignores the outdoor Ambient Occlusion. |
View Dist Ratio | Defines the distance from which the Clip Volume can be seen. |
Clip Volumes can be created directly in the Editor by going to Operators in the Properties and choosing Volume → Edit. Any of the Shapes can be then picked.
As an alternative, Clip Volume geometry can also be loaded from CGF files via the Load CGF button.
Clip Volumes need to be water tight and cannot overlap.
Lights can be associated with Clip Volumes by either placing the light directly inside the volume or by creating an Entity Link from the light to the Clip Volume.
Before with Light Boxes/Shapes, performing an entity link was a requirement, but with Clip Volumes this is optional and this makes setup much easier!
Once an association has been established, the Affects This Area Only property on the light source will clip the light's influence to the geometry inside the Clip Volume.
One example could be with environment probes, if the global probe is set to Affects This Area Only then the Clip Volume will occlude the ambient lighting:
Global Probe Affect This Area Only True | Global Probe Affect This Area Only False |
---|
When editing a shape or area, it is possible to snap a vertex to terrain or physicalized objects using Ctrl + Shift + LMB.
This is true for all Area objects, except Occluders.