Add gradient to the text shadow

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By radubolovan
:warning: Old Version Published before Godot 3 was released.

Hello,

Is it possible to add a gradient for the text color shadow in the next version?

For now I can set only one color for the shadow of the text. It would be very nice if I could set 2 colors and the engine will automatically interpolate between them making the shadow. In this way I can “fake” a blur shadow which will look a lot better.

For instance I have a button that has a large text on it. And I’d like to add shadow on it that could look like GIMP’s “Drop Shadow” filter.

Best regards,
Radu

You may need to make your own shadow/outline with a shader

eons | 2016-11-11 01:44

:bust_in_silhouette: Reply From: radubolovan

Thanks a lot for your reply eons.
I’ll learn how to do that.

However, it would be easier to do that my way. Just a thought.

Cheers,
Radu