Materials Which Gradually Change Colors Depending On The Time Of Day

Greetings fellow developers.

In my game, I want to create gradually changing terrain colors which change gradually depending on if it’s day or night (ex. grass changes from green to blue from day to night). What’s the best way/system to use to make the terrain gradually change colors without having to hard code it changing one value to the next? Thanks,

R3M1X

1 Like

Just detect when it’s night and day in your game, if you check in lighting it shows you and theres also a fancy plugin where you can set the moon and sun and all that good stuff which will help you, anyway
for the coding part just do some wait untils and then the time of day and then tween the parts colors

1 Like

Thanks, I will try this out and will respond back when I’m done.

Alright, nice good luck
[30 Characters]

Got it working! Thanks for your help. After some research and debugging, I finally made this possible and it changes from day/night! Thanks again!

R3M1X

Bet np dude!!! glad u got it working
[30 Characters]