Copy stress test settings for many_camera_lights (#19512)

# Objective

- Fixes #17183

## Solution

- Copied the stress settings from the `many_animated_sprite` example
that were mentioned in the ticket

## Testing

- Run the example

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
This commit is contained in:
Tero Laxström 2025-06-10 01:12:55 +00:00 committed by GitHub
parent 030edbf3fe
commit c549b9e9a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,11 +6,19 @@ use bevy::{
math::ops::{cos, sin},
prelude::*,
render::camera::Viewport,
window::{PresentMode, WindowResolution},
};
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugins(DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
present_mode: PresentMode::AutoNoVsync,
resolution: WindowResolution::new(1920.0, 1080.0).with_scale_factor_override(1.0),
..default()
}),
..default()
}))
.add_systems(Startup, setup)
.add_systems(Update, rotate_cameras)
.run();