Search Unity

Question How to see the inside part of a mesh object (URP)

Discussion in 'Editor & General Support' started by Sashell_, Jun 8, 2022.

  1. Sashell_

    Sashell_

    Joined:
    Jul 14, 2021
    Posts:
    19
    Hi,

    I'm programing some stuff for AR, and I would like to do this : The player has a tool, let's say a glass plane, and when he puts the plane on a 3D mesh object, he can see inside (everything on the object thats between the tool and the player's eyes is masked).

    It's like i cut through the object, but as i move the tool away the parts that were masked reapears.

    Thing is, I've got no idea how to do that ^^" (I'm working with URP also). I guess this will be a matter of shaders and stuff...

    Can anyone help ?

    Thanks