-
Notifications
You must be signed in to change notification settings - Fork 242
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
ktx2ktx2 not working with IBL cubemap? #278
Comments
I'm having the same issue, so I did some debugging. The failure happens in Note the comment:
Filament implements its own KTX writer and uses It seems Filament is the one that should be fixed. |
Thanks @DDoS. You've saved me some time. Your analysis is correct. Will one of you open an issue for Filament? |
I'm testing a fix for Filament, I'll open a PR if it works, or an issue if I can't find a fix. |
@YoussefV The KTX writing issue was fixed in Filament main: google/filament#2845 |
@DDoS Great! Thanks for the help Aleksi! |
We're trying to integrate KTX2 into Cesium, but while converting one of our sandcastle cubemaps (attached) to KTX2, I run into this error message:
ktx2ktx2 failed to create ktxTexture; File data is inconsistent with KTX spec.
I'm fairly certain that the texture is valid since it was generated by one of our devs using Google Filament a while back. You can see the file in action on this Cesium example page
Running macOS Catalina 10.15.5, libktx-4.0.0 (latest build at the time of posting this)
kiara_6_afternoon_2k_ibl.ktx2.zip
The text was updated successfully, but these errors were encountered: