Adds support for a mask itself to have 'rounded corners'. #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds the functionality that was requested in issue #6.
Tested on macOS & appears to work fine. There's some weirdness around when it updates (due to
image.materialForRendering
vsimage.material
-- but that's an existing/Unity-side issue that's only tangentially related; nothing here makes it worse or changes that aspect in any way).FWIW, based on my understanding of how Unity's masking works via the Stencil buffer, I did expect the change would work prior to trying/testing it. It works as I'd expect. :)
Tyvm for this lib btw -- it's been helpful!