Skip to content

Bug: Light cookies not taking into account rotation of light entity #1582

@briankoren

Description

@briankoren

Describe the bug

Light cookies applied to light_rt ents appear to not take into account the roll of the entity. This is usually fine for radial-type cookies, but this breaks alignment for cookies that require a specific orientation, like in the examples below:

Image Image Image

Note that the misaligned cookie is being projected from the light pointing at the wall.

To Reproduce

  1. Create a light_rt_spot entity with mode Static Bounce or Fully Dynamic
  2. Apply a light cookie with a non-radial texture for easier identification of orientation
  3. Point the light_rt_spot at a wall and rotate along the roll axis
  4. Compile the map and observe the rotation of the light cookie

Issue Map

Any

Expected Behavior

Light cookies should roll with the light entity

Operating System

Windows 11

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