mirror of
https://github.com/godotengine/godot.git
synced 2024-11-12 23:24:26 +00:00
add503e71d
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. |
||
---|---|---|
.. | ||
config.py | ||
register_types.cpp | ||
register_types.h | ||
SCsub |