Fast Stylized Procedural Sky

What are your recommendations on getting a realistic day/night cycle? I can’t seem to get the sun and moon to sync up correctly. It seems like it was working as expected when I first purchased this and checked it out a while ago, either in 4.18 or before your patch, but I think World Rotation was different? I remember after slowing down the cloud speed, I had to also slow down the world rotation, but that’s set to 0 with World Rotation Speed at 1.0 by default now. I don’t remember what it was before.

What’s happening is after the sun goes down, the moon just sort of appears out of nowhere and when it goes down, the terrain fills up with these crazy flickering lines and shiny/wet looking spots until the light completely passes over the terrain. Then after the next sundown, the moon doesn’t appear at all. I’ve spent several hours of trial and error and playing around with the moon rotation speed/angles but nothing seems to produce a typical day/night cycle. The angle seems strange no matter what I try too, like it’s following a normal angle until it gets close to the terrain and then sort of turns and starts skimming along the edge.

I increased the Time Speed Change so I wouldn’t have to wait so long to watch it and I know I’ll need to change the Moon Change Speed again when I bump that back down to something more realistic. Is there a good formula to use to get all of these settings to compliment one another, to achieve a realistic earth-like day/night cycle?

Also, can you recommend a good way of manually switching between weather presets from C++ while still retaining the Weather Change Duration?