Skip to content

Releases: google/model-viewer

v4.3.1

04 Jun 20:57
2c91f44

Choose a tag to compare

Fixed Shadows (#5166)
Fixed some minor regressions

v4.3.0

01 Jun 23:44
7fa5398

Choose a tag to compare

🚀 v4.3.0
This release introduces multi-model scene support, texture updates, and critical compatibility patches for iOS WKWebViews and WebXR overlays.

🌟 Highlights
Multi-Model Support: Easily render multiple models in a single scene using < extra-model >.
Modern Formats: Added KTX2 texture API support, enabled KTX2 compressed scene exports, and migrated to HDRLoader.
iOS & WebXR Fixes: Resolved a critical WebGL memory leak on iOS, patched AR Quick Look transitions inside WKWebView-based browsers (Chrome, Google Search App), and fixed input target misalignment inside WebXR DOM Overlays.
three.js Compatibility: Renamed internal elements to ensure full compatibility with the upcoming three.js r183 release.

❤️ Contributors
A huge thank you to Douglas Holm, Vincent Fretin, Frank, and Salman Chishti for submitting features and bug fixes for this release!

v4.2.0

11 Mar 20:25
cc79ea8

Choose a tag to compare

Features

🆕 UI/UX updates to the XR mode, thanks @samaneh-kazemi!

Bug fixes

Other notable changes

v4.1.0

08 Apr 20:17
8661bb5

Choose a tag to compare

Features

🆕 Added the ability to run and combine multiple animations simultaneously, thanks @mohammadbaghaei! #4979

Bug fixes

  • For better AR support across different devices, moved the hit-test to optionalFeatures, thanks @mohammadbaghaei! #4960

Other notable changes

  • Upgraded to Three.js r174, thanks @mohammadbaghaei!
  • maxTextureSize parameter in the three.js parseAsync options for QuickLook can be set through model-viewer, thanks @mohammadbaghaei!

v4.0.0

23 Oct 21:07
3f20473

Choose a tag to compare

✋Breaking Change

  • Our default tone-mapping has been updated to PBR Neutral, for improved color accuracy. If you have not been specifying tone-mapping, you'll need to either regenerate your poster images or use tone-mapping="aces" to get our legacy behavior. #4886
  • The default min and max camera-orbit have been updated to allow straight top and bottom views. #4916

Bug fixes

  • Fixed variants. #4882
  • Fixed surface hotspot updates. #4867
  • Fixed withCredentials updating. #4892
  • getCameraTarget now returns the instantaneous position, like getCameraOrbit. #4895

Examples

✨ Updated model documentation. #4776
✨ Fixed material picking example to work in WebXR mode, thanks @Hamidrzash! #4851

Other notable changes

  • Upgraded to Three.js r169. #4885, #4907
  • We no longer require a meta viewport tag to render at full DPR resolution. #4896
  • Moved the render fidelity comparisons out of this repo to Khronos ownership. #4779

Editor

  • Fixed tone mapping drop-down, thanks @rsax! #4890

v3.5.0

18 Apr 17:25
4a31350

Choose a tag to compare

Features

🆕 Added localization API for a11y for WCAG compliance, thanks @cybmiper! #4715
🆕 Added Khronos PBR Neutral tone mapping standard ("neutral") - "commerce" is now an alias for this. #4716, #4760

Bug fixes

  • Fixed USDZ auto-generation when changing baseColorFactor. #4690
  • Fixed progress event reason propagation, thanks @rsleyland! #4701
  • Fixed build problems related to imports, thanks @chamby! #4707, #4710
  • Fixed DPR for iframes. #4723
  • Fixed grounded skybox rotation. #4752
  • Fixed USDZ rotation. #4753
  • Fixed toBlob for offscreen elements. #4754
  • Improved performance when model-viewer.js loads before a 3D element is visible, thanks @Arecsu! #4758

Examples

✨ Added example of a11y localization, thanks @cybmiper! #4715

Other notable changes

Editor

v3.4.0

17 Jan 23:05
096bd39

Choose a tag to compare

Features

🆕 Added UltraHDR lighting support for 10x-30x smaller environments! #4578
🆕 Added skybox-height option to project an outdoor skybox onto the ground plane. #4604
🆕 Added AgX tone mapping and Commerce tone mapping is improved and no longer experimental! #4615
🆕 Added a reason property to the progress event, thanks @alexdaube! #4647

Bug fixes

Examples

✨ Added example of toggling visibility of mesh variants. #4528
✨ Updated lighting examples for UltraHDR example. #4578
✨ Added Grounded Skybox example. #4604
✨ Added a tone mapping comparison example. #4615
✨ Small fixes for examples. #4514, #4627
✨ Added an FAQ on color accuracy, including links to longer write-ups on tone mapping and model validation. #4637

Other notable changes

  • Upgraded to Three.js r160. #4610
  • Added V-Ray support for emissive strength comparison, thanks @jasondavies! #4509
  • Fixed Babylon transparency for fidelity comparisons, thanks @bghgary! #4531
  • Switch from glTF-Sample-Models to the newer glTF-Sample-Assets, thanks @bhouston! #4534, #4546
  • Add anisotropy tests to render-fidelity-tests (and update Babylon + Filament to latest), thanks @bhouston! #4535
  • Update render fidelity main page to list renderers in a table, thanks @bhouston! #4539
  • Enable complex arguments for "npm run render-goldens" command, thanks @bhouston! #4542
  • Reduce time for fidelity test CI, thanks @bhouston! #4543
  • Removed IE11-specific code, thanks @Frank3K! #4603
  • Updated our commerce tone mapper for improved contrast and color accuracy. #4614

Editor

v3.3.0

09 Oct 20:01
b002ee0

Choose a tag to compare

Features

🆕 Added an experimental tone-mapping attribute to allow switching from our default, aces, to a new commerce function designed specifically for color accuracy in 3D commerce. #4495
🆕 Added zoom-sensitivity and pan-sensitivity attributes, thanks @nicolas-daures! #4412

Bug fixes

  • Fixed sampler API that was leaking three.js internals. #4473, #4499, #4502
  • Fixed variants normal map inversion. #4476
  • Fixed glTF lights punctual support. #4477

Other notable changes

Editor

  • Added a dropdown in the lighting tab to switch the tone mapping function. #4495

v3.2.1

01 Aug 22:54
7aed150

Choose a tag to compare

Bug fixes

  • Fix npm postinstall script that was blocking install. #4359 #4363
  • Fix not awaiting for QuickLook when activating AR in iOS, thanks @heatblayze! #4405

Other notable changes

  • Removed Lerna in favor of npm workspaces. #4368 #4408

v3.2.0

12 Jul 00:45
b81a0f2

Choose a tag to compare

Features

🆕 Added optional post-processing API with a variety of rendering effects, thanks @Beilinson! #3948
🆕 Added an unbundled build, model-viewer-module.min.js, for use with post-processing or any others who need to de-duplicate three.js using import maps, thanks @Beilinson! #3948
🆕 Added anisotropy support. #4314, mrdoob/three.js#25580
🆕 Added PBR Next material extensions API, including anisotropy, clearcoat, ior, iridescence, sheen, specular, etc. #4319, #4330, #4348
🆕 Added texture transform API to Sampler: setRotation, setScale, and setOffset. #4209

Bug fixes

Examples

✨ Added many post-processing examples, thanks @Beilinson! #3948
✨ Added transform textures example. #4209

Other notable changes

  • Upgraded to Three.js r154
  • Switched testing framework to modern-web and playwright. Also swapped jasmine for mocha in the space-opera tests. #4268
  • Added postinstall script that updates the three importmap version, thanks @Beilinson! #4260