Closed hybridherbst closed 1 year ago
Thanks for reporting!
Good news: Doing this in KtxImporter.OnImportAsset
seems to bring the checkerboard background.
result.texture.alphaIsTransparency = true;
On regluar TextureImporters this would not only show the checkerboard/alpha blending, but enable some color filtering (see details), but I assume it does not apply here.
So I assume this does no harm and I'd simply go with this solution.
Or do you think there has to be a dedicated checkbox in the settings?
Oh, great if that's all that's needed :)
The regular texture importer is able to show textures as opaque or transparent based on the "alphaIsTransparency" option; however, it seems that textures are always displayed as opaque (with separately selectable A channel) in the KtxImporter textures.
RGB | A
![image](https://user-images.githubusercontent.com/2693840/184129333-5d42d4f5-b088-4d59-8993-dac9fa236d5c.png)
Regular texture importer for same file shows transparency![image](https://user-images.githubusercontent.com/2693840/184129487-50304e28-aa7e-4ff2-950d-98aadefe37b2.png)