Configuring the light probes

There are objects in your game that will move, such as the main character, enemies, and the other non-playable characters (NPCs). If they enter a static region that is illuminated, you might want to surround it with light probes. To do this, follow the given steps:

  1. From the menu, navigate to GameObject | Light | Light Probe Group. A new object called Light Probe Group will appear in Hierarchy.
  2. Once selected, eight interconnected spheres will appear. Click and move them around the scene so that they enclose the static region in which your characters can enter. The following screenshot shows an example of how light probes can be used to enclose the volume of a static office space:

For our example, it would just ...

Get Unity 2018 Shaders and Effects Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.