You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lightmaps baked using editor in compatibility renderer do not reflect directional light influence anymore.
This seems to be a regression in recent 4.3 builds:
Expected result baked from Godot 4.3dev5, contains indirect information from red cube on ground:
Same scene baked in Godot 4.3beta1/dev6:
The issue is not present with Vulkan (Forward+)
Steps to reproduce
Open MRP and try baking a lightmap from a LightmapGI node in Godot 4.3beta1
Do same thing with Godot 4.3dev5 to confirm the issue is not present there.
If you can, try to bisect which commit introduced this regression.
You know it appeared between 4.3dev5 and 4.3dev6, so use their hashes to greatly reduce range of bisecting.
4.3dev6 commit hash: 64520fe
4.3dev5 commit hash: 89f70e9
Interesting observation is that at d950f5f it is also not working on Vulkan, so my assumption regarding projection is obviously incorrect. But LightmapGI it is working on Godot 4.3dev6 again. So seems like ReverseZ PR is breaking both renderers, but Vulkan is fixed in some commit, before dev6 release. Probably needs to be bisected again.
UPDATE:
I found a PR with fix for Vulkan: #90828 I tried to apply it on top of d950f5f to eliminate a possibility of other regressions between those two commits. Seems like it fixes only Vulkan though. So I am still positive that ReverseZ PR is the issue.
Tested versions
System information
Godot v4.3.beta1 - Windows 10.0.22631 - GLES3 (Compatibility) - AMD Radeon RX 6800S (Advanced Micro Devices, Inc.; 31.0.24027.1012) - AMD Ryzen 7 6800HS with Radeon Graphics (16 Threads)
Issue description
Lightmaps baked using editor in compatibility renderer do not reflect directional light influence anymore.
This seems to be a regression in recent 4.3 builds:
Expected result baked from Godot 4.3dev5, contains indirect information from red cube on ground:
Same scene baked in Godot 4.3beta1/dev6:
The issue is not present with Vulkan (Forward+)
Steps to reproduce
Minimal reproduction project (MRP)
mrp.zip
The text was updated successfully, but these errors were encountered: