Fade in black text from white background

Hi guys,

I have the following simple network attached. It’s just some text fading in. It used to be some white text on a black background, and I used the opacity level of the text Top to make the text appear from the dark.

But now I need to do the opposite : white background / black text. I can’t figure out how to reverse the effect.

The effect is triggered by clicking on the button at the beggining of the network.

Which Chop can I use ? Or is there a simple manipulation to do this ?

Thanks in advance !

text-white.1.toe (5.2 KB)

Just for info, I managed to make it work with the Alpha paramater of the text Top. But any other suggestion will be welcome!
Have a nice day everyone!

The Alpha parameter is the correct way to do a fade in/out.
It will then fade in correctly, regardless of background and foreground color.
You may want to look at the Premultiply Alpha parameter. I think they recently changed the default behaviour to the better way (IMO). It used to fade to black as well as transparent, so it would get darker as it faded out.

If you want to fade from 1 color to another color, then you will have to figure out the math to do that.
I’m sure there will be some example components out there for blending/fading between 2 colors in a pleasant manner, possibly by fading via HSL instead of RGB.

1 Like

Thanks a lot for your reply and tips! I will look at the Premultiply Alpha parameter that I’ve never used it :slight_smile: