So I've been following a tutorial for baking lightmaps in Godot 4 and it's just not working for me. I think I followed all the instructions correctly, but when when I go to bake my lightmaps, there seems to be no bounced light at all.

It's possible the tutorial is out of date since it was made before the 4.0 release. How can I get my bake to work?

lightmaptest.zip
239kB

The tutorial:

  • kitfox Looks like LightmapGI only works in Forward+ mode. At least in version 4.0.2.

I don't see any shadows? Do you have shadows enabled on the directional light? You might also want to add a sky to the world environment as a lot of the indirect lighting works better with an environment.

    cybereality

    Shadows are enabled. And the world has a Physical sky material. Also, the block on the top right has an emissive material on it which should be casting a white light downwards.

    This is what the final should look like according to the tutorial, but I can't get it to do that:


      kitfox Looks like LightmapGI only works in Forward+ mode. At least in version 4.0.2.

        kitfox Looks like LightmapGI only works in Forward+ mode.

        Should work on mobiles:

        Performance: LightmapGI provides the best possible run-time performance for global illumination. It is suitable for low-end hardware including integrated graphics and mobile devices.

        But:

        Note: Due to how lightmaps work, most properties only have a visible effect once lightmaps are baked again.

          Tomcat It's not working for me on mobile. At least not in the editor.

          It would also be helpful to have this in compatible mode so it can run in web browser.

          Remember that compatibility renderer and webGL support are officially 4.1+ targets and still in development. It would be unreasonable to expect everything to work as if it was finalized on this end in 4.0.x.

          Compatibility mode basically doesn't work. I guess they released it to get bug reports, but it's not usable.