v1.5.0
New features
🆕 Added support for the KHR_texture_basisu extension of glTF, for reduced GPU memory footprint; see the example, #1989
Bugfixes
- Fixed normal maps for glTF variants and metallic-looking renders on some mobile GPUs, #1984
- Fixed glTF variant selection when using the attribute, #1967
Other notable changes
- Deprecated IE11: In line with Microsoft's deprecation, we are no longer publishing model-viewer-legacy.js on NPM and IE-specific code is now being removed. We have also updated our examples as polyfills are not required anymore to support all modern browsers. The focus-visible polyfill is the only one we now recommend, and only for improved UI.
- Updated to Three.js r125
Editor
- The Khronos glTF Validator is now built into our editor and automatically checks each model and can display the list of errors, warnings, and info, #1992
- Our editor now includes several custom slotted elements including a nicer progress bar, AR button, and AR prompt. The ZIP you download includes everything you need and makes it easy to modify instead of starting from scratch. They can also be disabled if you prefer the default UX, #1983
- Generic error handling and raising of model parsing problems, thanks @hjeldin! #1972