bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
35.52k stars 3.52k forks source link

Lightmaps break when deferred rendering is enabled #13552

Open GitGhillie opened 4 months ago

GitGhillie commented 4 months ago

Bevy version

Latest main

Relevant system information

Windows 10

AdapterInfo { name: "AMD Radeon RX 7900 XT", vendor: 4098, device: 29772, device_type: DiscreteGpu, driver: "AMD proprietary driver", driver_info: "24.5.1 (LLPC)", backend: Vulkan }

What you did

What went wrong

It looks like this: image

Other lights seem to work as normal.

JMS55 commented 4 months ago

I can't edit the issue title, but @alice-i-cecile it's an issue with deferred, not SSR.

It seems like lightmaps are not added to the gbuffer.

alice-i-cecile commented 3 months ago

Is this a regression since 0.13?

GitGhillie commented 3 months ago

No, looks like 0.13 has the same issue

alice-i-cecile commented 3 months ago

Thanks for checking. Unfortunate bug, but not blocking for the release of 0.14 then.