-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Configurable GLESv2 drop shadows #4254
Conversation
Sorry, but I'll pass on this patch. |
Makes sense, wasn't really expecting it to get merged, mainly implemented it for personal use. @ascent12 the approach you're describing sounds like it makes more sense, hope we get something like this in the future! |
It works and looks great. Hopefully this functionality will be properly added soon. |
swayfx currently has rounded corners and shadows, as well as dimming and blur. Fade animations will be next! |
I implemented drop shadows using GLESv2. There is a meson build option to disable them, which leaves the configs and commands in place, but disables the rendering (and thus the GLESv2 requirement).
The shadows are configurable using
Radius is the radius (duh), offset is in the bottom right direction.
It's something that's been requested a few times (#1065, #3380, #1511), and personally i think it really helps the "sexyness" (even though the above screenshot is way over the top).
Currently the main issue is that damage is not being applied when you move a window (especially apparent when dragging floating windows). I assume this should be fairly easy for someone with knowledge of the codebase to fix.