v3.0.0
✋Breaking Change
- The KHR_materials_pbrSpecularGlossiness extension is no longer supported (renders white), as it has been deprecated for more than a year. This should affect only a small number of our users, but we're giving it a major version to call attention. Our Editor now supports auto-converting any uploaded Spec-Gloss model losslessly to use the modern extensions. If you need to batch-convert, gltf-transform has an excellent utility function. #3997
Features
🆕 Added dynamic hotspots, which follow a point on the model's surface while it animates. These can be generated by the surfaceFromPoint method, which the editor now employs. #3981
🆕 Added animated texture support, for video, canvas2D, and Lottie animations, which can be loaded and applied to any texture slot using our materials API. #3886
Bug fixes
- Apply
with-credentials
toggle to all loaders. #4085 - 'camera-change' event now fires in AR (WebXR mode only). #4067
- Various element lifecycle fixes. #4048, #4046, #4043, #4041
- Fire
camera-change
event at most once per animation frame. #4027 - Fix skybox and hotspots when an empty GLB is used. #4006
- Set texture anisotropy to 4 for improved oblique renders, thanks @hybridherbst! #4005
- Fix custom hash params interfering with USDZ auto-generation, thanks @milesgreen! #4004
- Make WebXR work on the Quest 2, thanks @cabanier! #3984
Examples
✨ Added animated hotspots example, which also demonstrates animated SVG pointers. #3981
✨ Added animated textures example. #3886
✨ Updated dimensions example to be more performant. #4027
Other notable changes
- Upgraded to Three.js r149
- Added three-gpu-pathtracer to render fidelity comparison, thanks @gkjohnson! #3496
- Added new glTF sample models to fidelity comparison, thanks @gkjohnson! #4069, #4070
- Fixed the fidelity page image comparison tool. #4074
- Added Stellar path-traced renders of new models, thanks @bsdorra! #4078
- Rearranged modelviewer.dev and added an FAQ page. #4011, #4012