Geek Culture
Published in

Geek Culture

The Power of Light Probes in Unity!

In Unity, lighting is ‘baked’ to store information in terms of how light sources hit static objects in your scene. This allows the casting of shadows. But quite often in games, we have dynamic objects that we want to react to our light sources.

One of the least intensive but productive ways of doing this is using Unity’s built in Light Probes.

Light Probes allow us to store a series of positions in which lighting data can be stored, to then create shadows as an object passes through the area.

A Light Probe Group needs to be edited to cover all possible areas in which the light source can react with dynamic objects in the scene. This is done with the series of yellow points and pink lines in the above image.

Additionally, Emission data can also be used to produce ‘fake’ light sources for Light Probes to interact with. This can allow multiple illumination effects from the likes of computer screens in the game, without creating multiple intensive light sources.

The emission data of both the cube and the desk are effecting the lighting of the sphere.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store