- Home /
UI/Default stencil buffer for only parent?
After some research on the Internet, I found that I could make two UI/Default materials to create a stencil mask: However, the problem is that I want the mask of a child only mask its parent, but not other object that also has the masked material. My question is, can I adjust the values to do so? If not, how do I change the default shader so I could do so?
mask-shader.png
(12.1 kB)
masked-shader.png
(12.0 kB)
Comment
Your answer
Follow this Question
Related Questions
Custom UI material with Mask ? 2 Answers
Stencil inside Stencil? (Multiple masks on same object) 1 Answer
Set unity_GUIZTestMode in UI Shaders? 0 Answers
Stencil on iOS 0 Answers
Multiple sprite mask 0 Answers