-
Notifications
You must be signed in to change notification settings - Fork 3
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
Rounded corners? #21
Comments
Soreau made https://github.com/soreau/pixdecor that supports rounded corners with shadows. Its shadows look a bit different though. I am not planning to add this right now, but for reference: The website that provided the source for core of the gaussian shadow also has a version for rounded rectangles. https://madebyevan.com/shaders/fast-rounded-rectangle-shadows/ However I derived the glow shader directly with a CAS integral solver, it would require a bit more thinking to make it work with rounded corners. |
I have a formula for arcs too now, so it would be possible to implement rounded corners for glow too. https://timgott.github.io/neon/ If I feel like working on this again some day I might add it. |
Any chance you've played with rounded corners and would be interested in adding it?
Thanks for the plugin!
The text was updated successfully, but these errors were encountered: