|
89 | 89 | //! Be careful when using this feature, if you misspell a label it will simply ignore it without warning. |
90 | 90 | //! |
91 | 91 | //! You can use [`GltfAssetLabel`] to ensure you are using the correct label. |
| 92 | +//! |
| 93 | +//! # Supported KHR Extensions |
| 94 | +//! |
| 95 | +//! glTF files may use functionality beyond the base glTF specification, specified as a list of |
| 96 | +//! required extensions. The table below shows which of the ratified Khronos extensions are |
| 97 | +//! supported by Bevy. |
| 98 | +//! |
| 99 | +//! | Extension | Supported | Requires feature | |
| 100 | +//! | --------------------------------- | --------- | ----------------------------------- | |
| 101 | +//! | `KHR_animation_pointer` | ❌ | | |
| 102 | +//! | `KHR_draco_mesh_compression` | ❌ | | |
| 103 | +//! | `KHR_lights_punctual` | ✅ | | |
| 104 | +//! | `KHR_materials_anisotropy` | ✅ | `pbr_anisotropy_texture` | |
| 105 | +//! | `KHR_materials_clearcoat` | ✅ | `pbr_multi_layer_material_textures` | |
| 106 | +//! | `KHR_materials_dispersion` | ❌ | | |
| 107 | +//! | `KHR_materials_emissive_strength` | ✅ | | |
| 108 | +//! | `KHR_materials_ior` | ✅ | | |
| 109 | +//! | `KHR_materials_iridescence` | ❌ | | |
| 110 | +//! | `KHR_materials_sheen` | ❌ | | |
| 111 | +//! | `KHR_materials_specular` | ✅ | `pbr_specular_textures` | |
| 112 | +//! | `KHR_materials_transmission` | ✅ | `pbr_transmission_textures` | |
| 113 | +//! | `KHR_materials_unlit` | ✅ | | |
| 114 | +//! | `KHR_materials_variants` | ❌ | | |
| 115 | +//! | `KHR_materials_volume` | ✅ | | |
| 116 | +//! | `KHR_mesh_quantization` | ❌ | | |
| 117 | +//! | `KHR_texture_basisu` | ❌\* | | |
| 118 | +//! | `KHR_texture_transform` | ✅\** | | |
| 119 | +//! | `KHR_xmp_json_ld` | ❌ | | |
| 120 | +//! | `EXT_mesh_gpu_instancing` | ❌ | | |
| 121 | +//! | `EXT_meshopt_compression` | ❌ | | |
| 122 | +//! | `EXT_texture_webp` | ❌\* | | |
| 123 | +//! |
| 124 | +//! \*Bevy supports ktx2 and webp formats but doesn't support the extension's syntax, see [#19104](https://github.com/bevyengine/bevy/issues/19104). |
| 125 | +//! |
| 126 | +//! \**`KHR_texture_transform` is only supported on `base_color_texture`, see [#15310](https://github.com/bevyengine/bevy/issues/15310). |
| 127 | +//! |
| 128 | +//! See the [glTF Extension Registry](https://github.com/KhronosGroup/glTF/blob/main/extensions/README.md) for more information on extensions. |
92 | 129 |
|
93 | 130 | mod assets; |
94 | 131 | mod convert_coordinates; |
|
0 commit comments