@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.
- package/Audio/audioSceneComponent.js +2 -2
- package/Audio/audioSceneComponent.js.map +1 -1
- package/Cameras/Inputs/arcRotateCameraMouseWheelInput.js +10 -1
- package/Cameras/Inputs/arcRotateCameraMouseWheelInput.js.map +1 -1
- package/Culling/ray.d.ts +1 -1
- package/Culling/ray.js +1 -1
- package/Culling/ray.js.map +1 -1
- package/Debug/physicsViewer.d.ts +17 -0
- package/Debug/physicsViewer.js +153 -2
- package/Debug/physicsViewer.js.map +1 -1
- package/Engines/WebGPU/webgpuCacheRenderPipeline.js +2 -1
- package/Engines/WebGPU/webgpuCacheRenderPipeline.js.map +1 -1
- package/Engines/WebGPU/webgpuTextureHelper.d.ts +1 -1
- package/Engines/WebGPU/webgpuTextureHelper.js +28 -9
- package/Engines/WebGPU/webgpuTextureHelper.js.map +1 -1
- package/Engines/engine.d.ts +5 -0
- package/Engines/engine.js +0 -1
- package/Engines/engine.js.map +1 -1
- package/Engines/thinEngine.js +2 -2
- package/Engines/thinEngine.js.map +1 -1
- package/Engines/webgpuEngine.js +1 -1
- package/Engines/webgpuEngine.js.map +1 -1
- package/Instrumentation/sceneInstrumentation.js +25 -1
- package/Instrumentation/sceneInstrumentation.js.map +1 -1
- package/Materials/Node/Blocks/Dual/textureBlock.d.ts +6 -0
- package/Materials/Node/Blocks/Dual/textureBlock.js +16 -3
- package/Materials/Node/Blocks/Dual/textureBlock.js.map +1 -1
- package/Materials/PBR/pbrBaseMaterial.js +11 -2
- package/Materials/PBR/pbrBaseMaterial.js.map +1 -1
- package/Materials/Textures/htmlElementTexture.d.ts +1 -0
- package/Materials/Textures/htmlElementTexture.js +1 -0
- package/Materials/Textures/htmlElementTexture.js.map +1 -1
- package/Materials/Textures/texture.js +1 -1
- package/Materials/Textures/texture.js.map +1 -1
- package/Materials/Textures/videoTexture.js +16 -8
- package/Materials/Textures/videoTexture.js.map +1 -1
- package/Materials/material.js +0 -5
- package/Materials/material.js.map +1 -1
- package/Materials/materialPluginManager.js +7 -0
- package/Materials/materialPluginManager.js.map +1 -1
- package/Meshes/Builders/decalBuilder.js +146 -114
- package/Meshes/Builders/decalBuilder.js.map +1 -1
- package/Meshes/abstractMesh.d.ts +1 -1
- package/Meshes/abstractMesh.js +1 -1
- package/Meshes/abstractMesh.js.map +1 -1
- package/Meshes/mesh.d.ts +3 -0
- package/Meshes/mesh.js +3 -0
- package/Meshes/mesh.js.map +1 -1
- package/Meshes/meshUVSpaceRenderer.js +6 -3
- package/Meshes/meshUVSpaceRenderer.js.map +1 -1
- package/Misc/dumpTools.js +2 -1
- package/Misc/dumpTools.js.map +1 -1
- package/Misc/environmentTextureTools.js +9 -1
- package/Misc/environmentTextureTools.js.map +1 -1
- package/Misc/perfCounter.d.ts +5 -0
- package/Misc/perfCounter.js +7 -0
- package/Misc/perfCounter.js.map +1 -1
- package/Morph/morphTargetManager.js +3 -0
- package/Morph/morphTargetManager.js.map +1 -1
- package/Physics/v2/Plugins/havokPlugin.js +12 -2
- package/Physics/v2/Plugins/havokPlugin.js.map +1 -1
- package/Rendering/fluidRenderer/fluidRenderer.d.ts +1 -1
- package/Rendering/fluidRenderer/fluidRenderer.js.map +1 -1
- package/Shaders/screenSpaceReflection2.fragment.js +1 -1
- package/Shaders/screenSpaceReflection2.fragment.js.map +1 -1
- package/Sprites/spriteManager.js +5 -9
- package/Sprites/spriteManager.js.map +1 -1
- package/XR/webXRSessionManager.d.ts +6 -0
- package/XR/webXRSessionManager.js +9 -0
- package/XR/webXRSessionManager.js.map +1 -1
- package/package.json +1 -1
- package/scene.js +1 -0
- 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;
|