- Home /
Question by
Crouching-Tuna · Apr 23, 2018 at 04:43 PM ·
shaderspritemaskstencil
Multiple sprite mask
Halo! I'm trying to make a sprite renderer be masked by more than 1 sprite mask. Is that possible? It's possible but the target sprite's mask mode is "Visible inside Mask" so I'm guessing ANY mask will set the stencil to visible even if there's another mask that says "but you're outside of MY mask!" The hierarchy: Mask 1 ---Mask 2 -------Target Sprite
Left: What I got after playing with Custom Range sorting layer Right: What I'm looking for..
Cheers!
multiple-mask.png
(7.0 kB)
Comment