-
Notifications
You must be signed in to change notification settings - Fork 453
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
DDS cube map that DirectXTex corrupts faces when extracting #560
Comments
Thank you for the report and repro. It also loads correctly in Visual Studio which uses DirectXTex. I'll look into it. |
DDS Dump output for this file:
|
Calling The bug was initially reported in my Paint.NET plugin, it treats |
I discovered the source of the bug, it is the presence of the I can remove that flag as a workaround. but ideally the |
Thanks! yes, I see that It will work fine for 1D, 2D, and 3D textures which have the data in miplevel order (volumes store depth in 'slices' with one slice per mip). |
The purpose of |
The following DDS image has the 2nd through 6th cube map faces corrupted when trying to extract it.
https://github.com/vsg-dev/vsgExamples/blob/master/data/textures/skybox.dds
DirectXTex output (horizontal cross):
DDSView renders the image correctly:
The API call I am using to extract the top-level faces is:
The text was updated successfully, but these errors were encountered: