Skip to content

Light near map origin affects bmodels with origin brushes regardless of distance #501

Description

@StomyPX

I haven't made a minimal repro of this yet but I wanted to document it before I forget to do so. I'm using the 2.0.0 alpha11 release and I've noticed that any light that can reach the map origin also affects any bmodels that have origin brushes. This seems to be unaffected by the actual dimensions of the bmodels themselves, and in the example below, merely moving the floor up in this room so that the origin itself is enclosed works around this bug.

Image

If the floor in here is moved down to be flush with the XY plane every bmodel with an origin brush gets affected by this light as if it were right next to it. This is in addition to all other lighting which still affects said bmodels normally. This does not affect any bmodels that don't have an origin brush.

In terms of setup, I'm running qbsp with -qbism, and light with -_bounce 1 -_range 0.25 -dirt -soft -gate 1.0 -wrnormals -world_units_per_luxel 16. I swap between a few different configs and I know at least some of these switches don't make a difference but like I said I haven't tested comprehensively yet as the work around is good enough for me. In case it makes a difference I'm on Arch Linux running AMD CPU and GPU.

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