Open Keenuts opened 1 year ago
Hi!
GLTF supports JPG and PNG files. Both those files don't support compression nor mipmaps. DDS is a well-supported file format, which provides both. An extension to GLTF is available (draft still 😥)(https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/MSFT_texture_dds/schema/glTF.MSFT_texture_dds.schema.json), so might be useful in the future if cgltf supports it.
Sent a PR to have an example model to test with: https://github.com/KhronosGroup/glTF-Sample-Models/pull/378
Hi!
GLTF supports JPG and PNG files. Both those files don't support compression nor mipmaps. DDS is a well-supported file format, which provides both. An extension to GLTF is available (draft still 😥)(https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/MSFT_texture_dds/schema/glTF.MSFT_texture_dds.schema.json), so might be useful in the future if cgltf supports it.