@babylonjs/core 6.2.0 → 6.3.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/Engines/WebGPU/webgpuHardwareTexture.js +1 -1
- package/Engines/WebGPU/webgpuHardwareTexture.js.map +1 -1
- package/Engines/thinEngine.js +21 -4
- package/Engines/thinEngine.js.map +1 -1
- package/Engines/webgpuEngine.js +1 -6
- package/Engines/webgpuEngine.js.map +1 -1
- package/Gizmos/gizmo.js +1 -0
- package/Gizmos/gizmo.js.map +1 -1
- package/Materials/Node/Blocks/PBR/refractionBlock.js +2 -2
- package/Materials/Node/Blocks/PBR/refractionBlock.js.map +1 -1
- package/Materials/Node/Blocks/triPlanarBlock.d.ts +4 -0
- package/Materials/Node/Blocks/triPlanarBlock.js +44 -6
- package/Materials/Node/Blocks/triPlanarBlock.js.map +1 -1
- package/Materials/PBR/pbrMaterial.d.ts +2 -1
- package/Materials/PBR/pbrMaterial.js +3 -2
- package/Materials/PBR/pbrMaterial.js.map +1 -1
- package/Materials/PBR/pbrSubSurfaceConfiguration.js +2 -2
- package/Materials/PBR/pbrSubSurfaceConfiguration.js.map +1 -1
- package/Materials/Textures/baseTexture.d.ts +6 -0
- package/Materials/Textures/baseTexture.js +8 -0
- package/Materials/Textures/baseTexture.js.map +1 -1
- package/Materials/Textures/cubeTexture.d.ts +7 -0
- package/Materials/Textures/cubeTexture.js +25 -2
- package/Materials/Textures/cubeTexture.js.map +1 -1
- package/Materials/standardMaterial.d.ts +2 -1
- package/Materials/standardMaterial.js +3 -2
- package/Materials/standardMaterial.js.map +1 -1
- package/Misc/HighDynamicRange/cubemapToSphericalPolynomial.d.ts +4 -0
- package/Misc/HighDynamicRange/cubemapToSphericalPolynomial.js +19 -4
- package/Misc/HighDynamicRange/cubemapToSphericalPolynomial.js.map +1 -1
- package/Misc/decorators.d.ts +5 -1
- package/Misc/decorators.js +12 -4
- package/Misc/decorators.js.map +1 -1
- package/Misc/error.d.ts +1 -1
- package/Misc/error.js.map +1 -1
- package/Misc/tools.d.ts +6 -6
- package/Misc/tools.js +17 -14
- package/Misc/tools.js.map +1 -1
- package/Physics/physicsRaycastResult.js +6 -6
- package/Physics/physicsRaycastResult.js.map +1 -1
- package/Physics/v2/IPhysicsEnginePlugin.d.ts +2 -0
- package/Physics/v2/IPhysicsEnginePlugin.js.map +1 -1
- package/Physics/v2/Plugins/havokPlugin.d.ts +16 -1
- package/Physics/v2/Plugins/havokPlugin.js +43 -3
- package/Physics/v2/Plugins/havokPlugin.js.map +1 -1
- package/Physics/v2/physicsAggregate.d.ts +0 -50
- package/Physics/v2/physicsAggregate.js +3 -2
- package/Physics/v2/physicsAggregate.js.map +1 -1
- package/Physics/v2/physicsBody.d.ts +12 -0
- package/Physics/v2/physicsBody.js +17 -1
- package/Physics/v2/physicsBody.js.map +1 -1
- package/assetContainer.d.ts +2 -3
- package/assetContainer.js +13 -4
- package/assetContainer.js.map +1 -1
- package/node.d.ts +8 -0
- package/node.js +23 -1
- package/node.js.map +1 -1
- package/package.json +1 -1
package/Engines/webgpuEngine.js
CHANGED
|
@@ -783,12 +783,6 @@ export class WebGPUEngine extends Engine {
|
|
|
783
783
|
this._viewportsCurrent[index].y = 0;
|
|
784
784
|
this._viewportsCurrent[index].w = 0;
|
|
785
785
|
this._viewportsCurrent[index].h = 0;
|
|
786
|
-
if (index === 1) {
|
|
787
|
-
this._viewportCached.x = 0;
|
|
788
|
-
this._viewportCached.y = 0;
|
|
789
|
-
this._viewportCached.z = 0;
|
|
790
|
-
this._viewportCached.w = 0;
|
|
791
|
-
}
|
|
792
786
|
}
|
|
793
787
|
_mustUpdateViewport(renderPass) {
|
|
794
788
|
const index = renderPass === this._mainRenderPassWrapper.renderPass ? 0 : 1;
|
|
@@ -2127,6 +2121,7 @@ export class WebGPUEngine extends Engine {
|
|
|
2127
2121
|
}
|
|
2128
2122
|
(_d = this._debugPopGroup) === null || _d === void 0 ? void 0 : _d.call(this, 1);
|
|
2129
2123
|
this._resetCurrentViewport(1);
|
|
2124
|
+
this._viewport(0, 0, 0, 0);
|
|
2130
2125
|
this._resetCurrentScissor(1);
|
|
2131
2126
|
this._resetCurrentStencilRef(1);
|
|
2132
2127
|
this._resetCurrentColorBlend(1);
|