Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Incorrect alpha channel when saving as BC7 #31

@ghost

Description

Hi,

We have a problem when saving BC7 textures that have an alpha channel.

I've managed to create a very simple test case which demonstates the issue (although our actual usage is slightly different).

If an RGBA texture with all zero values in the alpha channel is saved as BC7, the resulting compressed texture may have non zero values in the alpha channel.

My simple test case is a 4x4 linear RGBA 2D texture with (111,111,111,0) in each texel.

When saved as BC7 the resulting texture will have (111,111,111,2) in each texel.

I have attached the texture.

thanks,
Bill.

alpha_test_case.zip

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