May 2018
Beginner
492 pages
11h 53m
English
The use of lights in your scene affects frame rate. You have a great deal of control over the number of lights, types of lights, their placement, and settings. Read up on it in the Unity manual, which can be found at http://docs.unity3d.com/Manual/LightPerformance.html.
Use baked lightmaps whenever possible, which precalculates the lighting effects into a separate image rather than at runtime. Use real-time shadows sparingly. When an object casts shadows, a shadow map is generated, which will be used to render the other objects that might receive shadows. Shadows have a high rendering overhead and generally require high-end GPU hardware.
Let's see the impact of using baked lightmaps on our scene:
Read now
Unlock full access