Is anybody using the new KTX2 Tools Version 5.
How are they working, does BabylonJS support V5 generated .ktx2 files ?
Is it a drop in replacement for toktx command line tool ?
Is anybody using the new KTX2 Tools Version 5.
How are they working, does BabylonJS support V5 generated .ktx2 files ?
Is it a drop in replacement for toktx command line tool ?
cc @bghgary
V5 is not released yet. It’s an RC at the moment because the updated spec needs to be published first.
But even if it were, the main new thing in V5 is HDR support. We have not investigated what KTX v5 means for Babylon. If someone needs this, please let us know via a feature request.
It seems that basis_encoder.js and basis_encoder.wasm were updated too. Probably they may be faster but I didnt check.
It actually works pretty good. Here are my arge i use - ktx create:
string colorArgs = $"--format R8G8B8A8_SRGB --encode {encodeMode} --uastc-quality {imageQuality} --zstd {compressLevel} --generate-mipmap";
string linearArgs = $"--format R8G8B8A8_UNORM --assign-tf linear --encode {encodeMode} --uastc-quality {imageQuality} --zstd {compressLevel} --generate-mipmap";
string normalArgs = $"--format R8G8B8A8_UNORM --assign-tf linear --encode {encodeMode} --uastc-quality {normalQuality} --zstd {compressLevel} --normalize --generate-mipmap";
I beleive BabylonJS, we only support 8BIT uastc formats. Is that correct ?
Yes, we don’t support the HDR formats yet.