what's new.md 5.3 KB

3.3.0

Major updates

  • Added a ParticleHelper class to create some pre-configured particle systems in a one-liner method style (DevChris)
  • Added new MixMaterial to the Materials Library allowing to mix up to 8 textures (julien-moreau)

Updates

  • All NPM packages have latestand preview streams #3055 (RaananW)

Core Engine

  • Added new Animatable.waitAsync function to use Promises with animations. Demo Here (Deltakosh)
  • Added the choice of forming a closed loop to the catamull-rom-spline curve3 (johnk)
  • Added support for specifying the center of rotation to textures (bghgary)
  • Added webVR support for Oculus Go (TrevorDev)
  • Added ability to not generate polynomials harmonics upon prefiltered texture creation (sebavan)
  • Added predicate function to customize the list of mesh included in the computation of bounding vectors in the getHierarchyBoundingVectors method (sebavan)
  • Added webVR constructor options: disable laser pointer toggle, teleportation floor meshes (TrevorDev)
  • Get a root mesh from an asset container, load a mesh from a file with a single string url (TrevorDev)
  • UtilityLayer class to render another scene as a layer on top of an existing scene (TrevorDev)
  • AnimationGroup has now onAnimationGroupEnd observable (RaananW)
  • Pointer drag behavior to enable drag and drop with mouse or 6dof controller on a mesh (TrevorDev)
  • Gizmo class used to manipulate meshes in a scene, position gizmo (TrevorDev)

glTF Loader

  • Added support for KHR_texture_transform (bghgary)
  • Added onNodeLODsLoadedObservable and onMaterialLODsLoadedObservable to MSFT_lod loader extension (bghgary)
  • Added glTF loader settings to the GLTF tab in the debug layer (bghgary)

Viewer

  • No fullscreen button on small devices (RaananW)
  • Nav-Bar is now disaplayed on fullscreen per default (RaananW)
  • Viewer configuration supports deprecated values using the new configurationCompatibility processor (RaananW)
  • Shadows will only render while models are entering the scene or animating (RaananW)
  • Support for model drag and drop onto the canvas (RaananW)
  • New lab feature - global light rotation #4347 (RaananW)

Documentation

  • Added all code comments for GUI

Bug fixes

  • VR experience helper will now fire pointer events even when no mesh is currently hit (TrevorDev)
  • RawTexture.CreateAlphaTexture no longer fails to create a usable texture (TrevorDev)

Core Engine

  • Fixed shadowEnabled property on lights. Shadows are not visble anymore when disabled (sebavan)
  • Physics unregisterOnPhysicsCollide didn't remove callback correctly #4291 (RaananW)
  • Added missing getter and setter for global exposure in ColorCurves (RaananW)
  • Fixed an issue with view matrix when ArcRotateCamera was used with collisions (Deltakosh)
  • Fixed a bug with setting unlit on PBRMaterial after the material is ready (Wrong dirty flags) (bghgary)
  • Fixed HighlightLayer support on browsers not supporting HalfFloat (sebavan)
  • Fixed support for R and RG texture formats (sebavan)

Viewer

  • Fix Navbar Interaction on Mozilla/Firefox (SzeyinLee)
  • Fix Animation Slider Interaction on Mozilla/Firefox (sebavan)
  • Fix Animation Slider Clickable area size Cross Plat (sebavan)
  • Ground material didn't take the default main color is no material definition was provided (RaananW)
  • Model configuration was not extended correctly if loaded more than one model (RaananW)
  • It wasn't possible to disable camera behavior(s) using configuration #4348 (RaananW)

Breaking changes

  • Fixing support for R and RG texture formats made us remove TextureFormat_R32F and TextureFormat_RG32F as they were mixing formats and types. Please, use the respective TextureFormat_R and TextureFormat_RG with the Float types (sebavan)