My material’s Opacity mask clip value must set to 0,otherwise material cannot write custom depths,even if Allow custom depth writes is enabled.
I compare pixel depth and custom depth,when pixel depth > custom depth,Opacity Value=0,otherwise 1.it works fine when the object is relatively close to the camera.
It is normal when my camera is close to the object, but when the camera is far away from the object, the front pixel depth of the object will be greater than the custom depth, causing the front pixel transparency to be 0 and disappear
That works on 4.26 and above. Thanks a lot!
I’m having same issue on UE 5.3