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

Semi-transparency does not work with colors other than black. #1285

Closed
gleason2 opened this issue Jan 3, 2019 · 5 comments · Fixed by #1291
Closed

Semi-transparency does not work with colors other than black. #1285

gleason2 opened this issue Jan 3, 2019 · 5 comments · Fixed by #1291

Comments

@gleason2
Copy link

gleason2 commented Jan 3, 2019

I am trying to use a white background with 50% opacity, but it only becomes transparent when I configure it to 0 opacity.

@kovidgoyal
Copy link
Owner

No it only does not work with white. Choose a slightly off-white shade
such as #eee and you will be fine.

@Luflosi
Copy link
Contributor

Luflosi commented Jan 3, 2019

Why does it not work with white?

@kovidgoyal
Copy link
Owner

no idea, feel free to investigate.

@kovidgoyal
Copy link
Owner

If I had to guess, I'd say white is used a sentinel value somewhere, since it is 0xffffff

@Luflosi
Copy link
Contributor

Luflosi commented Jan 7, 2019

It's not a sentinel value, since 0xfefefe didn't look any different than 0xffffff in my testing, it's most likely a problem in the color blending in the shader code.

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

Successfully merging a pull request may close this issue.

3 participants