What happened
The Three.js renderer is undergoing a major overhaul, driven by a series of incremental pull requests focused on enhancing indirect lighting and global illumination techniques.
Key developments include the integration of Bent normals from SSGINode for improved SSR, the implementation of SSGI for more accurate shadow simulation, and the introduction of a pluggable indirect lighting system designed to tie together both SSR and SSGI. The codebase has been rapidly updated through the contributions of numerous maintainers, leveraging the Three.js ecosystem's development speed.
Why it matters
These advancements represent a significant step forward in creating visually compelling and performant 3D scenes within Three.js.
Accurate indirect lighting is often the bottleneck in achieving realistic rendering, and the ability to seamlessly integrate SSR and SSGI techniques will dramatically improve image quality, especially in complex, dynamically lit environments. This ultimately benefits developers building immersive experiences and games within the Three.js framework.
But, but, but…
While progress is rapid, the team acknowledges that there are still significant challenges, particularly in the areas of stochastic global illumination (stochastic GGX SSR) and the overall coverage for SSGI.
The implementation of a fully pluggable indirect lighting solution, capable of integrating with both SSR and SSGI cascades, remains a key objective. Furthermore, the reliance on Three.js maintainers for much of this work means a degree of dependence on their ongoing efforts; the team has been fortunate in this regard. The team has found success using a suite of techniques including Hi-Z tracing, coverage output and spatio-temporal SSR denoiser. The team is also employing a complex coverage cascade with TRAA and TAAU nodes, however, this is a draft and being actively refined.
“‘We’re moving aggressively on bringing these features into the renderer, with a focus on the biggest gaps in SSR and SSGI.’”
— Dr Non
The counter-take
The fact that Three.js itself is so actively developed and integrated into this suite of rendering techniques—particularly the speed of development—represents a significant strategic advantage and a testament to the Three.js maintainers’ commitment to innovation. This model is predicated on shared development and community contribution, not centralized control.
The AI angle
The increased ability to simulate realistic indirect lighting through techniques like SSGI and BRDF integration allows for richer, more dynamic environments within Three.js applications, pushing the boundaries of visual realism.
