How do i quickly fade my material to another color after a certain amount of time has passed?

i have zero clue how to do this

Hey there @Quittzer! What’s your total use case? Fading back and forth from some colors is as simple as making a linear interpolation over time like this, but your requirements probably differ. Do you need to trigger it from BP? Does it need to change once? Do you need control over the fade at runtime?

1 Like

sorry i didnt reply sooner, my use case is a day and night system, i want it to stay blue for awhile, then quickly fade to orange for sunset, then after awhile fade to dark blue for night, and smoothly repeat all this, i tried time and sine nodes into the alpha of a lerp but it fades too fast and the transition looks kinda weird. i MUST do this inside of a post process material though because thats how im doing my skybox, its inside a PPM.

If you have to do that programmatically, instead of the sine wave, you could make a dynamic material instance parameter to control the alpha, then use a timeline with your proper curve and timing.