-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
Wrong compression to ktx if occlusion Texture have more 1 channels #1007
Comments
Thanks @Yason83! Unless I've misunderstood the KTX-Software CLI's options, I believe the bug may be upstream. I've filed a bug here: The new alpha release of KTX-Software doesn't appear to have this problem so the issue may get resolved on its own soon enough too. glTF Transform will need to be updated to use the next KTX Software version, when that is released. |
Could you give an approximate timeline on when we can expect this issue to be fixed? |
This will depend on when the issue is fixed upstream in KTX-Software and released. I have the impression they are working on it, but I don't know when that will be complete. |
KTX Software v4.3 is now stable — moving this to the glTF Transform v4 milestone. |
Describe the bug
This image was created in RGBA mode and is used in the occlusionTexture.
During the optimization of the GLB file, it compresses it incorrectly. As far as I understand, it expects the image to be one channel.
Please advise if there is a way to bypass this issue.
Or is it possible to preprocess all occlusionTexture images into grayscale beforehand?
To Reproduce
gltf-transform uastc input.glb output.glb --level 4 --rdo 4 --zstd 24 --verbose
gltf-transform copy output.glb output.gltf
Versions:
The text was updated successfully, but these errors were encountered: