Engine
Engine copied to clipboard
Bug: Refract Rendering Incorrectly
Describe the bug
Refract kills ANY glass when it is a world brush, and causes issues with translucent overlays as well. Converting to func_brush solves the glass behind it issue, but it uh... color burns the translucent overlay:
The glass normally (not behind refract):
The glass when behind refract, as well as the color-burned overlay:
This is also in conjunction with visleaf visibility, hence I had mat_leafvis 1 set.
To Reproduce
- Open a map with the following situation above
- Profit... but negative
Issue Map
Any with overlays on top of refracted materials or glass behind refracted materials.
Expected Behavior
Glass should render normally, just being refracted like normal materials. Translucent overlays shouldnt colorburn onto the glass.
Operating System
No response