by AceJohnny2 · 1mo ago · 0 comments
You can see screenshots of that work in his thesis defense slides https://theses.hal.science/tel-00319974/file/defense.pdf
That's where I learned about the transference phase function (slide 24), which includes two spikes on the return angle that correspond to the relatively unknown Glory rainbow: https://en.wikipedia.org/wiki/Glory_(optical_phenomenon)
I don't know if this method is what is used in video games today.
Incidentally, you may recognize his advisor Fabrice Neyret as someone very active in the Shadertoy community https://www.shadertoy.com/user/FabriceNeyret2
The observation of different behaviours for different scattering orders is interesting. I could try adding a cheap approximate first-order term to the shader to get more pronounced silver linings.
My LUT is calculated using the Henyey-Greenstein phase function, so without the backward spikes. Since this is all computed offline, I could easily add the more accurate Mie function.
What is used in games today is more raycast-based, e.g. Nubis³: https://www.guerrilla-games.com/read/nubis-cubed
And Neyret's name is well known to me, yes :)