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

feature request: box (rounded rectangle) gradient #92

Open
billzez opened this issue Feb 24, 2022 · 0 comments
Open

feature request: box (rounded rectangle) gradient #92

billzez opened this issue Feb 24, 2022 · 0 comments
Labels

Comments

@billzez
Copy link

billzez commented Feb 24, 2022

This is useful for GUIs and drop shadows. NanoVG shader implements box, linear, and radial using the shader below, but obviously it only supports two color stops.

https://github.com/memononen/nanovg/blob/master/src/nanovg_gl.h#L638

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

No branches or pull requests

2 participants