Before anything else:
Custom Depth-Stencil Pass is set on Enabled with Stencil.
I’m struggling with small issue with stencils. Each cone has a set stencil value.
However, stencil value of 1 is just being ignored, while the rest are just fine (and I don’t want the Stencil Value of 1 to be ignored). I think the problem lies somewhere in Material Function I created.
I don’t know what’s wrong, any help?





