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 https://forum.playcanvas.com/t/solved-stencil-buffer-like-in-unity/12285 but оn the other side. Now im using this code for shader: https://github.com/dilmerv/ARFoundationOcclusion/tree/feature/URPOcclusion
Here is the logic in the pictures I'll be very thankful
Answer by unity_w0z6VuCO-3S7EQ · Feb 24 at 10:14 AM
okeeey, i found something what i need https://www.wikitude.com/external/doc/expertedition/Occluders.html
Your answer
![](https://koobas.hobune.stream/wayback/20220613053347im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Shader displaying with weird colors 1 Answer
How to correctly apply direction to reflection from unity_SpecCube0 0 Answers
Images won't tile or offset 1 Answer
How to skip color for part of texture? 1 Answer
Texture Problem 1 Answer