Open FrozenDragon0 opened 3 years ago
This is just a problem with translucent things in general, it's very difficult to sort them correctly. What you want to do is convert the glass back to a world brush if it's currently detail, that splits the glass and the indicator panel into separate visleaves, which makes sure they're sorted correctly.
Although actually indicator panels aren't translucent, so the issue here would be the fact that they're being treated as such.
The glass brush isn't a func_detail at all, just checked the map now and it's the default world brush.
How is this portal 1 compat???
Describe the bug
The prop_indicator_panel entity does not render correctly behind glass as shown here:
If you move your camera very close to the glass however the indicator_panel entity does start to render properly behind the glass:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The panel should be rendering correctly behind glass from any distance that the camera is and you shouldn't be having to put your camera right next to the glass brush to see the render work properly.
Operating System (Optional: Only if OS Specific)