Scene Good Lighting
Lighting is one of the highest-impact upgrades you can make. A scene with average art and good lighting often looks better than great art with flat lighting. Here's a practical path, roughly in order of payoff.
1. Pick the right render pipeline
Your options affect everything else.
- Built-in: legacy, limited, but simple.
- URP (Universal Render Pipeline): best default for most games, including mobile, VR, and PC. Good performance and lots of features.
- HDRP: high-end visuals for PC and console, heavier.
If you're on Built-in and want better results, migrating to URP is often the biggest single upgrade. (Materials need converting via Edit > Rendering > Materials > Convert.)
2. Set up your light sources properly
- Directional Light acts as your sun or moon. Tune its color and angle. Low angles give long shadows and drama, while a high noon sun looks flat.
- Point / Spot Lights are for local accents like lamps, torches, and flashlights. Use them sparingly, since each one costs performance.
- Area Lights (baked only in URP) give soft, realistic light from windows and panels.
- Avoid pure white light. Slightly warm (sun) or cool (shade, moonlight) tints add realism instantly.
3. Bake lighting for static scenery
Real-time lighting is expensive. For anything that doesn't move, bake it.
- Mark static geometry as Contribute GI (the Static dropdown).
- Set lights to Baked or Mixed mode.
- Open Window > Rendering > Lighting and generate lighting.
- Use the Progressive GPU Lightmapper if your hardware supports it, because it's much faster.
Baking gives you soft shadows and bounced light (global illumination), the subtle color bleeding that makes scenes feel grounded.
Tips for good bakes:
- Give meshes clean, non-overlapping lightmap UVs (enable Generate Lightmap UVs on the model import).
- Don't over-resolve. Start with low texels per unit and increase only where needed.
- Use Light Probes so dynamic objects (characters, props) pick up baked lighting, and Reflection Probes so shiny surfaces reflect their surroundings.
4. Use post-processing
This is where mood comes from. In URP, add a Volume with these overrides:
| Effect | Purpose |
|---|---|
| Bloom | Soft glow on bright areas (keep it subtle) |
| Tonemapping (ACES / Neutral) | More cinematic, filmic color range |
| Color Adjustments | Contrast, saturation, tint |
| Vignette | Draws the eye toward the center |
| Ambient Occlusion | Darkens creases and contact points for depth |
| Depth of Field | Focus effects (use with intent) |
Subtle is key. Overdone bloom and vignette are the most common giveaways of amateur lighting.
5. Work in Linear color space
Go to Project Settings > Player > Other Settings > Color Space and choose Linear. Gamma space produces washed-out or blown-out lighting. Linear is the correct choice for almost all modern projects.
6. Improve the environment lighting
- Replace the default skybox with an HDRI or procedural sky that matches your mood.
- Set Environment Lighting (ambient) from the skybox, and adjust intensity so shadows aren't pitch black.
- Add fog for depth and atmosphere, since distance haze separates foreground from background.
7. Use light to guide the player
Good lighting is also design:
- Brighter or warmer areas draw attention toward goals.
- Contrast between light and dark creates tension and focus.
- Rim lights and accent colors help characters stand out from backgrounds.
8. Mind performance
- Limit real-time shadow-casting lights, because they're the costliest.
- Tune shadow distance and shadow resolution in the pipeline asset.
- Use Mixed lights sparingly and prefer fully baked where possible.
- Check the Frame Debugger and Profiler when frame rate drops.
Quick starter checklist
- Linear color space on
- Directional light with a tinted color and a good angle
- Static objects flagged, lights baked
- Light and reflection probes placed
- Post-processing Volume with tonemapping, subtle bloom, and ambient occlusion
- Skybox and fog matching your intended mood
A few details would let me give more specific advice: which render pipeline you're using, whether the game is 2D or 3D, and your target platform (mobile, PC, console). I can also walk through baked lighting settings or a URP post-processing setup step by step.
Comments