Hello everyone,
how can I hide the walls, as shown in the picture, when the camera is pointing at the wall from the outside? The walls should only be hidden when the camera is directed at them from the outside, as seen in the picture.
If the camera is no longer pointing at the wall, the wall should be displayed again.
Thank you for your answers!
There are two approaches to your problem described on this page
https://sbcode.net/threejs/raycaster2/
2 Likes
Make the material one sided, so when your camera is at back face of the mesh it’s invisible, you can simple do it on blender, checkout threeverse project
- Apartment
- Edge Apartment
- Open World
Hello Umbawa, thanks for your response! I dont use material.