Skip to content

msaa-renderpass.rs example should clear to blue but instead has a transparent background #1123

@mitchmindtree

Description

@mitchmindtree

When running the msaa-renderpass.rs example, the resulting image is not cleared with blue as expected. Instead, the resulting .png has a transparent background.

Interestingly, the red triangle seems to have a faint outline where the red has been mixed with blue in the multi-sampling process, almost as if only the areas behind the geometry were cleared blue.

Here is the image that is produced when I run the msaa-renderpass.rs example:

triangle

I tried applying the same msaa technique to the triangle.rs example but got the same result.

I should note that clear works fine in the regular triangle.rs example, the problem only seems to arise with this MSAA technique.

cc @rukai

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions