Skip to content

Disabled Lights Are Included in Lightmap #82834

Open
@sandsalamand

Description

@sandsalamand

Godot version

4.1.2 stable mono

System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 SUPER (NVIDIA; 30.0.15.1123) - Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (8 Threads)

Issue description

Invisible lights (tested with OmniLight3D and SpotLight3D) are included in the baked lightmap.

Expected: disabled/invisible lights are not included in the lightmap.

Steps to reproduce

  1. Place an OmniLight3D or SpotLight3D in the scene.
  2. Nest it below a LightMapGI
  3. Disable the Light
  4. Place a MeshInstance3D in the scene (in my case, saved as a scene, but not sure if that matters).
  5. Bake. Lightmap settings don't seem to change anything, but my last test used Low + 3 Bounces + Directional ON + Interior OFF + Use Denoiser ON.

Minimal reproduction project

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions