Introduction
Neural Radiance Fields (NeRFs) have transformed 3D scene reconstruction, yet they consistently struggle with glossy surfaces. Shiny materials exhibit appearances that change drastically with the viewing angle, a phenomenon standard NeRFs often fail to capture. Instead of accurately modeling reflections, these models frequently "fake" them by placing phantom light sources behind surfaces, resulting in "foggy" geometry and visual artifacts.
While previous methods like Ref-NeRF improved results by conditioning appearance on reflected ray directions, they typically assume distant lighting. In real-world indoor environments, lighting is "near-field" and spatially varying—the reflection of a lamp changes based on the observer's position relative to it. SpecNeRF addresses this by introducing a learnable Gaussian directional encoding and incorporating monocular geometry priors to resolve shape-radiance ambiguities.
Methodology
The core of SpecNeRF lies in two primary innovations designed to handle the complexities of indoor specular reflections.
1. Gaussian Directional Encoding
Rather than relying on spatially invariant basis functions like Spherical Harmonics or Fourier features, SpecNeRF represents the 5D ray space (origin and direction) using a set of learnable 3D Gaussians. For any given reflected ray, the encoding is computed by finding the maximum value of each Gaussian along that ray. This approach offers several advantages:
- Spatial Awareness: Because the Gaussians are localized in 3D space, they can act as proxies for near-field light sources, capturing how reflections change as a viewer moves through a room.
- Roughness Control: The model can simulate varying levels of surface glossiness by scaling the Gaussians based on a roughness parameter ($\rho$), effectively emulating the prefiltered environment maps used in traditional computer graphics.
2. Resolving Shape-Radiance Ambiguity
Specular reflections often confuse NeRF's geometry estimation, leading the model to place emitters behind physical walls. To "bootstrap" the learning of correct geometry, SpecNeRF utilizes a monocular normal estimation prior (e.g., from Omnidata). This supervises surface normals during the early stages of training, ensuring the model learns to reflect light off surfaces rather than generating it from phantom sources behind them.
Results and Key Insights
SpecNeRF was evaluated on challenging datasets including the Eyeful Tower (HDR indoor scenes), NISR + Inria, and the Shiny benchmark.
Quantitative Performance: The model consistently outperforms state-of-the-art baselines. On the Eyeful Tower dataset, SpecNeRF achieved a PSNR of 32.58, surpassing both standard NeRF (31.85) and Ref-NeRF (31.65).
Physically Meaningful Decomposition: Qualitatively, SpecNeRF produces cleaner separations between diffuse and specular layers. Unlike Ref-NeRF, which may produce noisy specularities or geometric "holes," SpecNeRF maintains sharp, plausible reflections. Furthermore, the explicit link between the encoding and the roughness parameter allows for post-training "glossiness" editing by simply adjusting the Gaussian scales.
Limitations
Despite its strengths, SpecNeRF faces challenges with perfect, high-frequency mirror reflections, as capturing these would require a significantly higher density of Gaussians than the standard 256 used. Additionally, the computational cost of traversing hundreds of Gaussians per ray is higher than standard encodings. Future work may explore more efficient representations, such as 3D Gaussian Splatting, to mitigate these overheads.
Summary updated