-
Notifications
You must be signed in to change notification settings - Fork 198
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
Incorrect DDS file generated when compressing BC6H cubemap [4.2.5185] #196
Comments
I'm not sure what the issue is here. The input image has 7 mipmap levels per cubemap face, and from the output here Compressonator processed 42 images (6 faces * 7 mipmap levels). I even tried to test myself using both older and newer versions of Compressonator, but it all looked correct to me. Since this was reported quite a while ago we might just want to close this issue. Unless @sherief happens to remember more details about the issue. |
@sherief Thanks for the update! It looks like the extra cubemap faces only show up in RenderDoc, not in Compressonator. We will look into this further. |
Apparently those files still exist in the wild, as can be seen in the attachment at GPUOpen-Tools/compressonator#196.
I think the error comes from the fact that I came across the same issue when implementing my own DDS importer. Don't remember which "ground truth" tool I used to compare against, but I think either the legacy NVidia Texture Tools or the NVTT Exporter should be capable of producing correct DXT10 cubemaps. The line here
1 instead of 6 . Similar changes will be needed for cube map arrays as well in case Compressonator supports them.
|
@mosra Thanks for the suggestion! We'll see about implementing this fix in the near future. |
When compressing a an RGBA16F cubemap, the resulting files has 36 faces for each mip level instead of 6.
Input and output files attached:
grace_cross_mmp_ABGR16F.zip
Command line and output:
The text was updated successfully, but these errors were encountered: