Great loss of detail in shadows when using a lightmap

godot 4.7.2 stable

Hello everyone!

I’m still trying things out with lighting, and I have an issue with lightmaps: when using one, I’m losing a lot of details in thin shadows


The bottom image here has the lightmap hidden.

I’ve tried fiddling with the shadow settings, the texel scale and size, the quality, the bounces, supersampling, gen probes subdivisions …

Am I doing something wrong or are lightmaps just not made for this kind of very thin details?

It could be related to the floor material not using the lightmap properly here. It’s just not showing the shadow from inside the window at all. Or maybe the window is not adding its shadows to the lightmap?

Bonjour Edouard !

It could be related to the floor material not using the lightmap properly here

Could you elaborate on this? I triple checked the material, it’s the default (in readonly) so disable_receive_shadows is OFF, but is there something else that could be happening?

Or maybe the window is not adding its shadows to the lightmap?

I tried making the mesh unique, saving it as a resource and manually exporting the UV2, still no luck …

I managed to get some definition back in the shadow after reeeeeeally cranking the lightmap settings, but it’s still not even remotely as sharp as the unbaked shadows.


I can’t crank the settings any higher, my computer runs out of RAM and dies