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 14, 2024
1 parent dc9b486 commit 614b8ac
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 @@ -131,6 +131,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 614b8ac

Please sign in to comment.