v0.3.0
New features
- 🆕
<model-viewer>
now features built-in, customizable progress bars. See #487 for details.
Bug fixes
- A pixel-rounding bug was fixed that sometimes let to unsightly margins around the edge of
<model-viewer>
#489
Other notable changes
- We have added new CSS custom properties to our docs #493
- ✋BREAKING CHANGE: The
reveal-when-loaded
attribute has been removed in favor of the newreveal
attribute and related semantics #487 - ✋BREAKING CHANGE: As of #487 the scene is now obscured by a poster by default until loading and rendering has completed. If no poster image is specified, the poster will be a solid color. You can revert to the previous default with CSS. For example:
<style>
model-viewer {
--poster-color: transparent;
}
</style>
- ✋BREAKING CHANGE: The default lighting conditions have changed. We recommend that you remove any lighting-related attributes (
stage-light-intensity
,environment-intensity
,exposure
etc) and review the new default lighting with your models before adding further customizations. Check here for a detailed description of the lighting changes.