diff --git a/examples/3d/lightmaps.rs b/examples/3d/lightmaps.rs index 06da5d9394..8f144dd676 100644 --- a/examples/3d/lightmaps.rs +++ b/examples/3d/lightmaps.rs @@ -40,13 +40,17 @@ fn main() { } fn setup(mut commands: Commands, asset_server: Res, args: Res) { - commands.spawn(SceneRoot(asset_server.load( - GltfAssetLabel::Scene(0).from_asset("models/CornellBox/CornellBox.glb"), - ))); + commands.spawn(( + SceneRoot( + asset_server + .load(GltfAssetLabel::Scene(0).from_asset("models/CornellBox/CornellBox.glb")), + ), + Transform::default().looking_to(Vec3::Z, Vec3::Y), + )); let mut camera = commands.spawn(( Camera3d::default(), - Transform::from_xyz(278.0, 273.0, -800.0).looking_to(Vec3::Z, Vec3::Y), + Transform::from_xyz(-278.0, 273.0, 800.0), )); if args.deferred {