Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

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:
    20
    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