Outlined text and opacity

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By 358JH33E

I have a Label node with outlined text that I want to be slightly transparent (I’m altering this using the “modulate” tab). Upon lowering the opacity of outlined text, you see this ugly inner outline shown below.

How do you get transparent text without this weird inner stroke? Photoshop has options like “outer stroke” and “inner stroke”, but I can’t find any options like this in Godot.

I don’t have that Issue. Maybe you can try another font?

juppi | 2021-12-28 14:35

:bust_in_silhouette: Reply From: deaton64

Hello,

try this:

$Label.modulate.a = .5

For whatever your label is called. That should be 50% transparent.

You didn’t read my question.

358JH33E | 2021-12-28 13:47

Well I did.

And I tried my answer and it shows the text as slightly transparent.

Like this

Or am I missing the point?

deaton64 | 2021-12-28 14:44

I know it’s been years since this was asked, but for anyone else looking for the answer, place the Label node in a CanvasGroup node and use the self_modulate property of the CanvasGroup. Here’s where I found the answer: Font outline is seen through the actual character · Issue #61055 · godotengine/godot · GitHub

1 Like