Rendering occluded geomerty

Sorry I just realised what you are trying to acheive.

Forget about using custom depth and a postprocess. Instead just enable ‘disable depth test’ on your translucent material.