Skip to content

Bloom doesn't account for camera viewport #7253

@vultix

Description

@vultix

Bevy version

0.9.1

What you did

Tried applying a viewport to a camera with hdr and bloom turned on

What went wrong

The bloom doesn't account for the viewport correctly, leading to weird bloom artifacts.
image

Steps to Reproduce

Simply add a viewport to the Camera of the bloom example:

            camera: Camera {
                hdr: true, // 1. HDR must be enabled on the camera
                viewport: Some(Viewport {
                    physical_size: UVec2::new(600, 600),
                    ..default()
                }),
                ..default()
            },

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugAn unexpected or incorrect behaviorS-Needs-TriageThis issue needs to be labelled

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions