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

Support blurring behind elements #101

Open
LPGhatguy opened this issue Aug 25, 2023 · 2 comments
Open

Support blurring behind elements #101

LPGhatguy opened this issue Aug 25, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@LPGhatguy
Copy link
Member

In our game, we want to have transparent UI with a frosted glass effect. An easy way to do that is to let the user supply a pre-blurred fullscreen texture that yakui can sample.

@LPGhatguy LPGhatguy added the enhancement New feature or request label Aug 25, 2023
@coderedart
Copy link

This will work for containers which are drawn over the game/background. But what if the container is positioned "above" another yakui container?

@LPGhatguy
Copy link
Member Author

This will work for containers which are drawn over the game/background. But what if the container is positioned "above" another yakui container?

That's a good question! That starts to involve a lot more complicated compositing. For the game I'm working on right now, it's not a big deal to omit this, but we should think about how we'd support this for layered UI.

It's possible that the new Layer API I introduced could be of help here.

@LPGhatguy LPGhatguy reopened this Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants