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?