mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 14:40:19 +00:00
0ed08d6a15
The example was broken in #3635 when the `ActiveCamera` logic was introduced, after which there could only be one active `Camera3d` globally. Ideally there could be one `Camera3d` per render target, not globally, but that isn't the case yet. To fix the example, we need to - don't use `Camera3d` twice, add a new `SecondWindowCamera3d` marker - add the `CameraTypePlugin::<SecondWindowCamera3d>` - extract the correct `RenderPhase`s - add a 3d pass driver node for the secondary camera Fixes #4378 Co-authored-by: Jakob Hellermann <hellermann@sipgate.de> |
||
---|---|---|
.. | ||
clear_color.rs | ||
low_power.rs | ||
multiple_windows.rs | ||
scale_factor_override.rs | ||
transparent_window.rs | ||
window_settings.rs |