Hello!
I am working on a translucent material, for which I’m using the CustomDepth buffer for depth culling.
Everything works as expected until the Opacity goes below 0.3333
For an opacity value of 0.3333 and above, the depth of the object is rendered in the CustomDepth buffer as intended. However, for 0.3332 and below, nothing seems to be rendered in the CustomDepth buffer!!!
Here are screenshots demonstrating the problem using View mode → Buffer Visualization → Custom Stencil (it’s the same as Custom Depth, but easier to visualize with the bright colours):
For clarity on what the Tint parameter hooks into, here are the relevant parts of the material graph:
Any idea where that limitation comes from and how to remove it?