From 412fd64f0991d77c1f29a9181d19721e69af0a85 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 18 Feb 2024 02:42:54 -0500 Subject: [PATCH] revert PointLightBundle to DirectionalLightBundle change made to asset_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` --- examples/asset/asset_loading.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/asset/asset_loading.rs b/examples/asset/asset_loading.rs index 24b912597c..6a931dc62b 100644 --- a/examples/asset/asset_loading.rs +++ b/examples/asset/asset_loading.rs @@ -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