diff options
author | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2023-02-25 11:59:49 -0800 |
---|---|---|
committer | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2023-02-25 13:48:51 -0800 |
commit | add503e71d35aefec3b31c82465bab9c0023668a (patch) | |
tree | 6bce2e5088c2d1ef726d6f42018c4f8db3092abd /editor/icons | |
parent | 3863199ab940272f6844ff30910ec7a520e47f41 (diff) |
Fix basisu mipmaps
Previously basisu was storing mip maps as an array of basisu in the internal format for Texture. The new work makes sense and it generates smaller files with one image.
This pull request fixes the basisu decompression and keep the approach of 1 image. If we need to change the format in 4.x, we can still support the old format with some limitations too. Basisu from gltfpack can only output with mipmaps.
The single image will not work for StreamedTexture. We should support both approaches for CompressedTexture we use one, and for StreamedTexture we use another.
Additional error checking for hdr images and for nullptr.
Diffstat (limited to 'editor/icons')
0 files changed, 0 insertions, 0 deletions