NEED HELP: PPSE - Issue with Custom Depth-Stencil Pass

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?

Bump.

I think this looks like a major issue with stencils.

CustomDepth Stencil Value that is below 2 is not colored.
Even with this simple set up:



EDIT:
Just found the issue:


Stencil Ref Value inside the Material was set to 1.

:man_facepalming:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.