From 614b8ac7a5ab1de5a33014f31c1ede03d2de0128 Mon Sep 17 00:00:00 2001 From: BD103 <59022059+BD103@users.noreply.github.com> Date: Tue, 13 Feb 2024 17:12:57 -0500 Subject: [PATCH] feat: spawn point light in async_compute --- examples/async_tasks/async_compute.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/async_tasks/async_compute.rs b/examples/async_tasks/async_compute.rs index 134373bc36c97..5f790536d637a 100644 --- a/examples/async_tasks/async_compute.rs +++ b/examples/async_tasks/async_compute.rs @@ -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() });