i’m currently development as an ARkit
I want to hide the object behind the transparent wall with the background visible. You can think of it as similar to the transparent cloak that appears in Harry Potter. Currently, I am thinking about using custom depth to specify the color of the area behind the wall, and then make the transparency of the color zero and remove the wall in front of me. However, I don’t know how to detect a particular color in the screen. Even if the color value is known, I don’t know if only the transparency of the color can be adjusted. It is also a problem that custom depth is not applied if it is transparent. So, to summarize…
- How to get color values from screen pixels
- How to cover only a specific mesh behind a transparent wall regardless of the background.
- Another Better ideas
I’d appreciate it if you gave me your opinion