Lighting Efficiency: Why We Use Light Probes (Game Dev Day 48)

Jack Leavey
2 min readNov 19, 2021

--

When setting up a scene, lighting can be critical to set mood or utilize a game’s mechanics. However, covering you levels in light sources is incredibly taxing on the system, and Unity offers a better alternative anyway with light probes!

Light Probes lighting an entire level with a single light source.

Light probes allow you to light up your level without constantly generating data for the lights themselves. This entire map is lit by a single light source, but the probes covering the entire level allow us to spread that light data efficiently. This is not the same as using a giant light source, as that would not give us all the individual in game chandelier and display case lights. The probes use the baked in lighting of the models (and their placement) to create dynamic lighting at a fraction of the cost.

While it is possible to use multiple light sources when working with high grade hardware, games that function on a low end system (mobile, older PCs, older consoles) benefit greatly from clever utilization of probes. It allows a higher level of detail without the performance hit.

How to create a new probe group in Unity.

--

--

Jack Leavey
Jack Leavey

Written by Jack Leavey

I am a software engineer with years of experience branching into game development, specifically in Unity. Follow along for guides on creating game mechanics!

No responses yet