Skip to content

Low sky ceilings may overlap the buildings behind them #1

Description

@2017Knight2017

It is most notable in Plutonia MAP29, where you can see roofs cut off while looking from the round road with lower sky ceiling.
Depth Write On

I have tried turning off the Depth Write for sky ceilings specifically:

//level.vert
if (inTexId == SKY_CEIL) {
    gl_Position.z = gl_Position.w;
}

...and the previous example, in fact, renders perfectly. However there are situations when the ceiling MUST overlap the walls behind, like in TNT MAP27.
Depth Write Off

I didn't find a solution good enough to solve both scenarios, so the Depth Write is decided to be on for now as less game-breaking.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions