Use static light where possible

Using static light is crucial when working on mobile devices. It is cheaper to run on the device and leads to a better experience for the end user of games.

Dynamic or real-time lighting is calculated and updated in every frame, which is an effective method for moving objects, raising interactivity, and giving emotion to a scene.

In contrast, static light information can be baked. Unity performs the calculations for baked lights in the Unity Editor and saves the results as lighting data. This process is called baking.

When the calculations are complete, the run-time values are only the ones that are needed for that scene. Static lights are always much less expensive than dynamic lights. This means that static lights should be your first choice to implement in a mobile game with more limited resources.

Previous Next