Skip to content

Commit 4aca55d

Browse files
authored
bloom: use emissive instead of base_color for emissive (#12220)
# Objective - bloom is not working anymore in 3d after #12163 ## Solution - Fix a copy paste mistake and use emissive for the emissive
1 parent 499c978 commit 4aca55d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_pbr/src/pbr_material.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ impl AsBindGroupShaderType<StandardMaterialUniform> for StandardMaterial {
716716

717717
StandardMaterialUniform {
718718
base_color: LinearRgba::from(self.base_color).to_f32_array().into(),
719-
emissive: LinearRgba::from(self.base_color).to_f32_array().into(),
719+
emissive: LinearRgba::from(self.emissive).to_f32_array().into(),
720720
roughness: self.perceptual_roughness,
721721
metallic: self.metallic,
722722
reflectance: self.reflectance,

0 commit comments

Comments
 (0)