That’s because by default, translucent shaders don’t write to the CustomDepth pass.
To get widgets to render in CustomDepth with stencil, open up the “Widget3DPassThrough” master material and enable “Allow Custom Depth Writes.”
That’s because by default, translucent shaders don’t write to the CustomDepth pass.
To get widgets to render in CustomDepth with stencil, open up the “Widget3DPassThrough” master material and enable “Allow Custom Depth Writes.”