bloom: use emissive instead of base_color for emissive (#12220)

# Objective

- bloom is not working anymore in 3d after
https://github.com/bevyengine/bevy/pull/12163

## Solution

- Fix a copy paste mistake and use emissive for the emissive
This commit is contained in:
François 2024-03-01 15:49:11 +01:00 committed by GitHub
parent 499c978176
commit 4aca55d76a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -716,7 +716,7 @@ impl AsBindGroupShaderType<StandardMaterialUniform> for StandardMaterial {
StandardMaterialUniform {
base_color: LinearRgba::from(self.base_color).to_f32_array().into(),
emissive: LinearRgba::from(self.base_color).to_f32_array().into(),
emissive: LinearRgba::from(self.emissive).to_f32_array().into(),
roughness: self.perceptual_roughness,
metallic: self.metallic,
reflectance: self.reflectance,