godot/modules/basis_universal
K. S. Ernest (iFire) Lee add503e71d 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.
2023-02-25 13:48:51 -08:00
..
config.py SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
register_types.cpp Fix basisu mipmaps 2023-02-25 13:48:51 -08:00
register_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub Fix includes of thirdparty libs which can be unbundled on Linux 2023-02-16 15:52:13 +01:00