In traditional computer graphics, lighting is often treated as a "skybox"—a 2D environment map projected from infinity. This assumption works well for outdoor scenes dominated by the sun, but it fails fundamentally in the messy, cluttered reality of indoor environments. When you move a virtual object across a room, it doesn't just stay the same brightness; it passes through shadows, approaches lamps, and catches reflections from nearby walls.
The research direction of Spatially-Varying Lighting (SVL) seeks to move beyond the "infinite light source" fallacy, instead modeling illumination as a dynamic 3D field that changes based on an object's specific coordinates in space.
The Fallacy of the Infinite Light Source
Most early lighting estimation models, such as those discussed by Chloe LeGendre in the development of DeepLight, rely on a single global environment map. This assumes that every point in a scene "sees" the same distant light. However, as Jonah Philion and Sanja Fidler demonstrate, indoor lighting is inherently local. A virtual character standing near a window should be lit differently than one standing in a dark corner.
When we ignore these spatial variations, virtual objects appear "floaty" or disconnected from their environment. To fix this, researchers have shifted toward predicting lighting volumes. For example, Pratul P. Srinivasan and Ben Mildenhall introduced Lighthouse, which predicts a multiscale volumetric representation of light. This allows virtual objects to naturally transition between lighting zones, maintaining visual grounding as they move.
Representing the Light Field
Capturing how light varies across 3D space requires more complex data structures than a simple pixel grid. Several competing representations have emerged:
- Spherical Gaussians and Harmonics: MixLight combines Spherical Harmonics (for smooth ambient light) with Spherical Gaussians (for sharp, localized sources). This hybrid approach allows for both soft shadows and crisp highlights.
- Voxel Octrees: To save memory, LightOctree by Xuecan Wang uses a sparse voxel octree to store lighting data only where it is needed—on or near surfaces—enabling real-time performance on mobile devices.
- Neural Incident Light Fields (NeILF): Yao Yao proposed NeILF, which uses a 5D neural representation to model incident light at any point in space, naturally handling complex effects like inter-reflections and near-field shadows.
Inverse Rendering and Disentanglement
A core challenge in this field is "unbaking" an image. When we look at a photo, the color of a pixel is a product of the object's material, its shape, and the light hitting it. Jitendra Malik and Jonathan T. Barron pioneered this decomposition with Scene-SIRFS, treating the scene as a mixture of physical components.
Modern approaches like those from Zhengqin Li in Inverse Rendering for Complex Indoor Scenes use deep learning to estimate spatially-varying materials (SVBRDFs) alongside the lighting. By disentangling these properties, we can not only relight a scene but also change the materials of objects—making a wooden floor look like marble while keeping the localized shadows from the furniture intact.
Real-Time Constraints in Mobile AR
For Augmented Reality (AR) to be convincing, these calculations must happen in milliseconds on a smartphone. Tian Guo and Yiqin Zhao have focused on efficiency, developing PointAR, which uses point clouds to estimate lighting 30% more accurately than image-based methods.
Further, LitAR introduces a multi-resolution projection technique that replaces expensive 3D reconstruction with a faster approximation, allowing mobile devices to render realistic reflections that update as the user moves their phone.
The Shift to Gaussian Splatting
The most recent frontier in SVL involves 3D Gaussian Splatting (3DGS). Unlike traditional meshes, 3DGS represents scenes as a collection of semi-transparent "splats." Boyang Yu and Akshat Dave developed TranSplat, which allows objects to be transferred between scenes while instantly adjusting to the new local light field.
Similarly, GaussHDR by Jinfeng Liu addresses the dynamic range problem. By unifying 2D and 3D local tone mapping, it ensures that the spatially-varying intensity of light—from the dim glow of a lamp to the blinding glare of a window—is captured accurately within the 3DGS framework.
By treating light as a 3D volume rather than a 2D backdrop, this research direction has transformed how AI understands and recreates the physical world, moving us closer to a future where virtual and real light are indistinguishable.