Describe the bug
For whatever reason, valve used UnlitGeneric for some skies (i.e sky_white) rather than the Sky shader, which means that it gets sent to the depth buffer and therefore used by r_ssao. If you are committed to not modifying original files, I propose having r_ssao ignore the 2D skybox context in general, if that is possible.
Issue Map
Not applicable
To Reproduce
- Launch a map with an UnlitGeneric skybox (i.e sky_white)
- Enable
r_ssao
- See how the edges of the skybox have ambient occlusion edges
Operating System
Windows 11 Microsoft Confidential
Describe the bug
For whatever reason, valve used UnlitGeneric for some skies (i.e sky_white) rather than the
Skyshader, which means that it gets sent to the depth buffer and therefore used byr_ssao. If you are committed to not modifying original files, I propose havingr_ssaoignore the 2D skybox context in general, if that is possible.Issue Map
Not applicable
To Reproduce
r_ssaoOperating System
Windows 11 Microsoft Confidential