Overview

Lighting a Unity 3D scene is the process of making the space readable, believable and performant. For a beginner scene, lighting should answer practical questions before it tries to look cinematic: can the player see the route, read the goal, notice hazards, understand depth and recognise interactive objects?

Unity’s Creative Core lighting course introduces direct and indirect light, global illumination, real-time lighting and baked lighting as the core vocabulary for URP scene lighting (Unity Technologies, Creative Core Lighting, see source-unity-creative-core-lighting). This page turns that vocabulary into a first-scene workflow.

Setup

Use this baseline for a small 3D prototype:

  1. Use a URP project or convert the scene to URP before material and lighting polish.
  2. Keep one Directional Light as the broad sun, moon or key light.
  3. Add local Point Lights or Spot Lights only where they support route, goal or mood.
  4. Use simple URP Lit materials with sensible base colour, metallic and smoothness values.
  5. Test lighting from the game camera as well as Scene view.
  6. Decide which objects are static and which need to move.
  7. Use baked lighting for static environment contribution when performance or quality matters.
  8. Use real-time lights where the light or shadow must change during play.

Usage

Beginner lighting pass

PassQuestionUnity action
VisibilityCan the player see the route and goal?set Directional Light angle and intensity
SeparationDoes the player stand out from the background?adjust material values, light direction and contrast
GuidanceWhat should the player look at first?add focused light or warm colour near the objective
MoodWhat should the space feel like?tune colour temperature, skybox, fog and post-processing
PerformanceWhich lights must update live?keep dynamic lights limited and bake static contribution where useful

Real-time and baked lighting

Real-time lights are calculated at runtime. They are useful for moving lights, dynamic shadows, flickering torches, flashlights and gameplay effects. Unity Learn explains that real-time lighting is calculated once per frame, which makes it responsive to moving scene elements (Unity Technologies, Creative Core Lighting, see source-unity-creative-core-lighting).

Baked lighting is calculated before runtime and stored as lightmap data. It can make static scenes cheaper to run and can produce richer indirect lighting, but it does not respond to live scene edits until rebaked. Unity Learn describes baking as pre-calculating lighting and storing it in a texture called a lightmap (Unity Technologies, Creative Core Lighting, see source-unity-creative-core-lighting).

Materials and lighting

Lighting problems are often material problems. A scene can look flat because every material has similar value, metallic and smoothness settings. Unity’s URP Lit shader exposes Base Map, Metallic or Specular Map, Smoothness and Normal Map as core surface inputs (Unity Technologies, URP Lit Shader, see source-unity-urp-lit-shader). Check material values before adding more lights.

Player guidance

Use lighting as a design tool:

  • light the goal more clearly than the background
  • use warm accents against cool ambience for attention
  • keep hazards readable through contrast, silhouette or colour
  • place diegetic light sources where they make sense in the world
  • test with the UI hidden to see whether the scene still communicates

This links directly to lighting-for-mood-and-guidance, where light is treated as a functional tool for attention, wayfinding and mood.

Gotchas

SymptomLikely causeFix
Scene looks flatlight direction and material values are too similarincrease value contrast and change the key-light angle
Object is too shinysmoothness too highlower smoothness or adjust roughness before adding lights
Goal is hard to findbackground competes with focal pointreduce background contrast or add a focused accent
Moving object looks disconnectedbaked light does not affect it correctlyadd Light Probes or use suitable real-time lighting
Baked light does not updatelightmap is stalerebake lighting after changing static light or geometry
Frame rate dropstoo many real-time lights or shadowsreduce dynamic lights, shadows or range, then profile

Practice

Light the one-room greybox from 3d-blocking-and-greyboxing:

  1. Add one Directional Light for the main direction.
  2. Add one local light near the goal.
  3. Add one darker danger area that remains readable.
  4. Create three simple URP Lit materials: floor, wall and pickup.
  5. Test from the game camera.
  6. Ask another student where they think the goal is.
  7. Change one light or material value and test again.

Write a short lighting note with three headings: What the player should see first, What supports the mood, and What might cost performance.

Self-test

  1. What is the difference between real-time and baked lighting?
  2. Why should lighting be tested from the game camera?
  3. Why might adding more lights fail to fix a flat-looking scene?
  4. When should a light be real-time?
  5. What is one reason to use baked lighting?

Answers

  1. Real-time lighting is calculated during play. Baked lighting is calculated before runtime and stored as lightmap data.
  2. The player sees the game camera, so readability must be judged from that view.
  3. The problem might be material values, weak contrast, camera framing or composition rather than the number of lights.
  4. A light should be real-time when it moves, changes, casts dynamic shadows or affects gameplay moment by moment.
  5. Baked lighting can reduce runtime cost and improve static indirect lighting quality.