Question by
Phan-Phantz · Oct 21, 2016 at 02:52 PM ·
materialmaskdepthmask
How to use Depth Mask shader on an object that already has a material?
Is there any way I can put Depth Mask shader on an object that already has a material?
Comment
You could create a duplicate material of the existing one with the depth mask shader and swap the whole material out.
Your answer
![](https://koobas.hobune.stream/wayback/20220612095125im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Masking texture based on other texture 0 Answers
How to create a shader that does not test for z-depth but obeys UI Mask 3 Answers
Clip 3D Object to specific volume 2 Answers
Problem with sprite materials/shaders inside a mask 1 Answer
Is it posible to access albedo imported image texture via script? 1 Answer