godot icon indicating copy to clipboard operation
godot copied to clipboard

Lightmap Probes do not apply until dynamic object moves or updates in some way.

Open Braxtogoo opened this issue 1 year ago • 1 comments

Tested versions

  • Reproducible in: v4.3.rc1.official [e343dbbcc], v4.3.beta3.official [82cedc83c], v4.2.2.stable.official [15073afe3]

System information

Godot v4.3.rc1 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.3742) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)

Issue description

This issue is likely related to or at least an addition to #77167 however I've noticed that in addition to the probes not applying after baking, it's also when first opening a scene and on play, requiring the dynamic objects to be wiggled to show the lightmap probe's effects.

Dynamic Sphere right after baking, opening the scene, or pressing play: image

Dynamic Sphere after wiggling it a bit, note this shows another issue from #94824: image

Steps to reproduce

  • Make a basic scene with static and dynamic geometry, emissive objects, static or dynamic lights, Lightmap probes, and a LightmapGI node.
  • Configure LightmapGI node, make sure all static geometry has a UV2 and adequate space on the lightmap, turn off preview light and world environment if you don't have your own.
  • Bake lightmap.
  • Observe.

Minimal reproduction project (MRP)

  • Open project.
  • Turn off preview directional light.
  • Observe.

You can see the probe effect suddenly pop in when wiggling the sphere. Additionally I added a camera so you can see it in run time, wiggling the sphere with the remote property inspector panel will have the same effect as the editor.

Lightmap_Probes_Not_Applying.zip

Braxtogoo avatar Jul 27 '24 02:07 Braxtogoo