bevy/crates
charlotte 43204447e8
Allow mix of hdr and non-hdr cameras to same render target (#13419)
Changes:
- Track whether an output texture has been written to yet and only clear
it on the first write.
- Use `ClearColorConfig` on `CameraOutputMode` instead of a raw
`LoadOp`.
- Track whether a output texture has been seen when specializing the
upscaling pipeline and use alpha blending for extra cameras rendering to
that texture that do not specify an explicit blend mode.

Fixes #6754

## Testing

Tested against provided test case in issue:

![image](https://github.com/bevyengine/bevy/assets/10366310/d066f069-87fb-4249-a4d9-b6cb1751971b)

---

## Changelog

- Allow cameras rendering to the same output texture with mixed hdr to
work correctly.

## Migration Guide

- - Change `CameraOutputMode` to use `ClearColorConfig` instead of
`LoadOp`.
2024-06-06 23:12:32 +02:00
..
bevy_a11y Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_animation Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_app Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_asset Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_audio Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_color Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_core Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_core_pipeline Allow mix of hdr and non-hdr cameras to same render target (#13419) 2024-06-06 23:12:32 +02:00
bevy_derive Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_dev_tools Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_diagnostic Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_dylib Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_dynamic_plugin Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_ecs Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_encase_derive Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_gilrs Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_gizmos Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_gltf Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_hierarchy Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_input Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_internal Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_log Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_macro_utils Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_math Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_mikktspace Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_pbr Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_ptr Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_reflect Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_render Allow mix of hdr and non-hdr cameras to same render target (#13419) 2024-06-06 23:12:32 +02:00
bevy_scene Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_sprite Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_state Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_tasks Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_text Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_time Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_transform Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_ui Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_utils Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_window Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00
bevy_winit Release Candidate 0.14.0-rc.1 2024-06-06 22:34:20 +02:00