title: Unity How to make an object invisible only when it is behind the plane?
body: <p>I need to make an abyss with which the object sticks out, but everything that is the pose of the abyss should not be visible. Now im using this code for shader: <a href="https://github.com/dilmerv/ARFoundationOcclusion/tree/feature/URPOcclusion" rel="nofollow noreferrer">https://github.com/dilmerv/ARFoundationOcclusion/tree/feature/URPOcclusion</a>
  It`s looks like this <a href="https://forum.playcanvas.com/t/solved-stencil-buffer-like-in-unity/12285" rel="nofollow noreferrer">https://forum.playcanvas.com/t/solved-stencil-buffer-like-in-unity/12285</a> but оn the other side
  Here is the logic in the pictures I'll be very thankful
  <a href="https://i.stack.imgur.com/6gjaO.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p><a href="https://i.stack.imgur.com/LYPV7.png" rel="nofollow noreferrer">enter image description here</a></p>