Skip to content

Distant Lights Not Transforming with Parent Mesh #449

@Kamilkampfwagen-II

Description

@Kamilkampfwagen-II

Describe the bug

  • Distant lights do not transform with their parent mesh.
  • Game agnostic, observed in multiple games consistently: Call of Duty 2, Unreal Tournament

To Reproduce
Steps to reproduce the behavior:

  1. Attach a distant light as the child of a moving-rotating mesh.
  2. Observe that the distant light still has the same transformation despite its parent moving - rotating.

Expected behavior

  • Distant lights should be transformed as their parent do.

I am not sure if this is the exact same issue, but a similar behaviour can be observed when distant light parameters are set externally in memory. While fallback sphere light can be moved just fine this way.

To Reproduce

  1. Set distant fallback light direction in memory using a debugger, cheat engine etc.
  2. Observe that the fallback distant light is still pointing at the same direction unless the parameters are flushed in imgui.
  3. Switch to sphere fallback light, observe it move as you change its position in memory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingruntimeRTX Remix runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions