Skip to content

v3.0.0

Compare
Choose a tag to compare
@elalish elalish released this 01 Feb 22:06
· 154 commits to master since this release
24d6a32

✋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

Editor

  • Added Spec-Gloss auto-conversion. #4063
  • Allow testing AR by opening a model directly in the editor on a mobile device. #4024
  • Added hotspots are now dynamic and will follow animated models. #3981
  • Fixed scene export. #4086
  • Fixed snippet export of saved initial camera state. #3970