Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulkan Mobile: LightmapGI dynamic object lighting results in black objects #84846

Open
Tracked by #55871
SpockBauru opened this issue Nov 13, 2023 · 5 comments
Open
Tracked by #55871

Comments

@SpockBauru
Copy link

SpockBauru commented Nov 13, 2023

Godot version

v4.1.3.stable.official [f06b6836a] and v4.2.beta5.official [4c96e96]

System information

Godot v4.1.3.stable and Godot v4.2.beta5 - Windows 10.0.22621 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3080 (NVIDIA; 31.0.15.2849) - 12th Gen Intel(R) Core(TM) i7-12700KF (20 Threads)

Issue description

Hey guys, Seems like LightmapProbes are not working on Mobile renderer. They work well on Forward+ but not in Mobile.

LightMapProbes_Bug_edit.mp4

I've already:

  • Tested on both Godot 4.1.3 and 4.2 beta 5.
    • Lightmaps don't work on Godot 4.1.2 on Mobile Renderer, but works in 4.2 beta 5. Light Probes don't work with Mobile Renderer on both.
  • Set up lightmap UVs.
  • Marked static and dynamic objects and lights.
  • Set up all kinds of World Environment settings, even tried to delete and disable it.
  • Baked LightmapGI on both Forward+ and Mobile:
  • Tried many combinations on the LightmapGI node.
  • Tried a brand new project, now even the Lightmaps stopped working on Godot 4.1.2 (Still working on 4.2 beta 5)...
  • Yes, I restarted my PC.
  • Deleted all Godot config files in AppData\Local and AppData\Roaming

Steps to reproduce

Bake a scene with LightmapGI and an object that transition between different lighting conditions. The Probes will work on Forward+ but not on Mobile.

Minimal reproduction project

LightmapProbes_Test.zip

Edit: MRP for Godot 4.3.dev6
Lightmap_Test_4.3.dev6.zip

@clayjohn clayjohn added this to the 4.x milestone Nov 13, 2023
@Calinou Calinou changed the title Lightmap Probes not working on Mobile Renderer Vulkan Mobile: LightmapGI dynamic object lighting results in black objects Nov 13, 2023
@KarthikHebbarMN
Copy link

KarthikHebbarMN commented Mar 21, 2024

+1

Still can confirm this bug happening in Godot 4.2.1 on Ubuntu

@Lasuch69
Copy link
Contributor

Godot v4.3.dev6 - Fedora Linux 39.20240423.0 (Silverblue) - Wayland - Vulkan (Mobile) - dedicated AMD Radeon RX 550 / 550 Series (RADV POLARIS12) () - AMD Ryzen 5 3400G with Radeon Vega Graphics (8 Threads)

Screenshot from 2024-05-17 15-39-34

@Swarkin
Copy link
Contributor

Swarkin commented May 17, 2024

Same issue as OP
Godot v4.3.dev6 - Windows 10.0.19044 - Vulkan (Mobile) - dedicated AMD Radeon RX 6700 XT (Advanced Micro Devices, Inc.; 31.0.24027.1012) - Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz (6 Threads)

@Lasuch69
Copy link
Contributor

Baking the lightmaps myself results in visual difference:

Screenshot from 2024-05-17 17-45-13

@SpockBauru
Copy link
Author

SpockBauru commented May 17, 2024

Edited the first comment to include the MRP I sent to Lasuch69 and Swarkin on Discord.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Up for grabs
Development

No branches or pull requests

6 participants