A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Something like this? This is done using inverted masking. Masking with alpha is not supported due to used masking technique... Stencil buffer
Hi hdxpmc, I'm not sure exacly what do you mean, but if you want to have the outline shader after masking, then the renderer with the outline...
Yes it will work.
Hi ahacharoz, Unfortunately not. SpriteMask works on Stencil buffer which operates on two states per pixel: masked or not.
Hi miya_omaru, The problem is that all 'bg' objects use the same material. Masking using Stencil buffer works on all Materials, so all objects...
Hi, Just add SkipMasking component to your GameObject. SpriteMask will skip masking that object. Cheers!
Hi, Sorry for that delay. I was really busy this week. 1) Masking is done via Material, so removing the sprite from masking hierarchy won't...
Hi adbaiducom, Can you send me an example scene of your problem with more details about it? Thanks!
Hi hippogames, Sorry for the delay. I was quite busy last week. Unfortunately, Sprite Mask works only on sorting layers and sorting orders. But...
Hi pretender, I'm happy to hear that SpriteMask works for you. SpriteMask works on Stencil buffer, therefore unfortunately it doesn't support...
Hi pretender, Could you please provide some screenshots. This would help me to understand your use case. Thanks!
Hi Yinmo, You are right, that's a bug. I'm on holiday right now so, I can look in to this from 7 August. Is this delay a problem for you? Thanks!
Hi Plason, Sorry for the delay. You meant something like this? So my answer is: Yes, it is possible. You can also animate the mask. Cheers!
Hi protoben, There shouldn't be any problem with that. All you need to do is to set proper sorting order on you object: Mask A -> sortingOrder: 0...
Sorry for your wasted time. It will be in the readme file from the next release. Thanks!
From the method SpriteMask.applyType() comment out those 2 lines: [...] case Type.CustomMesh: _sprite = null;...
So you want to use game object with Tilemap Chunk as a mask (masking via Mesh renderer) or this object should be masked? If you wont to use this...
Hi, Could you please send me more info about your object hierarchy? Is SpriteMask component should be added to an empty GameObject, otherwise it...
Hi yuliyF, SpriteMask doesn't work with individual Unity UI components, so it isn't possible to mask UIImage. However you can mask a whole...
Hi SergioAlonso, Sorry for the delay. I was offline for some time. Use this: spriteMask.GetComponent<Renderer>().sortingOrder = orderLayer Cheers!