Stroke mesh generation #131
drew-512
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
Basically, if someone from Nova could provide some snippets that generate the mesh for a UIBlock2D border and radial fill, that would be ideal (e.g. use of
VertexHelper
). I would be happy to clean it up, wrap it into a polished fill and stroke class, include a couple URP-friendly shaders, and put in a repo and donate it back to Nova. If said code is basically already hiding in one of the Nova internal classes, please just lmk which ones.Happy to post my Canvas-based URP script and shader (the shader is trivial), but I suspect Nova already has this exact code to generate the mesh of the existing UIBlock2D stroke (given all possible params).
As an aside, I bet this will go a long way in addressing people's reactivity around not having URP support. Being able to add any number of these offers powerful aesthetic options that many would enjoy.
Drew
Beta Was this translation helpful? Give feedback.
All reactions