Sky Sphere - Adjusting when Sunrise and Sunset happens

I’ve been modifying the BP_Sky_Sphere to add a moon and some other adjustments. The one thing I can’t for the life of me figure out how to adjust is when Sunrise and Sunset happen. IE when you rotate the Directional light, Sunrise and Sunset happen within specific rotation values and I’ve added my own code to adjust that rotation to be controlled by a Time of Day parameter based on a 24 hour period. Sunrise happens between 01:00 and 06:00 and Sunset starts at around 16:00 and 23:00. This means that Sunrise takes 5 hours to complete but Sunset takes 7. Ultimately, I’d like to be able to adjust both the time of the Sunrise/Sunset and the duration. I think this has to do with the Color curves in the Skysphere, but I’m not sure how to adjust them properly.

Here’s my code for TOD:

Oh, and I’m not using the new atmosphere system because I actually think it looks worse than the old sky sphere.

Hi, i know it’s an old post, but i also struggled to find a solution and there’s nothing on internet.

I solved this by adjusting the values of this curves (which comes with the BP_SkySphere)

These are vector3 curves where you can adjust the colours and also the time, so you can anticipate, delay or even enlarge sunset/sunrise/night/day…

ATTENTION: The curves are only taken in account when “Colors Determined By Sun Position” is true, otherwise it will use the “Override Settings” colors.

If you want to not change the values of the default assets, you can create new curves and change them in the variables of the BP_SkySphere.