@babylonjs/core 6.13.0 → 6.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/Animations/animationGroup.d.ts +10 -0
  2. package/Animations/animationGroup.js +19 -0
  3. package/Animations/animationGroup.js.map +1 -1
  4. package/Animations/runtimeAnimation.d.ts +10 -10
  5. package/Animations/runtimeAnimation.js +31 -30
  6. package/Animations/runtimeAnimation.js.map +1 -1
  7. package/DeviceInput/webDeviceInputSystem.js +3 -3
  8. package/DeviceInput/webDeviceInputSystem.js.map +1 -1
  9. package/Engines/nativeEngine.js +2 -1
  10. package/Engines/nativeEngine.js.map +1 -1
  11. package/Engines/thinEngine.js +2 -2
  12. package/Engines/thinEngine.js.map +1 -1
  13. package/Lights/spotLight.js +2 -2
  14. package/Lights/spotLight.js.map +1 -1
  15. package/Materials/Node/nodeMaterial.js +1 -0
  16. package/Materials/Node/nodeMaterial.js.map +1 -1
  17. package/Materials/PBR/pbrBaseMaterial.d.ts +3 -3
  18. package/Materials/PBR/pbrBaseMaterial.js +3 -3
  19. package/Materials/PBR/pbrBaseMaterial.js.map +1 -1
  20. package/Materials/PBR/pbrMaterial.d.ts +3 -3
  21. package/Materials/PBR/pbrMaterial.js +3 -3
  22. package/Materials/PBR/pbrMaterial.js.map +1 -1
  23. package/Materials/Textures/rawTexture2DArray.d.ts +4 -2
  24. package/Materials/Textures/rawTexture2DArray.js +3 -2
  25. package/Materials/Textures/rawTexture2DArray.js.map +1 -1
  26. package/Materials/Textures/rawTexture3D.d.ts +4 -2
  27. package/Materials/Textures/rawTexture3D.js +3 -2
  28. package/Materials/Textures/rawTexture3D.js.map +1 -1
  29. package/Maths/math.vector.js +11 -7
  30. package/Maths/math.vector.js.map +1 -1
  31. package/Misc/precisionDate.js +2 -2
  32. package/Misc/precisionDate.js.map +1 -1
  33. package/NOTICE.md +2 -0
  34. package/Physics/v1/Plugins/ammoJSPlugin.d.ts +1 -1
  35. package/Physics/v1/Plugins/ammoJSPlugin.js.map +1 -1
  36. package/Physics/v1/Plugins/cannonJSPlugin.d.ts +1 -1
  37. package/Physics/v1/Plugins/cannonJSPlugin.js +1 -1
  38. package/Physics/v1/Plugins/cannonJSPlugin.js.map +1 -1
  39. package/Physics/v1/Plugins/oimoJSPlugin.js.map +1 -1
  40. package/Physics/v2/Plugins/havokPlugin.js +6 -0
  41. package/Physics/v2/Plugins/havokPlugin.js.map +1 -1
  42. package/Physics/v2/physicsConstraint.d.ts +28 -2
  43. package/Physics/v2/physicsConstraint.js +21 -1
  44. package/Physics/v2/physicsConstraint.js.map +1 -1
  45. package/Physics/v2/physicsShape.d.ts +22 -19
  46. package/Physics/v2/physicsShape.js +22 -19
  47. package/Physics/v2/physicsShape.js.map +1 -1
  48. package/Shaders/ShadersInclude/pbrBlockAmbientOcclusion.js +1 -1
  49. package/Shaders/ShadersInclude/pbrBlockAmbientOcclusion.js.map +1 -1
  50. package/Shaders/ShadersInclude/pbrBlockAnisotropic.js +1 -1
  51. package/Shaders/ShadersInclude/pbrBlockAnisotropic.js.map +1 -1
  52. package/Shaders/ShadersInclude/pbrBlockClearcoat.js +9 -1
  53. package/Shaders/ShadersInclude/pbrBlockClearcoat.js.map +1 -1
  54. package/Shaders/ShadersInclude/pbrBlockReflectivity.js +10 -1
  55. package/Shaders/ShadersInclude/pbrBlockReflectivity.js.map +1 -1
  56. package/Shaders/ShadersInclude/pbrBlockSheen.js +5 -1
  57. package/Shaders/ShadersInclude/pbrBlockSheen.js.map +1 -1
  58. package/Shaders/ShadersInclude/pbrBlockSubSurface.js +5 -1
  59. package/Shaders/ShadersInclude/pbrBlockSubSurface.js.map +1 -1
  60. package/package.json +3 -2
@@ -360,13 +360,13 @@ export declare abstract class PBRBaseMaterial extends PushMaterial {
360
360
  */
361
361
  _metallicF0Factor: number;
362
362
  /**
363
- * In metallic workflow, specifies an F90 color to help configuring the material F90.
363
+ * In metallic workflow, specifies an F0 color.
364
364
  * By default the F90 is always 1;
365
365
  *
366
366
  * Please note that this factor is also used as a factor against the default reflectance at normal incidence.
367
367
  *
368
- * F0 = defaultF0 * metallicF0Factor * metallicReflectanceColor
369
- * F90 = metallicReflectanceColor;
368
+ * F0 = defaultF0_from_IOR * metallicF0Factor * metallicReflectanceColor
369
+ * F90 = metallicF0Factor;
370
370
  * @internal
371
371
  */
372
372
  _metallicReflectanceColor: Color3;
@@ -395,13 +395,13 @@ export class PBRBaseMaterial extends PushMaterial {
395
395
  */
396
396
  this._metallicF0Factor = 1;
397
397
  /**
398
- * In metallic workflow, specifies an F90 color to help configuring the material F90.
398
+ * In metallic workflow, specifies an F0 color.
399
399
  * By default the F90 is always 1;
400
400
  *
401
401
  * Please note that this factor is also used as a factor against the default reflectance at normal incidence.
402
402
  *
403
- * F0 = defaultF0 * metallicF0Factor * metallicReflectanceColor
404
- * F90 = metallicReflectanceColor;
403
+ * F0 = defaultF0_from_IOR * metallicF0Factor * metallicReflectanceColor
404
+ * F90 = metallicF0Factor;
405
405
  * @internal
406
406
  */
407
407
  this._metallicReflectanceColor = Color3.White();