• 3D
  • Possible to make part of a mesh invisible when it travels past a certain point?

I'm in need of a game asset door.

Where the door slides into the wall. But the area it slides into can be smaller than the size of the door. Is there a way I can say "anything in this area do not render"?

https://i.postimg.cc/jdMfKdsP/470-Sliding-double-doors.png

^ Like this except imagine when the doors slide through the black edge they disappear..

Possibly via a shader, yes. But the easiest solution would certainly be to simply make your walls thicker. Likely the more performance friendly option as well.

That's a consideration too. But if I do need such a thing the way to do it is with a shader, got it. Thank you