Hey guys,
Considering that setup :


I’m looking to replace the shader to get that result :

So I would like to have a material that display “Nothing”, but still block anything that would be behind it.
Here you can see that the back of the armour is not visible, because it’s blocked by “Nothing”.
Is that something possible to do with a shader ?
If so, where can I find one to do that ?
If there is no public shader available, where would be the best place to buy a custom one for that need ?
Thanks a lot.
PS : I’m using Unity Personal 2019.2.2
Sounds like you’re looking for a depth mask shader. It doesn’t write anything into the color channels, but writes out the depth so it will block anything behind it.
Thank you so much that’s working !

The example use the Awake function in the script to apply the effect, which is only working when the game is playing.
Any idea how I could change the behavior of the script to have the effect applied in the scene even if the game is not running ?
Thanks again, you made my day 
I managed to do it by changing the render queue of the Shader Mask like that : Tags {“Queue” = “Geometry-10” }
The other script is no longer needed with that setup.
Thanks again !