mob-sakai / SoftMaskForUGUI

Enhance Unity UI (uGUI) with advanced soft-masking features to create more visually appealing effects!
https://github.com/mob-sakai/SoftMaskForUGUI
MIT License
1.91k stars 257 forks source link

Invert no longer available? #142

Closed sryaari567 closed 1 year ago

sryaari567 commented 1 year ago

I see there once was an option to invert masked children (softmaskable component). Not sure if the invert meant visible only outside mask, but it would be nice to have an option to mask out the softmaskable image. I read a really interesting solution to masking out images in canvas: https://answers.unity.com/questions/1066291/invertreverse-ui-mask.html Setting the materials to Ui default soft mask doesnt help

Additionally, not sure if this is a bug or not- but the visible outside mask only works correctly when Use Stencil is true and Maskable in the image component is false.

sryaari567 commented 1 year ago

I see after playing with the system that it is in fact possible