The Power of Light Probes in Unity

What is lightmapping? And what are Light Probes and when/why you should use them?

Photo by Christopher Burns on Unsplash


Lightmapping stores our light information for later use. It allows you to add some global illumination, ambient lighting, and shadows. And by using Lightmapping the cost of this is much lower.

2 ways to bake your lights in the scene

  • Progressive Preview
    Allows you to bake the light in real-time.

If you are using Progressive Preview, I would recommend using the Progressive GPU (Preview) version

  • Enlighten mode
    The scene has to be baked before you can see any changes

Both of these have an option called Auto Generate. When this is on and you make a change on the scene, your light information on the scene will automatically update.

If you don’t have it on, you need to manually update this by clicking the Generate Lighting option.

All of these settings you can find from the Lighting tab.

To get the lighting tab, go to Window -> Rendering -> Lighting
And you can find these under Scene

Light Probes

Light Probes are more efficient for mobile games, they are cheaper to create lighting in scenes.

You create a Light Probe Group by going to the
Hierarchy and Create -> Light -> Light Probe Group.

In order that our Light Probe Groups work the objects must be static and lights must be baked.

With this light probe group, you can create an area where you want to acknowledge dynamic lighting. Now, this is which we make, takes static lighting (which is baked) and passes it into other dynamic objects.

Here I created the area I want with choosing the light yellow points and hitting Duplicate Selected and moved those where I wanted.

For example if the player goes into this area, the light will be passed to that object. And makes it look more believable that there is light coming from the monitors.

Lighting is one of the important parts of a game. It makes your scene to look believable. Hope this information helped you in your game development journey.

Photo by Diego PH on Unsplash




From the beautiful snowy country with a touch of "good" humor? Inspired Unity Developer to learn more.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Why Wait When You Can Migrate Your Data into Azure like a Boss with StorageX at No Cost!

An ON-AIR sign with IoT

The nomad developer setup #1: A guide for beginners

3 techniques that will help you solve algorithm problems

Our Past, Present, and Future

Type safety and Spark Datasets in Scala

CS373 Spring 2022: Mara Manskie

Squid NFT World V2.0 in Progress! | Favorable Changes Are Coming!

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
Janika Suhonen

Janika Suhonen

From the beautiful snowy country with a touch of "good" humor? Inspired Unity Developer to learn more.

More from Medium

Adding a player ammo indicator to the UI

A Journey To The Center Of Unity

Wall Jumping

My journey becoming a Unity game developer: 2.5D Infinite Runner-Ledge Grab System-Pt3