Baked lighting is a computer graphics optimization where complex, static lighting calculations—such as global illumination, soft shadows, and ambient occlusion—are precomputed (or "baked") offline and stored in texture maps called lightmaps for application at runtime. This process trades offline computation time for real-time performance, enabling visually rich, physically plausible lighting on static geometry within game engines and interactive applications without the prohibitive cost of calculating light bounces in real-time. It is a foundational technique within Physically Based Rendering (PBR) workflows for environments.
Glossary
Baked Lighting

What is Baked Lighting?
A core real-time rendering optimization technique for achieving complex, static lighting effects with minimal runtime cost.
The technique is integral to inverse rendering and neural appearance modeling, where the goal is to estimate scene properties from images. Baking effectively solves the lighting equation for fixed conditions, storing the result. Modern extensions include baking into more complex representations like Spherical Harmonics for Precomputed Radiance Transfer (PRT), allowing for some dynamic lighting effects on static objects. Its primary limitation is immutability; baked lighting cannot respond to changes in scene lighting or geometry without a costly rebake.
Core Characteristics of Baked Lighting
Baked lighting is a fundamental real-time rendering optimization where complex, static lighting calculations are precomputed and stored for efficient runtime application. This section details its defining technical attributes and trade-offs.
Static Scene Assumption
Baked lighting is fundamentally predicated on a static scene. The geometry, materials, and light sources involved in the precomputation cannot change at runtime. This includes:
- Immovable objects: Walls, floors, and architectural elements.
- Static lights: Sunlight, sky illumination, and fixed interior lights.
- Unchanging materials: Surface properties like albedo and roughness. Any dynamic element, like a moving character or a switched-on flashlight, requires separate, real-time lighting techniques.
Precomputation & Lightmaps
The core process involves offline precomputation using a path tracer or radiosity solver to simulate complex light transport like global illumination, color bleeding, and soft shadows. The results are baked into texture maps called lightmaps.
- UV Unwrapping: Each static object requires a second set of texture coordinates (UVs) to map the 3D surface to the 2D lightmap.
- Texel Resolution: The density of this mapping determines lighting detail; higher resolution increases memory cost.
- Storage: Lightmaps typically store baked irradiance or final shaded color, which is multiplied with the material's albedo at runtime.
Runtime Performance vs. Memory
This technique offers an extreme performance-for-memory trade-off. Runtime shading is reduced to a simple texture fetch and multiply, enabling complex lighting on low-end hardware.
- Performance Gain: Eliminates costly real-time GI, shadow, and bounce light calculations per frame.
- Memory Cost: Lightmaps can consume significant video memory (VRAM). A complex scene may require hundreds of MBs in lightmap data.
- Bandwidth: The precomputed data must be loaded into memory, impacting asset streaming and load times.
Absence of High-Frequency Dynamics
Baked lighting cannot represent high-frequency dynamic effects because it is a precomputed snapshot. This includes:
- Real-time shadows from moving objects.
- Dynamic time-of-day changes (e.g., moving sun).
- Interactive light sources (e.g., turning lights on/off).
- Specular highlights from moving lights or the viewer. These limitations necessitate a hybrid rendering approach, combining baked static lighting with dynamic techniques for interactive elements.
Artifact Management
The baking process can introduce visual artifacts that require careful management:
- Light Bleeding: Unwanted colored light leaking through thin geometry or seams, caused by low-resolution sampling or UV packing issues.
- Seams: Visible discontinuities in lighting at UV chart boundaries.
- Texel Density Mismatches: Differing lighting resolution across surfaces causing blurry or blocky spots.
- Shadow Acne: Self-shadowing artifacts due to floating-point precision issues during the bake. Mitigation involves artist-driven workflows for UV layout, probe placement, and bake settings.
Integration with Modern Pipelines
In contemporary Physically Based Rendering (PBR) engines, baked lighting is rarely used in isolation. It integrates into a deferred or forward+ rendering pipeline as one component:
- Light Probes: Capture indirect lighting from the bake for dynamic objects.
- Reflection Probes: Pre-filter environment maps for specular reflections.
- Ambient Occlusion (AO) Maps: Often baked separately or combined into the lightmap.
- Hybrid GI: Baked lighting provides base indirect illumination, which is then combined with real-time direct lighting and screen-space techniques for a fully dynamic appearance.
How Baked Lighting Works: The Technical Pipeline
Baked lighting is a foundational real-time graphics optimization that precomputes complex, static illumination to enable photorealistic visuals on constrained hardware.
Baked lighting is a real-time rendering optimization where complex, static lighting calculations—such as global illumination, soft shadows, and color bleeding—are precomputed (baked) offline and stored in texture maps called lightmaps for application at runtime. This pipeline transforms a scene's geometry, materials, and light sources into a set of 2D textures that encode the final incident light, decoupling visual fidelity from runtime computational cost. The core trade-off is the loss of dynamic lighting interaction in exchange for a massive performance gain and high-quality, physically plausible results.
The technical pipeline begins with a 3D scene containing static geometry, material properties (like albedo and roughness), and light sources. A lightmap UV atlas is generated, unwrapping the 3D mesh onto 2D texture coordinates. A light baking engine, often using path tracing or radiosity, then simulates light transport, calculating the direct and indirect illumination for each texel. The resulting radiance data is packed into lightmaps and, during runtime, a simplified shader samples these textures, applying the precomputed lighting to the model's surface without performing expensive ray tracing or global illumination calculations in real time.
Baked Lighting vs. Dynamic Lighting: A Technical Comparison
A comparison of two core lighting methodologies in real-time computer graphics, focusing on performance, quality, and use-case suitability for applications like digital twins and spatial computing.
| Technical Feature / Metric | Baked Lighting | Dynamic Lighting | Hybrid (Baked + Dynamic) |
|---|---|---|---|
Core Mechanism | Precomputed lighting stored in lightmaps or light probes | Real-time calculation per frame (e.g., direct shading, shadow mapping) | Baked indirect + dynamic direct lighting |
Runtime Performance Impact | Very Low (texture lookup) | High (per-pixel/vertex calculations, shadow passes) | Moderate (dynamic direct + baked indirect lookup) |
Supports Moving Objects | Limited (dynamic objects receive baked indirect via probes) | ||
Global Illumination (Indirect Bounces) | Yes (precomputed, high quality) | Yes (real-time approximations like VXGI, SSGI) | Yes (baked GI + dynamic approximations) |
Shadow Quality for Static Geometry | Very High (precomputed, soft, contact-correct) | Variable (depends on technique/resolution; can be hard/aliased) | High (static shadows baked, dynamic shadows real-time) |
Memory Footprint | High (stored lightmap textures) | Low (algorithmic, no precomputed data) | Moderate to High (lightmaps + probe data) |
Iteration Time (Artist Workflow) | Slow (requires rebaking on scene change) | Instant (changes visible in editor) | Moderate (bake required for indirect/static changes) |
Best Suited For | Static environments, architectural viz, digital twins | Fully dynamic scenes (e.g., games with day/night cycle), VR/AR | Most real-time applications (static world, dynamic characters/objects) |
Frequently Asked Questions
A deep dive into the precomputed lighting technique essential for real-time graphics, digital twins, and high-fidelity visualization.
Baked lighting is a real-time rendering optimization technique where complex, static lighting calculations—such as global illumination, soft shadows, and ambient occlusion—are precomputed (or 'baked') offline and stored in texture maps called lightmaps. At runtime, the game engine or renderer samples these precomputed lightmaps, applying the lighting information directly to the geometry without performing expensive dynamic calculations. This process involves a lightmap UV unwrap of the 3D model, a high-quality offline render (often using a path tracer), and the baking of the resulting illumination data into textures that are blended with the model's albedo (color) texture during real-time shading.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Baked lighting is one technique within a broader ecosystem of methods for simulating, capturing, and optimizing material appearance and light transport. These related concepts define the modern graphics pipeline.
Global Illumination (GI)
A set of algorithms that simulate the complex, multi-bounce behavior of light in a scene. It accounts for indirect lighting, color bleeding, and soft shadows created when light reflects between surfaces.
- Path Tracing is a common Monte Carlo method for computing GI.
- Baked lighting is a performance optimization where GI solutions for static elements are precomputed.
Physically Based Rendering (PBR)
A rendering methodology grounded in real-world physics. It uses energy-conserving material models and physically plausible lighting to achieve consistent, realistic results under various lighting conditions.
- Core principles include metallic/roughness or specular/glossiness workflows.
- Baked lighting often stores the results of PBR calculations into lightmaps for real-time use.
Lightmap
A texture map that stores precomputed lighting information (brightness and color) for the surfaces of static 3D geometry. This is the primary data structure for baked lighting.
- UV2 Channel: Lightmaps use a second, non-overlapping UV map to avoid texture stretching.
- Texel Density: The resolution of the lightmap determines lighting detail and memory cost.
- Lightmap Atlasing: Multiple objects are packed into a single texture atlas to optimize draw calls.
Precomputed Radiance Transfer (PRT)
An advanced real-time rendering technique that precomputes how light is transferred (blocked, shadowed, reflected) within a rigid scene. The results are stored in mathematical basis functions like Spherical Harmonics.
- Enables dynamic, low-frequency lighting and soft shadows on static scenes.
- More flexible than traditional baked lighting but has higher precomputation and storage costs.
Inverse Rendering
The process of estimating underlying scene properties—geometry, materials (BRDF), and lighting—from a set of 2D photographs. It effectively inverts the traditional graphics pipeline.
- Photometric Stereo is a classic inverse rendering technique for estimating normals.
- Modern approaches use differentiable rendering and neural networks.
- The output material and lighting data can be used to bake new lighting scenarios.
Dynamic Global Illumination
Real-time GI techniques that compute indirect lighting on the fly for dynamic objects and lighting. This contrasts with the static nature of baked lighting.
- Voxel-Based GI: Uses a 3D grid of voxels to propagate light in real-time.
- Screen-Space GI (SSGI): Approximates indirect lighting using data from the current frame's depth and color buffers.
- Ray-Traced GI: Uses hardware ray tracing for accurate, dynamic multi-bounce lighting.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us