@babylonjs/core 6.3.0 → 6.4.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 (73) hide show
  1. package/Audio/audioSceneComponent.js +2 -2
  2. package/Audio/audioSceneComponent.js.map +1 -1
  3. package/Cameras/Inputs/arcRotateCameraMouseWheelInput.js +10 -1
  4. package/Cameras/Inputs/arcRotateCameraMouseWheelInput.js.map +1 -1
  5. package/Culling/ray.d.ts +1 -1
  6. package/Culling/ray.js +1 -1
  7. package/Culling/ray.js.map +1 -1
  8. package/Debug/physicsViewer.d.ts +17 -0
  9. package/Debug/physicsViewer.js +153 -2
  10. package/Debug/physicsViewer.js.map +1 -1
  11. package/Engines/WebGPU/webgpuCacheRenderPipeline.js +2 -1
  12. package/Engines/WebGPU/webgpuCacheRenderPipeline.js.map +1 -1
  13. package/Engines/WebGPU/webgpuTextureHelper.d.ts +1 -1
  14. package/Engines/WebGPU/webgpuTextureHelper.js +28 -9
  15. package/Engines/WebGPU/webgpuTextureHelper.js.map +1 -1
  16. package/Engines/engine.d.ts +5 -0
  17. package/Engines/engine.js +0 -1
  18. package/Engines/engine.js.map +1 -1
  19. package/Engines/thinEngine.js +2 -2
  20. package/Engines/thinEngine.js.map +1 -1
  21. package/Engines/webgpuEngine.js +1 -1
  22. package/Engines/webgpuEngine.js.map +1 -1
  23. package/Instrumentation/sceneInstrumentation.js +25 -1
  24. package/Instrumentation/sceneInstrumentation.js.map +1 -1
  25. package/Materials/Node/Blocks/Dual/textureBlock.d.ts +6 -0
  26. package/Materials/Node/Blocks/Dual/textureBlock.js +16 -3
  27. package/Materials/Node/Blocks/Dual/textureBlock.js.map +1 -1
  28. package/Materials/PBR/pbrBaseMaterial.js +11 -2
  29. package/Materials/PBR/pbrBaseMaterial.js.map +1 -1
  30. package/Materials/Textures/htmlElementTexture.d.ts +1 -0
  31. package/Materials/Textures/htmlElementTexture.js +1 -0
  32. package/Materials/Textures/htmlElementTexture.js.map +1 -1
  33. package/Materials/Textures/texture.js +1 -1
  34. package/Materials/Textures/texture.js.map +1 -1
  35. package/Materials/Textures/videoTexture.js +16 -8
  36. package/Materials/Textures/videoTexture.js.map +1 -1
  37. package/Materials/material.js +0 -5
  38. package/Materials/material.js.map +1 -1
  39. package/Materials/materialPluginManager.js +7 -0
  40. package/Materials/materialPluginManager.js.map +1 -1
  41. package/Meshes/Builders/decalBuilder.js +146 -114
  42. package/Meshes/Builders/decalBuilder.js.map +1 -1
  43. package/Meshes/abstractMesh.d.ts +1 -1
  44. package/Meshes/abstractMesh.js +1 -1
  45. package/Meshes/abstractMesh.js.map +1 -1
  46. package/Meshes/mesh.d.ts +3 -0
  47. package/Meshes/mesh.js +3 -0
  48. package/Meshes/mesh.js.map +1 -1
  49. package/Meshes/meshUVSpaceRenderer.js +6 -3
  50. package/Meshes/meshUVSpaceRenderer.js.map +1 -1
  51. package/Misc/dumpTools.js +2 -1
  52. package/Misc/dumpTools.js.map +1 -1
  53. package/Misc/environmentTextureTools.js +9 -1
  54. package/Misc/environmentTextureTools.js.map +1 -1
  55. package/Misc/perfCounter.d.ts +5 -0
  56. package/Misc/perfCounter.js +7 -0
  57. package/Misc/perfCounter.js.map +1 -1
  58. package/Morph/morphTargetManager.js +3 -0
  59. package/Morph/morphTargetManager.js.map +1 -1
  60. package/Physics/v2/Plugins/havokPlugin.js +12 -2
  61. package/Physics/v2/Plugins/havokPlugin.js.map +1 -1
  62. package/Rendering/fluidRenderer/fluidRenderer.d.ts +1 -1
  63. package/Rendering/fluidRenderer/fluidRenderer.js.map +1 -1
  64. package/Shaders/screenSpaceReflection2.fragment.js +1 -1
  65. package/Shaders/screenSpaceReflection2.fragment.js.map +1 -1
  66. package/Sprites/spriteManager.js +5 -9
  67. package/Sprites/spriteManager.js.map +1 -1
  68. package/XR/webXRSessionManager.d.ts +6 -0
  69. package/XR/webXRSessionManager.js +9 -0
  70. package/XR/webXRSessionManager.js.map +1 -1
  71. package/package.json +1 -1
  72. package/scene.js +1 -0
  73. package/scene.js.map +1 -1
package/Meshes/mesh.d.ts CHANGED
@@ -277,6 +277,9 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
277
277
  set overrideRenderingFillMode(fillMode: Nullable<number>);
278
278
  /**
279
279
  * Gets or sets a boolean indicating whether to render ignoring the active camera's max z setting. (false by default)
280
+ * You should not mix meshes that have this property set to true with meshes that have it set to false if they all write
281
+ * to the depth buffer, because the z-values are not comparable in the two cases and you will get rendering artifacts if you do.
282
+ * You can set the property to true for meshes that do not write to the depth buffer, or set the same value (either false or true) otherwise.
280
283
  * Note this will reduce performance when set to true.
281
284
  */
282
285
  ignoreCameraMaxZ: boolean;
package/Meshes/mesh.js CHANGED
@@ -310,6 +310,9 @@ export class Mesh extends AbstractMesh {
310
310
  this.overrideMaterialSideOrientation = null;
311
311
  /**
312
312
  * Gets or sets a boolean indicating whether to render ignoring the active camera's max z setting. (false by default)
313
+ * You should not mix meshes that have this property set to true with meshes that have it set to false if they all write
314
+ * to the depth buffer, because the z-values are not comparable in the two cases and you will get rendering artifacts if you do.
315
+ * You can set the property to true for meshes that do not write to the depth buffer, or set the same value (either false or true) otherwise.
313
316
  * Note this will reduce performance when set to true.
314
317
  */
315
318
  this.ignoreCameraMaxZ = false;