Skip to content

Bug: Indirect lighting keyvalue on named lights doesn't work. #1659

@lenship2

Description

@lenship2

Describe the bug

Image Image

In these screenshots, I have an enclosed room with a single light_rt_spot entity. This light entity is named, and has the indirect lighting keyvalue enabled. However, the indirect lighting is not cast from this light because it was named. This is due to a limitation from vrad where named lights are unable to cast indirect lighting; it was a fair optimization for base Source engine, but with clustered it feels not only obsolete, but frustrating to work around.

The indirect lighting parameter should ideally be able to override vrad's limitation. I don't think it has to actually respect logic like lights turning off and on, as it could be purely baked instead to prevent bloating the lightmap sizes.

To Reproduce

  1. Have an empty room with a light entity in it
  2. Name the light entity and set the indirect lighting to Static Only
  3. Compile the map with vrad

Issue Map

N/A

Expected Behavior

Setting Indirect Lighting to Static Only should bake the static indirect lighting, regardless of whether the light is named. This baked indirect lighting doesn't have to respect light entity logic

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions