u/DI2eddin r/GraphicsProgramming • Recommends
On “Real time diffuse global illumination for static geometry implemented in Rust + Wgpu”
I just finished implementing this technique as my first real project in Rust, and I've had a lot of fun!
The technique itself is this (Real-time Global Illumination by Precomputed Local Reconstruction from Sparse Radiance Probes), which got featured in this Two Minute Paper episode three years ago; when I was looking for something graphics related to test the Rust ecosystem with, this seemed like the perfect choice, and it turned out to also be a great learning experience.
The algorithm works by precomputing a radiance transport operator in the form of sparse probes and receivers' reconstruction vectors, by making heavy use of the spherical harmonics lighting representation;
all this da…