Remix.run Logo
rollulus 4 hours ago

Incredible what mobile phones and browsers can do nowadays. I remember implementing this paper from 1993 (the absolutely OG for this topic and very readable): “Display of The Earth Taking into Account Atmospheric Scattering” by Nishita et al: https://www.researchgate.net/publication/2933032_Display_of_...

jrowen 4 hours ago | parent [-]

In another comment I recalled reading a paper while implementing Rayleigh and Mie scattering a while back...this was definitely it!

Getting it working was a "holy shit, we can actually model this complex real-world phenomenon pretty well with a few relatively simple calculations" moment. I went from a static blue skybox to a full day-night cycle just like that.