Book Image

Mastering Unity 5.x

By : Alan Thorn
Book Image

Mastering Unity 5.x

By: Alan Thorn

Overview of this book

Mastering Unity 5.x is for developers wishing to optimize the features of Unity 5.x. With an in-depth focus on a practical project, learn all about Unity architecture and impressive animation techniques. With this book, produce fun games with confidence.
Table of Contents (16 chapters)
Mastering Unity 5.x
Credits
About the Author
Acknowledgment
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Light Probes


The lightmap setup works well for the scene, but applies only to static objects; such as walls, floors, ceilings, and props. Animated and movable objects, such as NPCs, will by contrast continue to be illuminated by expensive dynamic lights, unless additional steps are taken. Let's take those now using Light Probes. They are special sampling objects, which should be positioned strategically around the scene to record an average of light color and intensity at that location. When multiple Light Probes exist, movable objects such as characters are illuminated by interpolated values taken from the nearest probes. Light Probes, therefore, record color and intensity, but they do not cast shadows. To get started with Light Probes, create a new game object to act as the parent of all probes. Navigate to GameObject | Create Empty from the application menu. Name this object LightProbes.

Creating an empty object for Light Probes

Next, add a Light Probe group component to the newly created...