Skip to content

BSPX LIGHTINGDIR unexpected results with _sunlight2 #484

Description

@emaxx99

Hi, I've been trying out BSPX LIGHTINGDIR with Quake II BSPs. While it works perfectly with standard lighting, enabling _sunlight2 causes artifacts in the light direction data. Kind of looks like the direction across samples is not averaged? Screenshots below visualize NdotL between the light dir and a flat normal map:

_sunlight2 0:

Image

_sunlight2 150:

Image

I'm compiling with -bspxlux -emissivequality high -bspxhdr -wrnormals -world_units_per_luxel 8.

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