mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
3aa525885b
# Objective When the user renders multiple cameras to the same output texture, it can sometimes be confusing what `ClearColorConfig` is necessary for each camera to avoid overwriting the previous camera's output. This is particular true in cases where the user uses mixed HDR cameras, which means that their scene is being rendered to different internal textures. ## Solution When a view has a configured viewport, set the GPU scissor in the upscaling node so we don't overwrite areas that were written to by other cameras. ## Testing Ran the `split_screen` example. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |