A Guild to Beautiful Games

What is Baked Lighting and how we can use it

Real Time Lighting:

Real Time lighting is basically taking in all the dynamic lighting and shadows and having it auto generate in real time with an constant update to the lighting data and shadow data. An example of this is when an active player is walking within a scene with a light source. The players shadow is real time because it is constantly being updated on the position and location in reference to the scene.

An example of Real Time lighting where the Shadow and Light is dynamic

Baked Lighting:

Baked lighting is the opposite of Real Time Lighting where the light data and shadow data are saved as a final light map data and then displayed. This basically means that all shadows are literally “baked in” into the scene and can not be altered. Baked lighting can not be used on active objects such as the player but are great on static non dynamic objects such as walls, structures and unmovable objects. These static objects will not be taking in new dynamic lights can be creating new dynamic shadows if they were to be moved in the scene.

Baked Lighting is where the shadow and light data are saved and can not be edited real time.

Mixed Lighting:

Mixed Lighting is a combination between both real time and baked lighting, where the light source is both emitting dynamic and static light. Of course this is more taxing to compute than both previous options but it is nice glimpse into what the final render would look like.

With Mixed Lighting, you are able to get the proper reflections on objects along with dynamic shadows

Using Baked Lighting:

Since Real Time and Mixed Lighting are set by default when working with Unity renderings, Baked Lighting is what we users have to setup. As mentioned before, Baked Lighting required objects to be “static” or basically unmovable. Therefore, we first must set all our objects that aren’t going to be dynamic to “static”.

--

--

A Designer, an Illustrator and a massive tech geek aspiring to become a professional Unity Developer.

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
Simon Truong

A Designer, an Illustrator and a massive tech geek aspiring to become a professional Unity Developer.