Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RichTextLabel shadows ignore text alpha. #59042

Closed
teebarjunk opened this issue Mar 11, 2022 · 2 comments · Fixed by #59098
Closed

RichTextLabel shadows ignore text alpha. #59042

teebarjunk opened this issue Mar 11, 2022 · 2 comments · Fixed by #59098
Milestone

Comments

@teebarjunk
Copy link

Godot version

v4.0.alpha4.official [f470979]

System information

Kubuntu 21.04, 64-bit, AMD Radeon HD 8800

Issue description

RichTextLabel shadow alpha isn't multiplied by the alpha of the text. The included minimal reproduction project shows that RichTextEffect has the same problem.

Some [color=#ffffffff]100% alpha[/color] text.
Some [color=#ffffff80]50% alpha[/color] text.
Some [color=#ffffff00]0% alpha[/color] text.

Screenshot_20220311_135648

Steps to reproduce

Create a RichTextLabel.
Enable Theme Overrides/Colors/Font Shadow Color.
Enable BBCode.
Paste:

Some [color=#ffffffff]100% alpha[/color] text.
Some [color=#ffffff80]50% alpha[/color] text.
Some [color=#ffffff00]0% alpha[/color] text.

Minimal reproduction project

temp_rich_text_shadows.zip

@Calinou Calinou added this to the 4.0 milestone Mar 11, 2022
@Calinou
Copy link
Member

Calinou commented Mar 11, 2022

@teebarjunk Can you reproduce this in 3.4.3 as well?

@teebarjunk
Copy link
Author

teebarjunk commented Mar 11, 2022

(edit: I'll dld 3.4.3 and test.)
Same problem in:
v3.4.beta6.official [3e2bb41]
v3.5.beta1.official [b9b23d2]
edit2: v3.4.3.stable.official [242c05d]

Whether I use RichTextEffect or just [color][/color].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants