Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BC5 compression broken? #12

Closed
feliwir opened this issue Feb 5, 2016 · 1 comment
Closed

BC5 compression broken? #12

feliwir opened this issue Feb 5, 2016 · 1 comment
Labels

Comments

@feliwir
Copy link

feliwir commented Feb 5, 2016

Hello, when compressing to BC5_UNORM or BC5_SNORM there seems to be a problem with the generated dds. It can't be opened by any tool. Ddsview is able to open it, but it looks completly broken:
image

(it became all yellowish)

@walbourn
Copy link
Member

walbourn commented Feb 6, 2016

If you render BC4 or BC5 as a standard RGB texture, it will end up looking odd because those formats only define 2-channels, which map to R and B (i.e. no green channel). By basic additive color, that would be yellow.

You can view it with Visual Studio 2012-2015 as well, which would also make it appear 'yellow' for the same reasons.

The DXTex tool in the legacy DirectX SDK was never updated for DirectX10 or DirectX11. That includes BC4, BC5, BC6, BC7, and anything that uses the 'DX10' header extension. That's why this issue tracks and I've been hoping to get to it for years now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants