Traditional computer vision often treats lighting as a "global" property—a single environment map representing light sources at an infinite distance. While this works for distant suns, it fails in the cluttered, heterogeneous environments of everyday life. In a typical room, the lighting at a window is fundamentally different from the lighting under a desk. As LeGendre et al. note, this "spatially invariant" assumption prevents virtual objects from reacting correctly as they move through different lighting zones, such as transitioning from direct sunlight into a shadow.
To bridge this gap, researchers have shifted toward spatially-varying illumination (SVI), which treats lighting as a function of 3D coordinates rather than a single image-wide constant.
From Global Maps to Local Light Fields
The core challenge of SVI is that a single 2D image contains only a fraction of the information needed to reconstruct the full 3D light field. Early attempts at color constancy, such as the work by Tieu et al., recognized that global assumptions are frequently violated by local shadows and surface geometry.
Modern approaches solve this by combining global scene context with local cues. Garon et al. demonstrated that a CNN can predict high-order spherical harmonics for any point in a scene by looking at both the entire image and specific local patches. This allows the system to understand that a patch near a lamp should have a different lighting profile than one in a dark corner.
Grounding Light in 3D Geometry
Lighting does not exist in a vacuum; it is shaped by the physical world. Several researchers argue that to estimate light accurately, we must first understand the 3D structure of the room. Song et al. proposed a "Neural Illumination" framework that decomposes the problem into geometry estimation, scene completion, and HDR mapping. By explicitly modeling the 3D coordinates, the system can capture sharp, high-frequency details that "black-box" networks typically blur.
This geometric grounding is even more effective when 3D sensors are available. Guo et al. (PointAR) and Zhao et al. (Xihe) leverage point clouds and LiDAR to treat the scene as a volume rather than a flat image. By treating geometry as a point cloud, these systems can dynamically update lighting parameters as virtual objects move through physical space, achieving much higher accuracy than 2D-only methods.
Inverse Rendering and Physical Intrinsics
Another powerful intuition is that the image we see is the product of light, shape, and material. By performing "inverse rendering," models can work backward from pixels to the light sources that created them.
- Outdoor Scenes: Zhu et al. (SOLID-Net) decompose outdoor images into intrinsics like shadows and albedo. By analyzing how shadows fall across known geometry, the model reconstructs a unique HDR panoramic map for every pixel location.
- Indoor Scenes: The authors of Inverse Rendering for Complex Indoor Scenes use a similar decomposition to estimate spatially-varying lighting and surface materials (SVBRDFs) simultaneously. This ensures that a virtual glossy object placed on a table reflects the specific lamp above it, not just a generic "indoor" light.
Efficient Representations for Real-Time Use
Predicting a unique light probe for every point in space is computationally expensive. To make this practical for mobile AR, researchers use specialized data structures:
- Voxel Octrees: Wang et al. (LightOctree) represent the scene as a sparse voxel octree, focusing computation only on surfaces where light actually resides. This provides "spatiotemporally coherent" lighting at a fraction of the memory cost.
- Spherical Needlets: The authors of NeedleLight use "needlets"—spherical wavelets that capture both frequency and spatial information. This allows the model to represent sharp highlights and shadows efficiently.
- Generative Priors: Bai et al. use a "local-to-global" inpainting strategy with transformers to hallucinate the parts of the environment not visible to the camera. More recently, Tong et al. have leveraged 2D diffusion models as "virtual light probes," ensuring that lighting remains consistent even as a camera moves through a room over time.
By moving away from the fiction of global illumination, these methods allow virtual objects to truly inhabit their environments, responding to the subtle, local shifts in light that define the real world.
Key Foundational Work
DeepLight: Learning Illumination for Unconstrained Mobile Mixed Reality (2019) — contributed 2 concept elements to this direction.
Fast Spatially-Varying Indoor Lighting Estimation (2019) — contributed 1 concept elements to this direction.
Neural Illumination: Lighting Prediction for Indoor Environments (2019) — contributed 1 concept elements to this direction.