How would i make it so the atmosphere tweens with the day and night cycle

Not sure how to word this but how would i make it change to a different atmosphere color over time

Like from this

To this

sorry if i worded it badly

1 Like

I assume tweening doesn’t work in this case, so just use a for loop that updates super often so its basically the same as if it was tweened (just less efficient)

It does work, its just i want it to follow the day and night cycle so the atmosphere is different in the day and night

so does the day/night speed change dynamically that doesn’t allow you to just make a static system?

You should launch it at the same time as the day/night cycle and should be good. You could also include some if statements to ensure the atmosphere doesn’t get foggy when it’s supposed to be day and vice versa.

If you don’t know how you could tween it, you should refer to this post below.

I’ll try, should i put how long it takes for it to be night in the seconds part in the tween

is there a reason why that would be no?

How would i revert it back to the day atmosphere? So it doesnt stay foggy during the day

second tween back to day atmosphere

You should put exactly the same time it takes between night and day for your tweens.

1 Like

Okay, thanks for helping! I’ll try that other post you linked.

1 Like