Skip to content

feature request: box (rounded rectangle) gradient #92

@billzez

Description

@billzez

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions