The basic setup I have (which needs work) currently uses a standard mesh at position 0,0,0 which I named “Moon Rotator”. Now I added in my 3d moon mesh and made it a child of the Moon Rotator, so I now have an extremely easy way to move the moon around in an orbit. I have a few color curves, and a float curve for the sun, which similar to yours which runs the Sun rotation, and at the moment it also influences the the moon rotation. Currently I have it set that the moon is always -180 deg from the sun’s position, which works great for a simple system, but it needs to be replaced soon.
I also attach a Directional Light to 0,0,0 in the skydome and use as the MoonLight. I have some calculations done so that the moon get’s brighter on sunset/lighter on sunrise etc, and the rotation of the moon sets the rotation of the the Moon Light, so the light appears to be coming from the moon. It’s a bit of a hacky way to do it, and I hope to improve it in the future, but that’s basically how it works currently.
Currently everything is based off of the Sun & time of day, so it will need to be broken apart and have more added in before
@joshhezzell -
I added the further details to the same Lunar Cycles card since they are related to the updated moon. A separate time scale for night will be part of the Calendar system I plan to create, it will allow you to customize the length of year/season/moth/day/night/hour/minute/seconds, or in other words let you create your own planetarey calendar, or use the default calendar. More info on that soon!