Skip to content

Commit

Permalink
feat: spawn point light in async_compute
Browse files Browse the repository at this point in the history
  • Loading branch information
BD103 committed Feb 13, 2024
1 parent aca71d0 commit 6440b3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/async_tasks/async_compute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ fn setup_env(mut commands: Commands) {

// lights
commands.spawn(PointLightBundle {
point_light: PointLight {
intensity: 1_000_000.0,
..default()
},
transform: Transform::from_xyz(4.0, 12.0, 15.0),
..default()
});
Expand Down

0 comments on commit 6440b3a

Please sign in to comment.