Skip to content

Commit 9abf565

Browse files
authored
Restore brightness in the remaining three examples after exposure PR (#11389)
# Objective Fixes #11376 During the development of the exposure settings PR (#11347) all examples with lighting had to be adjusted, but three were missed or simply didn't exist yet at the time. This PR restores the brightness in those examples again: render_ui_to_texture asset_loading hot_asset_reloading All of them are a bit brighter now compared to before the exposure PR, but it looks better IMO.
1 parent 8db4723 commit 9abf565

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

examples/asset/asset_loading.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ fn setup(
8080
});
8181
// light
8282
commands.spawn(PointLightBundle {
83+
point_light: PointLight {
84+
intensity: 150_000.0,
85+
..default()
86+
},
8387
transform: Transform::from_xyz(4.0, 5.0, 4.0),
8488
..default()
8589
});

examples/asset/hot_asset_reloading.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
2828
});
2929
// light
3030
commands.spawn(PointLightBundle {
31+
point_light: PointLight {
32+
intensity: 150_000.0,
33+
..default()
34+
},
3135
transform: Transform::from_xyz(4.0, 5.0, 4.0),
3236
..default()
3337
});

examples/ui/render_ui_to_texture.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ fn setup(
6060

6161
// Light
6262
commands.spawn(PointLightBundle {
63+
point_light: PointLight {
64+
intensity: 500_000.0,
65+
..default()
66+
},
6367
transform: Transform::from_translation(Vec3::new(0.0, 0.0, 10.0)),
6468
..default()
6569
});

0 commit comments

Comments
 (0)