From e1fa45b8fac228c8e8a27e212661dfe42ec5dedb Mon Sep 17 00:00:00 2001 From: Johannes Hackel Date: Sun, 12 May 2024 16:54:33 +0200 Subject: [PATCH] ignore emissive_light when multiplying with exposure --- crates/bevy_pbr/src/render/pbr_functions.wgsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_pbr/src/render/pbr_functions.wgsl b/crates/bevy_pbr/src/render/pbr_functions.wgsl index d16317e6af29b..e74d5e894024a 100644 --- a/crates/bevy_pbr/src/render/pbr_functions.wgsl +++ b/crates/bevy_pbr/src/render/pbr_functions.wgsl @@ -585,7 +585,7 @@ fn apply_pbr_lighting( // Total light output_color = vec4( - view_bindings::view.exposure * (transmitted_light + direct_light + indirect_light + emissive_light), + (view_bindings::view.exposure * (transmitted_light + direct_light + indirect_light)) + emissive_light, output_color.a );