Time for action – create a light clipping box

In this example, we will create a light clipping box that will restrict a light to a certain area. This is extremely useful when lighting interiors, as spherical lights tend to bleed through walls.

  1. To test the process of using a light box, drag-and-drop LightBox from the Area tab in the Rollup Bar.
  2. Next, add a light to your scene.
  3. In the Lights entity link, add a link to the light box.
  4. The light has the DeferredClipBounds property set to True. Once setting it to True, you will see that the light will be clipped to that volume.

    A deferred light that is linked to either a light shape or a light box will be clipped to that volume regardless of whether it is inside the volume or not.

    Time for action – create a light clipping box

What just happened?

There is a common problem of light bleeding becoming apparent with the deferred approach—the boundaries of the lighting are not controllable. Deferred light, for example, placed in one room can bleed through the wall into another room. Thankfully, the light clip boxes and shapes are tools available for artists, which they can use to specify a custom stencil culling geometry for each light source in the scene.

Using a concave light shape

If a concave light shape has been created, the editor should warn the user and not clip the light.

Linking to multiple light shapes

If a light falls inside or is linked to more than one LightBox/LightShape, the editor will warn the user and clip the light to the first LightBox/LightShape in the list.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.125.7