what's new.md 3.2 KB

4.2.0

Major updates

Updates

General

  • NME Frames are now resizable from the corners (Kyle Belfort
  • Refactored React refs from old string API to React.createRef() API (Kyle Belfort

  • Scale on one axis for BoundingBoxGizmo (cedricguillemet)

  • Simplified code contributions by fully automating the dev setup with gitpod (nisarhassan12)

Engine

  • Allow logging of shader code when a compilation error occurs (Popov72)
  • Add back support for selecting textures based on engine capabilities (bghgary)

Inspector

  • Handle PBR colors as colors in linear space (Popov72)

Cameras

  • Added flag to TargetCamera to invert rotation direction and multiplier to adjust speed (Exolun)
  • Added upwards and downwards keyboard input to FreeCamera (Pheater)

Physics

  • Ammo.js IDL exposed property update and raycast vehicle stablization support (MackeyK24)
  • Recast.js plugin nav mesh and crowd agent to ref performance optimizations. (MackeyK24)

Loaders

  • Added support for glTF mesh instancing extension (#7521) (drigax)

Navigation

Materials

  • Added the roughness and albedoScaling parameters to PBR sheen (Popov72)
  • Updated the energy conservation factor for the clear coat layer in PBR materials (Popov72)
  • Added the transparencyMode property to the StandardMaterial class (Popov72)

WebXR

  • Added optional ray and mesh selection predicates to WebXRControllerPointerSelection (Exolun)

Bugs

  • Fix infinite loop in GlowLayer.unReferenceMeshFromUsingItsOwnMaterial (Popov72
  • Fix picking issue in the Solid Particle System when MultiMaterial is enabled (jerome)
  • QuadraticErrorSimplification was not exported (RaananW
  • Fix NME Frames bug where collapsing and moving a frame removed the nodes inside (Kyle Belfort
  • Fix moving / disappearing controls when freezing/unfreezing the ScrollViewer (Popov72
  • Fix: when using instances, master mesh (if displayed) does not have correct instance buffer values (Popov72
  • Exit XR will only trigger only if state is IN_XR (RaananW)
  • Fix improper baking of transformed textures in KHR_texture_transform serializer. (drigax)
  • Fixed NME codegen: missing common properties for float-value input block. (ycw)
  • Fixed missing options for MeshBuilder.CreateBox. (ycw)

Breaking changes