what's new.md 1.6 KB

5.0.0

Major updates

Updates

General

  • Added static CenterToRef for vectors 2/3/4 (aWeirdo)

Loaders

  • Added support for EXT_meshopt_compression for glTF loader. (zeux)

Navigation

  • Added support for thin instances in navigation mesh creation (CedricGuillemet)

Materials

  • Added an OcclusionMaterial to simplify depth-only rendering of geometry (rgerd)

Inspector

  • Added support for sounds in the inspector (Deltakosh)

GUI

  • Added a FocusableButton gui control to simplify creating menus with keyboard navigation (Flux159)
  • Added focus() and blur() functions for controls that implement IFocusableControl (Flux159)

WebXR

  • A browser error preventing the emulator to render scene is now correctly dealt with (RaananW)

Bugs

  • Fix issue with the Promise polyfill where a return value was expected from resolve() (Deltakosh)
  • Fix an issue with keyboard control (re)attachment. (#9411) (RaananW)
  • Fix direct loading of a glTF string that has base64-encoded URI. (bghgary)

Breaking changes

  • Use both mesh.visibility and material.alpha values to compute the global alpha value used by the soft transparent shadow rendering code. Formerly was only using mesh.visibility (Popov72)