Procedural Sky System with Moon Phases
A bunch of my math is off on this but it works for the most part. Need to fix the moon zenith and the color mixing, plus expose a bunch of hardcoded stuff in the shader and add clouds n things… but yeah.
I keep running across these things as Im digging around PGs looking for example code for my work. Forgot about quite a few of them.