Unity 3D Lighting

Guide implementing and optimizing lighting in Unity's URP and HDRP.

3|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/Totes-MickGOATs/mcgoats-game-template --skill unity-3d-lighting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Unity 3D Lighting
Source: https://github.com/Totes-MickGOATs/mcgoats-game-template/tree/main/engine/unity/skills/unity-3d-lighting
Command: npx skills add https://github.com/Totes-MickGOATs/mcgoats-game-template --skill unity-3d-lighting

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to understanding and implementing various lighting techniques within Unity's Universal Render Pipeline (URP) and High Definition Render Pipeline (HDRP), enabling developers to create visually appealing and performant game environments.

Core Features & Use Cases

  • Light Types: Explains Directional, Point, Spot, and Area lights, detailing their properties and use cases.
  • Realtime vs. Baked Lighting: Differentiates between lighting methods, outlining their pros, cons, and optimal scenarios.
  • Pipeline Specifics: Covers URP's Additional Lights and Forward+ rendering, and HDRP's Physical Light Units and Volumetric Fog.
  • Probes & Lightmapping: Details the setup and strategy for Light Probes and Reflection Probes, along with essential lightmapping settings and optimization tips.
  • Use Case: A game developer needs to implement realistic lighting for an indoor scene in Unity. They can consult this Skill to understand how to use mixed lighting, place light probes effectively, and configure baked global illumination for bounced light.

Quick Start

Use the Unity 3D Lighting skill to configure a scene with a Directional Light for outdoor daytime lighting.

Frequently Asked Questions about Unity 3D Lighting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the difference between realtime and baked lighting in Unity?

Realtime lighting in Unity calculates light dynamically at runtime for moving objects, while baked lighting precomputes light data into lightmaps for static geometry to save performance. The optimal choice depends on whether your scene objects move and your target frame rate.

How do I optimize lighting performance in Unity URP and HDRP?

To optimize lighting performance in Unity URP and HDRP, you should balance realtime and baked lighting, carefully configure shadow settings, limit additional lights, and utilize lightmapping and light probes to reduce expensive runtime calculations.

How do I set up light probes and reflection probes for global illumination?

Setting up light probes and reflection probes involves placing them throughout your Unity scene to capture bounced light and environmental reflections. This allows dynamic objects to correctly interact with baked global illumination and maintain visual consistency.

Does this guide cover physical light units and volumetric fog for HDRP?

Yes, this guide covers HDRP specifics including physical light units for physically accurate lighting intensity and volumetric fog for realistic atmospheric effects. These features are essential for achieving high-fidelity visuals in the High Definition Render Pipeline.

What's the best way to light an indoor scene in Unity using mixed lighting?

The best way to light an indoor Unity scene is using mixed lighting to combine realtime shadows with baked global illumination. You should strategically place light probes to capture bounced light and configure reflection probes for accurate surface reflections.