Only render part of custom depth buffer based on overlap

Thanks for the suggestion! We can do all that already, but not make the outline appear only when the object is behind one specific mesh, but not others.