Precomputed Radiance Transfer (PRT) is a real-time rendering technique that precomputes how light bounces, scatters, and is shadowed within a static scene or on a rigid object, encoding this complex light transport data into a set of mathematical basis functions (typically Spherical Harmonics) for efficient runtime evaluation. This offline calculation captures global illumination effects like soft shadows, inter-reflections, and subsurface scattering, which are then combined in real-time with dynamic environment lighting to produce photorealistic results without the cost of per-frame path tracing.
Glossary
Precomputed Radiance Transfer (PRT)

What is Precomputed Radiance Transfer (PRT)?
A foundational technique in real-time computer graphics for rendering complex, global illumination effects under dynamic lighting.
The core innovation of PRT is its separation of static scene properties from dynamic lighting. The precomputed transfer coefficients represent how the scene's geometry and materials respond to light from any direction. At runtime, the current environment map is projected into the same basis, and a simple dot product applies the lighting. This makes PRT a precursor to modern neural rendering and relightable neural radiance fields, which seek to achieve similar disentanglement of appearance and illumination through learned, rather than analytically precomputed, representations.
Key Features of Precomputed Radiance Transfer
Precomputed Radiance Transfer (PRT) is a real-time rendering technique that decomposes complex light transport into a set of precomputed basis functions. This enables dynamic, high-quality lighting on static geometry with minimal runtime cost.
Basis Function Projection
PRT projects the complex light transport operator—which describes how light is blocked, shadowed, and reflected—onto a set of orthogonal basis functions. Common choices are Spherical Harmonics (SH) or Wavelets. This projection converts an infinite-dimensional lighting integral into a finite, manageable sum of dot products at runtime. For example, using 4 bands (16 coefficients) of Spherical Harmonics can capture soft shadows and diffuse inter-reflections efficiently.
Separation of Static and Dynamic Components
The technique rigorously separates scene properties:
- Static: Scene geometry and material properties (BRDF). The light transfer for these is precomputed and baked into coefficients.
- Dynamic: The incident lighting environment, which can change in real-time. This separation allows a static object to be relit under rotating environment maps or moving light sources with only a linear combination of its precomputed coefficients and the new lighting coefficients.
Efficient Runtime Evaluation
At render time, the shading integral is reduced to a simple, constant-time operation. The final radiance L at a point is approximated as a dot product: L ≈ Σ (TransferCoefficient_i * LightingCoefficient_i). This is far cheaper than performing Monte Carlo integration or ray tracing in real-time. The cost is independent of scene complexity, depending only on the number of basis functions used (e.g., 9, 16, or 25 for SH).
Support for Global Illumination Effects
By precomputing the full light transport, PRT naturally bakes in global illumination effects that are typically expensive to compute in real-time. This includes:
- Self-shadowing and soft shadows from area lights.
- Diffuse inter-reflection (color bleeding).
- Subsurface scattering approximations (when modeled in the transfer). These effects are captured in the transfer coefficients and appear correctly as the dynamic lighting changes.
Vectorized Transfer Representations
For more complex materials beyond Lambertian diffuse, PRT uses higher-dimensional transfer representations. A common model is the Diffuse/Glossy/Specular separation, where each lobe may have its own set of coefficients. For a bidirectional reflectance distribution function (BRDF), the transfer can be represented as matrices (Transfer Matrices) or even higher-order tensors, enabling accurate rendering of specular highlights under dynamic environment lighting.
Limitations and Practical Constraints
PRT's power comes with specific constraints that define its application scope:
- Static Geometry Only: The scene or object cannot deform or move relative to itself; only lighting changes.
- Memory Overhead: Storing coefficients per vertex or texel can be significant (e.g., 16 floats per channel).
- Low-Frequency Lighting: Basis functions like Spherical Harmonics are best at capturing smooth, low-frequency lighting. Sharp shadows and high-frequency specular require many more coefficients, making wavelet bases an alternative for localized effects.
PRT vs. Other Rendering Techniques
A technical comparison of Precomputed Radiance Transfer against other core real-time and offline rendering methodologies, focusing on performance, quality, and application constraints.
| Feature / Metric | Precomputed Radiance Transfer (PRT) | Dynamic Real-Time Rendering (e.g., PBR) | Offline Path Tracing |
|---|---|---|---|
Primary Use Case | Real-time rendering of static objects with dynamic, low-frequency lighting | Real-time rendering of fully dynamic scenes and lighting | Production of final, photorealistic imagery and film VFX |
Lighting Calculation | Precomputed & encoded in basis functions (e.g., Spherical Harmonics) | Fully dynamic per frame (rasterization or ray tracing) | Fully dynamic, physically simulated per sample |
Handles Dynamic Geometry | |||
Handles High-Frequency Lighting (hard shadows) | Limited (requires high-order basis) | Yes (with shadow maps/ray tracing) | Yes (fundamental capability) |
Global Illumination Support | Precomputed indirect lighting & inter-reflections | Limited (screen-space techniques, baked lightmaps) | Full, unbiased global illumination |
Runtime Performance | Extremely fast (lookup & dot product) | Varies (10-100ms per frame) | Extremely slow (seconds to hours per frame) |
Precomputation Time | High (minutes to hours for model/lighting solve) | None or low (lightmap baking only) | None (all calculations at render time) |
Memory Overhead | Medium (coefficient textures per vertex or texel) | Low to medium (textures, geometry) | Very low (scene description only) |
Output Quality (Static Scenes) | High for diffuse/glossy, low-frequency | Good, but limited by real-time approximations | Reference, photorealistic quality |
Artistic Iteration Speed | Slow (requires re-precomputation for lighting/object changes) | Fast (immediate visual feedback) | Very slow (long render times for each change) |
Common Use Cases and Applications
Precomputed Radiance Transfer (PRT) is a foundational technique for real-time, high-fidelity lighting. Its primary applications leverage its ability to decouple complex light transport from dynamic runtime lighting.
Real-Time Global Illumination in Games
PRT is a cornerstone for achieving real-time global illumination in video games, especially for static environments. By precomputing how light bounces between surfaces (indirect lighting) and storing the results in Spherical Harmonics (SH) coefficients, games can render soft shadows, color bleeding, and ambient occlusion in dynamic lighting conditions at interactive frame rates. This was famously used in titles like Halo 3 and The Last of Us to create believable, cinematic lighting without the performance cost of runtime path tracing.
- Key Benefit: Enables complex, bounced lighting in real-time.
- Typical Storage: Light transport is stored per-vertex or in lightmap texels.
Character and Object Relighting
This application focuses on making dynamic objects (like characters, vehicles, or props) respond correctly to changing environmental lighting. The object's self-shadowing and self-interreflections (how light bounces from one part of the object onto another, like arm onto torso) are precomputed. At runtime, these precomputed transfer functions are convolved with a dynamic environment map representing the scene lighting. This allows a character to walk from a sunlit courtyard into a blue-tinted cave and be instantly relit with appropriate colored shadows and bounced light.
- Core Process: Precompute visibility and interreflection for the object's model.
- Runtime Input: A dynamic Spherical Harmonics or wavelet representation of the surrounding light.
Augmented & Virtual Reality (AR/VR)
In AR/VR, consistent lighting between virtual objects and the real world is critical for immersion. PRT enables this by allowing virtual assets to be lit by a real-world light probe captured by the device's camera. The virtual object's precomputed light transfer data is combined with the probe's lighting information in real-time. This creates the illusion that the virtual object casts shadows on itself and receives accurate colored light from its surroundings, seamlessly integrating it into the physical environment.
- Key Challenge: Requires fast, on-the-fly capture or estimation of the real environment's lighting (as SH coefficients).
- Benefit: Provides photorealistic integration without expensive runtime ray tracing.
Product Visualization & Digital Twins
PRT is extensively used in high-end product configurators and digital twin applications where materials and lighting must be photorealistic and responsive. A car, piece of furniture, or industrial machine can be precomputed with PRT. Users can then interactively change the environment lighting (e.g., showroom, sunset, overcast) and see the product's materials—like glossy paint, brushed metal, or fabric—react with accurate specular highlights, soft shadows, and interreflections in real-time. This provides a true-to-life preview critical for design and sales.
- Material Fidelity: Works with measured BRDF data for physical accuracy.
- Application: Common in automotive, architecture, and e-commerce visualization.
All-Frequency Shadows with Wavelets
While basic PRT with Spherical Harmonics captures low-frequency lighting well (soft shadows), it blurs high-frequency details like sharp penumbras. The wavelet-based PRT variant addresses this. By using wavelets as the basis functions instead of SH, it can represent all-frequency lighting, including sharp, detailed shadows from small light sources or complex occluders. This technique is more memory-intensive but is used in applications requiring extreme lighting fidelity, such as cinematic pre-visualization or high-end simulations, where both hard and soft shadows must be dynamic.
- Basis Shift: Moves from Spherical Harmonics (SH) to Wavelet basis functions.
- Trade-off: Gains high-frequency detail at the cost of higher storage and precomputation.
Precomputation for Path Tracing Acceleration
PRT concepts are used as an acceleration structure within offline or hybrid renderers. The precomputed radiance transfer can represent the complex light transport within a static scene element (e.g., a chandelier, a tree). When a path tracer needs to calculate lighting from that element, it can sample the precomputed transfer function instead of tracing hundreds of secondary rays through its complex geometry. This reduces variance and noise, acting as a form of importance sampling and significantly speeding up convergence for final-frame rendering in film and visual effects.
- Use Case: Not for real-time, but for accelerating production rendering.
- Concept: Treats complex static objects as a pre-integrated "black box" for light transport.
Frequently Asked Questions
Precomputed Radiance Transfer (PRT) is a cornerstone technique in real-time graphics for achieving dynamic, global illumination effects on static objects. This FAQ addresses its core mechanisms, applications, and relationship to modern neural rendering.
Precomputed Radiance Transfer (PRT) is a real-time rendering technique that precomputes how light interacts with a static scene's geometry and materials and encodes this information into a compact mathematical representation for dynamic runtime lighting.
It works in two distinct phases:
- Precomputation (Offline): For a static object and its environment, a light transport simulation (e.g., using Monte Carlo path tracing) calculates how light from many directions is transferred—blocked (shadowed), reflected, or scattered—to every point on the surface. This complex, view-dependent data is then projected onto a set of orthonormal basis functions, most commonly Spherical Harmonics (SH).
- Runtime (Real-Time): The dynamic lighting environment (e.g., from a skybox or moving light source) is also projected onto the same basis. The final lit appearance at any point is computed as a simple dot product between the precomputed transfer coefficients and the lighting coefficients. This allows for real-time rendering of effects like soft shadows, ambient occlusion, and diffuse global illumination under changing light.
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
Precomputed Radiance Transfer (PRT) is a cornerstone technique for real-time, high-quality lighting. It intersects with several key concepts in neural appearance modeling, physically based rendering, and inverse graphics.
Spherical Harmonics (SH)
A set of orthogonal basis functions defined on the surface of a sphere. In PRT, they are the most common basis for compressing the directional lighting and light transport information of a static scene.
- Core Function: Represent complex spherical functions (like incident lighting or visibility) as a weighted sum of low-order SH coefficients.
- PRT Application: The precomputed transfer of light (shadowing, interreflection) is projected onto an SH basis. At runtime, dynamic environment lighting, also in SH, is combined via a dot product for real-time rendering.
- Key Benefit: Enables efficient integration of lighting across all directions, making complex global illumination effects feasible in real-time.
Bidirectional Reflectance Distribution Function (BRDF)
A fundamental function in computer graphics that defines how light is reflected at an opaque surface. It is central to the appearance modeling that PRT operates on.
- Mathematical Definition: Describes the ratio of reflected radiance exiting in a given direction to the incident irradiance from a specific direction.
- PRT Integration: The precomputation in PRT often includes the scene's BRDF properties. The transfer coefficients account for how the surface's BRDF, combined with visibility and interreflection, responds to lighting from any direction.
- Advanced Forms: PRT can be extended to work with Spatially-Varying BRDFs (SVBRDF) and Neural BRDFs for highly complex materials.
Global Illumination (GI)
The simulation of light bouncing multiple times throughout a scene, accounting for indirect lighting, color bleeding, and soft shadows. PRT is a premier method for achieving real-time GI for static scenes.
- Traditional vs. PRT: Classic GI methods like path tracing are computationally expensive. PRT precomputes this multi-bounce light transport for static geometry and stores it compactly.
- Basis Projection: Effects like diffuse interreflection (color bleeding) are baked into the SH coefficients. At runtime, applying new lighting instantly reveals these GI effects.
- Limitation: Standard PRT assumes static scenes; dynamic objects require separate handling or different techniques.
Lightmap Baking
A related precomputation technique where complex, static lighting is calculated offline and stored in texture maps (lightmaps) applied to a 3D model at runtime.
- Similar Goal: Both PRT and lightmap baking move expensive lighting calculations from runtime to a precomputation phase for performance.
- Key Difference: Lightmaps bake a final, fixed lighting result (color) into UV textures. PRT bakes a generalized light transport response (coefficients) that can be dynamically re-lit with any environment map.
- Use Case: Lightmaps are for fully static lighting. PRT is for dynamic lighting on static geometry, offering greater flexibility.
Relightable Neural Radiance Field
A modern extension of Neural Radiance Fields (NeRF) that disentangles scene appearance from lighting, enabling photorealistic novel-view synthesis under novel illumination—a goal shared with PRT.
- Neural vs. Traditional: While PRT uses analytic basis functions (SH) on traditional meshes, relightable NeRFs use an implicit neural representation to model geometry and appearance.
- Inverse Rendering Link: Both techniques are closely tied to inverse rendering. Relightable NeRFs often solve for intrinsic components (albedo, normals) from images, similar to the decomposition needed for advanced PRT.
- Trade-off: PRT offers guaranteed real-time performance for known assets. Neural fields offer unparalleled flexibility from images but can be computationally intensive for real-time use.
Monte Carlo Integration
A foundational numerical technique for estimating complex integrals by random sampling. It is the workhorse for the precomputation phase of PRT.
- PRT Precomputation Process: To compute the transfer coefficients for a surface point, a Monte Carlo estimator integrates over the sphere of incoming directions. For each sample, it traces rays to evaluate visibility and multi-bounce light transport.
- Basis Projection: The results of these sampled integrations are then projected onto the chosen basis functions (e.g., Spherical Harmonics).
- Accuracy vs. Time: The quality of the precomputed PRT data is directly dependent on the number of Monte Carlo samples used, creating a trade-off between bake time and runtime fidelity.

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