Trouble Baking Lightmaps
Asked Answered
B

7

0

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:

Berberine answered 7/5, 2023 at 23:3 Comment(0)
B
0

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

Berberine answered 8/5, 2023 at 21:4 Comment(0)
R
0

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.

Rancho answered 8/5, 2023 at 10:38 Comment(0)
B
0

Rancho

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:


Berberine answered 8/5, 2023 at 15:7 Comment(0)
B
0

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

Berberine answered 8/5, 2023 at 21:4 Comment(0)
C
0

Berberine 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.

Cottontail answered 8/5, 2023 at 21:15 Comment(0)
B
0

Cottontail 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.

Berberine answered 8/5, 2023 at 21:27 Comment(0)
P
0

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.

Psycho answered 8/5, 2023 at 22:0 Comment(0)
R
0

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

Rancho answered 8/5, 2023 at 23:13 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.