Font Material Linear Gradient on separate lines

Hi all,

I was wondering if someone might be able to answer my question about font materials with linear gradients.

My current text looks like the below:

What I want to achieve is that the linear gradient starts at the top of the text box and finishes at the bottom of the text box. The font material looks like the below (The two correct colours aren’t in at the moment as I wanted to make sure I wasn’t losing my mind):

I’ve tried 0, 1, and other numbers in the TextCoord, but nothing seems to solve the issue. Does anyone know what I can do to make sure that the gradient goes from the top of the text box to the bottom?

Thanks!

Have you found the answer?

Hey ChronixPsyc!

Try using the “OneMinus” node between “LinearGradient” and Alpha pin of the "Lerp"