Skip to content

Commit

Permalink
revert PointLightBundle to DirectionalLightBundle change made to asse…
Browse files Browse the repository at this point in the history
…t_loading example between 0.12.1 and 0.13.0 (#11935)

# Objective

- revert a single-line change made to `examples/asset/asset_loading`
example between `v0.12.1` release and `v0.13.0` release which resulted
in a too-bright, washed-out rendering

## Solution

- reverted the changes made to this example between `v0.12.1` and
`v0.13.0`
  • Loading branch information
awwsmm authored and mockersf committed Feb 27, 2024
1 parent 63a3da8 commit b46c11c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/asset/asset_loading.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ fn setup(
..default()
});
// light
commands.spawn(DirectionalLightBundle {
transform: Transform::from_xyz(4.0, 5.0, 4.0).looking_at(Vec3::ZERO, Vec3::Y),
commands.spawn(PointLightBundle {
transform: Transform::from_xyz(4.0, 5.0, 4.0),
..default()
});
// camera
Expand Down

0 comments on commit b46c11c

Please sign in to comment.