mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
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:
parent
499c978176
commit
4aca55d76a
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue