Skip to content

OpenGL2: Flares in mirrors calculate wrong depth and have wrong visibility #9

Description

@zturtleman

The Oblique Near-plane Clipping used in R_SetupProjectionZ() to avoiding portal views needing to use a clip plane breaks determining flare visibility. This can be seen in q3dm0 when standing directly in front of the mirror and looking to the left or right and the flares turn off.

Looking forward:
shot0050

Turning to the right, one flare turns off:
shot0051

Continuing to turn to the right, the other flare turns off:
shot0052

Originally reported on February 13, 2024 at ioquake/ioq3#641.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions