Modeling Indirect Illumination for Inverse Rendering

Yuanqing Zhang, Jiaming Sun, Xingyi He, Huan Fu, Rongfei Jia, Xiaowei Zhou

TL;DR

Researchers from Zhejiang University and Alibaba Group have developed a method to efficiently model indirect illumination (light bouncing between surfaces) for inverse rendering. By deriving indirect light from a pre-learned neural radiance field rather than using expensive recursive path tracing, their approach recovers cleaner material properties and enables high-quality relighting of complex 3D objects.

What Problem Does This Paper Address?

Inverse rendering is the "holy grail" of computer vision: taking a set of 2D images and decomposing them into 3D geometry, material properties (SVBRDF), and lighting. While recent neural methods like NeRF have mastered view synthesis, they often fail to disentangle these components accurately.

A major hurdle is indirect illumination—the light that bounces off one part of an object onto another. Most existing methods ignore this or assume surfaces are convex (no self-reflections). When indirect light is ignored, the optimization process "cheats" by baking these lighting effects directly into the object's color (albedo) or roughness maps. This leads to artifacts, such as dark "shadow" stains on a white plate or fake highlights on a matte surface, which ruin the object's appearance when moved to a new lighting environment. Modeling this properly usually requires recursive path tracing, which is computationally too expensive to run inside a neural optimization loop.

Figure 1. To precisely recover SVBRDF (parameterized as albedo and roughness) from multi-view RGB images, we propose an ef- ficient approach to reconstruct spatially varying indirect illumina- tion and combine it with environmental light evaluated by visibil- ity as the full light model (a). The example in (b) demonstrates that without modeling indirect illumination, its rendering effects are baked into the estimated albedo to compensate for the incomplete light model and also result in artifacts in the estimated roughness.

Methods

The authors propose a three-stage pipeline that sidesteps the need for expensive path tracing by using a "neural shortcut."

  1. Geometry and Radiance Reconstruction: They first use a surface-based neural representation (IDR) to learn the object's geometry (as a Signed Distance Function or SDF) and its outgoing radiance field from input images.
  2. Indirect Illumination Pre-computation: The key innovation is treating the learned radiance field as a pre-computed cache of light transport. They train an Indirect Illumination MLP to map any 3D point to its incoming indirect light. This MLP is supervised by querying the radiance field from the first stage, effectively "distilling" complex light bounces into a fast-to-query network.
  3. Joint Optimization: Finally, they optimize the direct lighting (represented as Spherical Gaussians), visibility (to handle shadows), and material properties.

To further reduce ambiguity, they introduce a material prior. Since most real-world objects consist of only a few distinct materials, they use an encoder-decoder with a sparse latent space to represent the SVBRDF, ensuring the recovered albedo and roughness maps are spatially consistent and physically plausible.

Figure 2. Forward rendering. For a specific surface point ˆx , the full incoming light is modeled as the sum of direct illumination direction-wise multiplied by visibility and indirect illumination derived from the reconstructed outgoing radiance field. The spatially varying BRDF parameters are output from an encoder-decoder network with a sparsity constraint on the latent code, and each specular BRDF is further transformed to a single spherical Gaussian (SG). During forward rendering, only the BRDF and the direct illumination need to be optimized, while the others are all pre-acquired and fixed. In the bottom row, the visualized visibility is the mean value over all directions and the indirect illumination is the irradiance at each point.

Datasets

The method was evaluated on both synthetic and real-world data:

  • Synthetic Dataset: 4 CAD models (Chair, Balloons, Hotdog, and a character) featuring complex self-occlusions and multiple materials. These were rendered using Blender Cycles to provide ground truth for albedo, roughness, and lighting.
  • Real-World Captures: 4 objects (made of plastic, leather, etc.) captured using a standard mobile phone under natural, static illumination. Camera poses were estimated using COLMAP.

Key Insights and Ideas

  • Radiance Fields as Light Sources: The most elegant idea is that a pre-trained radiance field already "knows" how much light is leaving every point in the scene. By querying this field, you can determine the incoming indirect light for any other point without tracing a single ray back to a light source.
  • Spherical Gaussian (SG) Efficiency: By representing both lighting and BRDFs as SGs, the complex rendering integral becomes a fast algebraic product. This allows the system to handle all-frequency lighting effects while remaining differentiable.
  • Disentanglement through Visibility: Explicitly modeling a "Visibility MLP" allows the system to separate shadows from albedo, preventing the "baked-in shadow" problem common in earlier inverse rendering works.
Figure 3. Instead of computing incoming radiance by performing costly recursive path tracing (a), we consider the pre-trained out- going radiance field as indirect illumination and train a network that maps a 3D location to its indirect incoming illumination rep- resented as a mixture of SGs (b).

Key Results

The proposed method significantly outperforms baselines like NeRFactor and PhySG in both quantitative metrics and qualitative visual quality.

  • Quantitative: On synthetic data, the method achieved a PSNR for relighting of 25.59, compared to NeRFactor's 21.53. It also showed much lower Mean Squared Error (MSE) in roughness estimation (0.0723 vs. PhySG's 0.2682).
  • Qualitative: As shown in Figure 4, the recovered albedo maps are noticeably cleaner, lacking the "smudges" from shadows and interreflections seen in competing methods. This leads to much more realistic relighting results where shadows and highlights move naturally across the surface.
Figure 4. Comparisons with previous work. We visualize the estimated normal, diffuse albedo, roughness and environment map of NeRFactor [32] and our method on three scenes. Note that the roughness of NeRFactor is visualized with the latent code, which represents a BRDF identity, since it is parameterized by a learned model. We also compare the re-renderings under a novel view and original light (the fourth row) as well as novel views and novel light (the last two rows).

Limitations and Future Work

Despite the progress, the authors note a few constraints:

  • Geometry Dependence: The quality of the materials is heavily dependent on the initial geometry reconstruction. If the SDF fails to capture fine details, the lighting model will struggle.
  • Dielectric Assumption: The current model assumes a fixed Fresnel term ($F_0 = 0.02$), which works well for plastics and wood (dielectrics) but may fail for metals or highly specialized materials.
  • Static Scenes: The method assumes static illumination during capture, making it unsuitable for scenes with moving light sources or dynamic objects.

Future work could involve making the Fresnel term learnable or integrating more advanced material priors to handle a wider variety of real-world surfaces.

Summary updated

BibTeX
@misc{zhang2022modeling,
  author = {Yuanqing Zhang and Jiaming Sun and Xingyi He and Huan Fu and Rongfei Jia and Xiaowei Zhou},
  title = {{Modeling Indirect Illumination for Inverse Rendering}},
  year = {2022},
  eprint = {2204.06837},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.06837},
}
Figure