Skip to content

Commit

Permalink
Restore brightness in the remaining three examples after exposure PR (#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
GitGhillie authored Jan 17, 2024
1 parent 8db4723 commit 9abf565
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/asset/asset_loading.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ fn setup(
});
// light
commands.spawn(PointLightBundle {
point_light: PointLight {
intensity: 150_000.0,
..default()
},
transform: Transform::from_xyz(4.0, 5.0, 4.0),
..default()
});
Expand Down
4 changes: 4 additions & 0 deletions examples/asset/hot_asset_reloading.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
});
// light
commands.spawn(PointLightBundle {
point_light: PointLight {
intensity: 150_000.0,
..default()
},
transform: Transform::from_xyz(4.0, 5.0, 4.0),
..default()
});
Expand Down
4 changes: 4 additions & 0 deletions examples/ui/render_ui_to_texture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ fn setup(

// Light
commands.spawn(PointLightBundle {
point_light: PointLight {
intensity: 500_000.0,
..default()
},
transform: Transform::from_translation(Vec3::new(0.0, 0.0, 10.0)),
..default()
});
Expand Down

0 comments on commit 9abf565

Please sign in to comment.