I’ve implemented atmospheric scattering in my engine, of sorts at least. I’ve done it as a post process and, to be fair, it looks pretty good. I’ve based it on the utterly brilliant Sebastian Lague’s Coding Adventures series. Even though it’s based on planet rendering, I’m using it for my static non-planet terrain pretty nicely.
Thing is, there’s no sun. What I’d like is to be able to render the sun with a nice halo around it that merges in with the sunset/sunrise. Can anyone point me at any documentation/tutorials that explains how to do this? Obviously I can render a sun quad but I want it to interact with the atmosphere properly and whilst Seb’s tutorial is great, it doesn’t explain how to do the sun part.