Unity Lighting

3 min. read

Unity Lighting is a crucial part of Unity Rendering

Introduction to Unity Lighting

Why is lighting important?

  1. Visibility
  2. Makes the game believable
  3. Communicates mood
  4. Level design tool, like direction

Unity Project Lightning Settings

On the highest level, you have the Player settings for lighting, which consists of the following:

Project Settings - Player

Rendering - Color Space

Currently, there are 2 options for Color space, namely:

  1. Linear
  2. Gamma

Scene Lightning Settings

The next level is per scene lighting.

A scene’s lighting is affected by multiple factors.

Enlighten = Realtime

Baking = Static lights

Progressive Lightmapper = baked

URP Settings


  • Shadow resolution - changes the quality of the shadows




Custom Skybox


Directional lights

Directional lights are mostly used to act as the Sun.

How to guides

How to make a Unity scene completely dark

  • Delete all light sources in the scene
  • Delete all light probes
  • Delete all reflection probes
  • Delete all volumes
  • Window - Lightning - Scene:
    • Clear Baked Data
    • Untick Realtime Lighting
    • Untick Baked Global Illumination
    • Delete Lighting settings references or create a new Lighting Settings file
  • Window - Lightning - Environment:
    • Remove Skybox Material
    • Change Ambient Color to pitch black
    • Untick Fog

How to light an external scene in Unity URP

  • Starting with an dark scene (see above)
  • Add a directional light, which will act as the sun
  • Rotate the directional light, to get the desired results you are going for.

How to setup a static scene with Progressive Lightmapper

Remove any lights in the scene
Make a material with emissive checked.
Make everything static that needs to be static
Remove skybox
Change ambient color to black
Disable Real Time Global Illumination


Unity Lighting Assets and Packages

Unity Warehouse environment


Unity Lighting

Unity Color Spaces

Unity URP and HDRP References

Unity Standard Rendering