# Objective After the emissive material changes in #13350, the red and green point lights in the `lighting` example turned white. ## Solution This PR gives the point lights the `emissive_exposure_weight` property in order for them to appear with correct color again. ## Testing The `lighting` example before this fix:  After this fix (looks the same as before #13350): 
This commit is contained in:
parent
efcb6d6c11
commit
4dbfdcf192
@ -146,7 +146,7 @@ fn setup(
|
||||
mesh: meshes.add(Sphere::new(0.1).mesh().uv(32, 18)),
|
||||
material: materials.add(StandardMaterial {
|
||||
base_color: RED.into(),
|
||||
emissive: Color::linear_rgba(713.0, 0.0, 0.0, 0.0),
|
||||
emissive: Color::linear_rgba(4.0, 0.0, 0.0, 0.0),
|
||||
..default()
|
||||
}),
|
||||
..default()
|
||||
@ -174,7 +174,7 @@ fn setup(
|
||||
mesh: meshes.add(Capsule3d::new(0.1, 0.125)),
|
||||
material: materials.add(StandardMaterial {
|
||||
base_color: LIME.into(),
|
||||
emissive: Color::linear_rgba(0.0, 713.0, 0.0, 0.0),
|
||||
emissive: Color::linear_rgba(0.0, 4.0, 0.0, 0.0),
|
||||
..default()
|
||||
}),
|
||||
..default()
|
||||
|
Loading…
Reference in New Issue
Block a user