bevy/crates
Lennard 3df7f895f4
Fix blending for CameraOutputMode::Skip (#16157)
# Objective

Currently, if we have two cameras with the same output texture, one with
`CameraOutputMode::Write` and one with `CameraOutputMode::Skip`, it is
possible for the `CameraOutputMode::Write` camera to be assigned alpha
blending (which is the fallback blending when multiple cameras write to
the same output texture), although it is the only camera writing to the
output texture. This may or may not happen every restart of the app,
because the camera iteration order in prepare_view_upscaling_pipelines
isn't consistent. Since this is random behaviour I consider this a bug
and didn't add a migration guide.

## Solution

In `prepare_view_upscaling_pipelines` make sure we don't consider
cameras with CameraOutputMode::Skip to be outputting something to the
output texture.

## Testing

I ran a few examples to make sure nothing obvious is broken. There is no
example using CameraOutputMode::Skip, so I only tested the change in my
own App where this was relevant, which however isn't public.
2024-11-05 22:42:15 +01:00
..
bevy_a11y Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_animation Undeprecate is_playing_animation (#16121) 2024-11-05 22:27:28 +01:00
bevy_app Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_asset Update notify-debouncer-full requirement from 0.3.1 to 0.4.0 (#16133) 2024-11-05 22:28:18 +01:00
bevy_audio Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_color Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_core Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_core_pipeline Fix blending for CameraOutputMode::Skip (#16157) 2024-11-05 22:42:15 +01:00
bevy_derive Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_dev_tools Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_diagnostic Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_dylib Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_ecs Adding ScheduleGraph::contains_set (#16206) 2024-11-05 22:31:36 +01:00
bevy_encase_derive Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_gilrs Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_gizmos Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_gltf Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_hierarchy Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_image Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_input Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_internal Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_log Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_macro_utils Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_math Implement Measured2d for Arc2d-based primitives. (#16213) 2024-11-05 22:31:36 +01:00
bevy_mesh Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_mikktspace Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_pbr move mesh uniform construction out of Core3d (#16188) 2024-11-05 22:42:15 +01:00
bevy_picking Add button_just_down and button_just_up methods to PointerInput (#16176) 2024-11-05 22:31:35 +01:00
bevy_ptr Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_reflect Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_remote Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_render Fix and improve MSAA documentation (#16196) 2024-11-05 22:31:35 +01:00
bevy_scene Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_sprite Improved UiImage and Sprite scaling and slicing APIs (#16088) 2024-11-05 22:42:12 +01:00
bevy_state Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_tasks Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_text Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_time Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_transform Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_ui Improved UiImage and Sprite scaling and slicing APIs (#16088) 2024-11-05 22:42:12 +01:00
bevy_utils Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_window Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_winit Correctly feature gate custom_cursor (#16093) 2024-11-05 22:31:36 +01:00