How to make an object invisible only when it is behind the plane?

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. It`s looks like this [SOLVED] Stencil buffer like in unity - Help & Support - PlayCanvas Discussion but оn the other side. Now im using this code for shader: GitHub - dilmerv/ARFoundationOcclusion at feature/URPOcclusion

Here is the logic in the pictures I’ll be very thankful

okeeey, i found something what i need Occluders in Unity | Wikitude Documentation - Expert Edition