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

Quads with borders cannot have a transparent background #257

Open
NiseVoid opened this issue May 5, 2023 · 1 comment
Open

Quads with borders cannot have a transparent background #257

NiseVoid opened this issue May 5, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@NiseVoid
Copy link
Contributor

NiseVoid commented May 5, 2023

When setting a border, the border is drawn as a slightly larger quad behind the real one. This means that setting a background with a non-1 alpha value shows the border color behind the element.

@StarArawn
Copy link
Owner

With how we render I'm not sure this is really a fixable item. I think using an opacity layer instead probably makes sense, but obviously there are performance concerns. Technically we can probably add a border with sdf instead but I ran into some issues doing that before.

@StarArawn StarArawn added the bug Something isn't working label Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants