Remix.run Logo
baliex 6 hours ago

This is absolutely fantastic.

I've thought before about trying to render skies on the web as a series of gradients overlaid on top of one another. I expect I could have had some level of success and gotten some mediocre results, but it would be nothing compared to what you've created.

Thank you so much for sharing this; it's inspirational, must have taken you a very long time to put together, and I'm blown away by your results.

jrowen 6 hours ago | parent [-]

I implemented Rayleigh and Mie scattering for a game engine once (my own, hobbyist thing). It was pretty crazy to see a quite good sunset/sunrise cycle from those alone. IIRC even the sun itself popped out of that somehow.

I was using XNA (Microsoft's C# gamedev platform) and following Riemer's excellent series of tutorials, which have been preserved here[0], but I don't see anything about scattering. I might have gotten that bit from somewhere else. I do recall reading papers with math equations.

[0] https://github.com/SimonDarksideJ/XNAGameStudio/wiki/Riemers...