Resonite-Issues
Resonite-Issues copied to clipboard
UI Circle Segment material has uneven border size
Is your feature request related to a problem? Please describe.
When using the UI_CircleSegment
material with rounded corners and a border, currently, the inner and outer corner radius are identical. This results in unpleasant visuals, as the border now has a wider thickness near the corners than it has near the rest of the arc.
As this is the shader used for the context menu, this is a rather visible detail that's been bothering me for a while.
Describe the solution you'd like
I would like the shader to compute the inner border radius separately from the outer to ensure an even border thickness around the corners.
Describe alternatives you've considered
Not doing this. It's ultimately a small detail, but I think it would help make the context menu look a little bit better.
Additional Context
Adjusting the inner border radius separately from the outer is actually a common thing I do a LOT when designing custom user interfaces. If there is an elegant way to compute this, exposing that as a ProtoFlux node would be cool since then I could automate this process.
Requesters
Myself