O'Reilly logo

CryENGINE 3 Cookbook by Dan Tracy, Sean Tracy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using light boxes and light areas

Light clipping boxes and areas are used for the implementation of deferred light clipping in CryENGINE. It is a tool that will enable interior spaces to be lit far better and more accurately than they had been in previous iterations of the CryENGINE.

Getting ready

Using light boxes and light areas is highly dependent on the situation. In this example, you should have already completed the prior recipe on Optimizing the levels with VisAreas and portals.

How to do it...

Let's test the process of using a light box:

  1. Drag-and-drop the light box from the Area tab in the RolloutBar.
  2. Next add a light to your scene.
  3. In the lights entity links, add a link to the light box.
  4. The light must have the DeferredClipBounds property ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required