@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.
- package/Animations/animationGroup.d.ts +10 -0
- package/Animations/animationGroup.js +19 -0
- package/Animations/animationGroup.js.map +1 -1
- package/Animations/runtimeAnimation.d.ts +10 -10
- package/Animations/runtimeAnimation.js +31 -30
- package/Animations/runtimeAnimation.js.map +1 -1
- package/DeviceInput/webDeviceInputSystem.js +3 -3
- package/DeviceInput/webDeviceInputSystem.js.map +1 -1
- package/Engines/nativeEngine.js +2 -1
- package/Engines/nativeEngine.js.map +1 -1
- package/Engines/thinEngine.js +2 -2
- package/Engines/thinEngine.js.map +1 -1
- package/Lights/spotLight.js +2 -2
- package/Lights/spotLight.js.map +1 -1
- package/Materials/Node/nodeMaterial.js +1 -0
- package/Materials/Node/nodeMaterial.js.map +1 -1
- package/Materials/PBR/pbrBaseMaterial.d.ts +3 -3
- package/Materials/PBR/pbrBaseMaterial.js +3 -3
- package/Materials/PBR/pbrBaseMaterial.js.map +1 -1
- package/Materials/PBR/pbrMaterial.d.ts +3 -3
- package/Materials/PBR/pbrMaterial.js +3 -3
- package/Materials/PBR/pbrMaterial.js.map +1 -1
- package/Materials/Textures/rawTexture2DArray.d.ts +4 -2
- package/Materials/Textures/rawTexture2DArray.js +3 -2
- package/Materials/Textures/rawTexture2DArray.js.map +1 -1
- package/Materials/Textures/rawTexture3D.d.ts +4 -2
- package/Materials/Textures/rawTexture3D.js +3 -2
- package/Materials/Textures/rawTexture3D.js.map +1 -1
- package/Maths/math.vector.js +11 -7
- package/Maths/math.vector.js.map +1 -1
- package/Misc/precisionDate.js +2 -2
- package/Misc/precisionDate.js.map +1 -1
- package/NOTICE.md +2 -0
- package/Physics/v1/Plugins/ammoJSPlugin.d.ts +1 -1
- package/Physics/v1/Plugins/ammoJSPlugin.js.map +1 -1
- package/Physics/v1/Plugins/cannonJSPlugin.d.ts +1 -1
- package/Physics/v1/Plugins/cannonJSPlugin.js +1 -1
- package/Physics/v1/Plugins/cannonJSPlugin.js.map +1 -1
- package/Physics/v1/Plugins/oimoJSPlugin.js.map +1 -1
- package/Physics/v2/Plugins/havokPlugin.js +6 -0
- package/Physics/v2/Plugins/havokPlugin.js.map +1 -1
- package/Physics/v2/physicsConstraint.d.ts +28 -2
- package/Physics/v2/physicsConstraint.js +21 -1
- package/Physics/v2/physicsConstraint.js.map +1 -1
- package/Physics/v2/physicsShape.d.ts +22 -19
- package/Physics/v2/physicsShape.js +22 -19
- package/Physics/v2/physicsShape.js.map +1 -1
- package/Shaders/ShadersInclude/pbrBlockAmbientOcclusion.js +1 -1
- package/Shaders/ShadersInclude/pbrBlockAmbientOcclusion.js.map +1 -1
- package/Shaders/ShadersInclude/pbrBlockAnisotropic.js +1 -1
- package/Shaders/ShadersInclude/pbrBlockAnisotropic.js.map +1 -1
- package/Shaders/ShadersInclude/pbrBlockClearcoat.js +9 -1
- package/Shaders/ShadersInclude/pbrBlockClearcoat.js.map +1 -1
- package/Shaders/ShadersInclude/pbrBlockReflectivity.js +10 -1
- package/Shaders/ShadersInclude/pbrBlockReflectivity.js.map +1 -1
- package/Shaders/ShadersInclude/pbrBlockSheen.js +5 -1
- package/Shaders/ShadersInclude/pbrBlockSheen.js.map +1 -1
- package/Shaders/ShadersInclude/pbrBlockSubSurface.js +5 -1
- package/Shaders/ShadersInclude/pbrBlockSubSurface.js.map +1 -1
- 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
|
|
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 =
|
|
369
|
-
* F90 =
|
|
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
|
|
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 =
|
|
404
|
-
* F90 =
|
|
403
|
+
* F0 = defaultF0_from_IOR * metallicF0Factor * metallicReflectanceColor
|
|
404
|
+
* F90 = metallicF0Factor;
|
|
405
405
|
* @internal
|
|
406
406
|
*/
|
|
407
407
|
this._metallicReflectanceColor = Color3.White();
|