godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.68k stars 20.11k forks source link

Vulkan: LightmapGI does not react to non-default environment Color, Energy or Sky Contribution when using the Scene environment mode #56138

Closed Calinou closed 2 years ago

Calinou commented 2 years ago

Related to https://github.com/godotengine/godot/issues/56078 (which is the same issue but for 3.x's CPU lightmapper).

Godot version

4.0.dev (489f11ee0)

System information

Fedora 34, GeForce GTX 1080 (NVIDIA 470.74)

Issue description

The GPU lightmapper does not react to non-default environment Color, Energy or Sky Contribution in WorldEnvironment when the BakedLightmap is configured to use the Scene environment mode. I made sure to bake lightmaps again after changing the Environment's ambient light properties. The GPU lightmapper does not react to custom sky rotation either: https://github.com/godotengine/godot/issues/56135

Left: real-time ambient lighting, right: baked ambient lighting

Default environment settings

2021-12-21_19 11 36

Ambient Color #000000, Sky Contribution = 0.5, Energy = 1.0

2021-12-21_19 12 22

Ambient Color #604020, Sky Contribution = 0.0, Energy = 1.0

2021-12-21_19 13 27

Steps to reproduce

Minimal reproduction project

test_lightmap_environment_master.zip

tbillington commented 10 months ago

This seems to be broken in godot 4.1 (haven't tested any other versions). Hope this is the same issue. If not do you have a suggestion of where I can report this?

LightmapGI Disabled

Screenshot 2023-10-17 at 10 17 54 am

LightmapGI Enabled and clicked Bake Lightmaps

Screenshot 2023-10-17 at 10 18 28 am

LightmapGI Settings

Screenshot 2023-10-17 at 10 19 00 am
AThousandShips commented 10 months ago

Please open a new report as this issue was fixed so not the same issue