Topic was automatically imported from the old Question2Answer platform.
Asked By
Diet Estus
I have a ColorRect that I want to animate so that it becomes transparent starting on the left and continuously becomes transparent moving right, creating the effect that the ColorRect is dissolving from left to right.
I can of course just animate the modulate attribute of the ColorRect, but this changes the entire transparency of the rect.
Is there a way to do it along a gradient to achieve the effect I want?
ColorRect only displays one color so you’ll have to use a shader for this. You will have one input: the amount you want to wipe (between 0 and 1). This should work: