Skip to content

Bug: UnlitGeneric skyboxes affected by r_ssao #1812

@lunairekitty

Description

@lunairekitty

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

  1. Launch a map with an UnlitGeneric skybox (i.e sky_white)
  2. Enable r_ssao
  3. See how the edges of the skybox have ambient occlusion edges

Operating System

Windows 11 Microsoft Confidential

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugThis is a problem with something that should be working one way, but isn't.What: GraphicsGraphics-related stuff

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions