Skip to content

Bug: Lights with high constant value cause glitched, distorted effects #1845

Description

@lunairekitty

Describe the bug

In some Valve maps, lights have constant values of as high as 90,000 for some unknown reason instead of using falloff distances. This suprisingly enough works fine on stock lights, but if made a light_rt with dynamic settings, it completely glitches out, as shown in this video:

Glitch.mp4

To Reproduce

  1. Open a Valve map with a really high constant value light.
  2. Make it light_rt and all dynamic and whatnot
  3. Compile
  4. See it in-game

Issue Map

Occurs on any map with lights like this, but this was tested with cs_assault from CSGO which has many lights like this, especially inside.

Expected Behavior

Lighting may look weird, but ideally not glitched and distorted.

Operating System

Windows 11 (Pre-Relase)

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