"I want to implement an X-ray feature. Currently, I change the color of the selected mesh to red and apply an outline. Other meshes are set to transparent with applied opacity.
When I do this, as shown in the attached image, there are obscured parts. Can you provide example code or reference material for implementing an X-ray feature like this?"