@babylonjs/core 9.8.0 → 9.9.1
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.pure.js +17 -9
- package/Bones/bone.pure.js +39 -29
- package/Cameras/arcRotateCamera.pure.d.ts +0 -8
- package/Cameras/arcRotateCamera.pure.js +0 -12
- package/Cameras/arcRotateCamera.pure.js.map +1 -1
- package/Cameras/inputMapper.d.ts +29 -8
- package/Cameras/inputMapper.js +63 -10
- package/Cameras/inputMapper.js.map +1 -1
- package/Cameras/targetCamera.pure.js +40 -27
- package/Culling/Helper/transformFeedbackBoundingHelper.pure.js +17 -23
- package/Engines/abstractEngine.pure.js +11 -4
- package/Engines/abstractEngine.pure.js.map +1 -1
- package/Engines/engine.pure.d.ts +23 -0
- package/Engines/engine.pure.js +96 -1
- package/Engines/engine.pure.js.map +1 -1
- package/Engines/nativeEngine.pure.d.ts +4 -0
- package/Engines/nativeEngine.pure.js +6 -0
- package/Engines/nativeEngine.pure.js.map +1 -1
- package/Engines/thinEngine.pure.js +234 -280
- package/Engines/thinNativeEngine.pure.d.ts +21 -0
- package/Engines/thinNativeEngine.pure.js +119 -4
- package/Engines/thinNativeEngine.pure.js.map +1 -1
- package/Engines/webgpuEngine.pure.d.ts +21 -0
- package/Engines/webgpuEngine.pure.js +46 -1
- package/Engines/webgpuEngine.pure.js.map +1 -1
- package/Materials/Background/backgroundMaterial.pure.js +5 -4
- package/Materials/Background/backgroundMaterial.pure.js.map +1 -1
- package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.d.ts +5 -0
- package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.js +8 -0
- package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.js.map +1 -0
- package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.pure.d.ts +278 -0
- package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.pure.js +718 -0
- package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.pure.js.map +1 -0
- package/Materials/GaussianSplatting/pure.d.ts +1 -0
- package/Materials/GaussianSplatting/pure.js +1 -0
- package/Materials/GaussianSplatting/pure.js.map +1 -1
- package/Materials/Node/Blocks/Dual/imageSourceBlock.pure.js +10 -14
- package/Materials/Node/Blocks/Dual/index.d.ts +0 -14
- package/Materials/Node/Blocks/Dual/index.js +0 -18
- package/Materials/Node/Blocks/Dual/index.js.map +1 -1
- package/Materials/Node/Blocks/Dual/textureBlock.pure.js +660 -662
- package/Materials/Node/Blocks/Fragment/index.d.ts +0 -10
- package/Materials/Node/Blocks/Fragment/index.js +0 -13
- package/Materials/Node/Blocks/Fragment/index.js.map +1 -1
- package/Materials/Node/Blocks/GaussianSplatting/index.d.ts +12 -0
- package/Materials/Node/Blocks/GaussianSplatting/index.js +14 -1
- package/Materials/Node/Blocks/GaussianSplatting/index.js.map +1 -1
- package/Materials/Node/Blocks/Vertex/index.d.ts +0 -8
- package/Materials/Node/Blocks/Vertex/index.js +0 -10
- package/Materials/Node/Blocks/Vertex/index.js.map +1 -1
- package/Materials/PBR/openpbrMaterial.pure.js +6 -5
- package/Materials/PBR/openpbrMaterial.pure.js.map +1 -1
- package/Materials/PBR/pbrBaseMaterial.pure.js +6 -5
- package/Materials/PBR/pbrBaseMaterial.pure.js.map +1 -1
- package/Materials/Textures/index.d.ts +1 -0
- package/Materials/Textures/index.js +1 -0
- package/Materials/Textures/index.js.map +1 -1
- package/Materials/Textures/internalTexture.d.ts +11 -1
- package/Materials/Textures/internalTexture.js +23 -0
- package/Materials/Textures/internalTexture.js.map +1 -1
- package/Materials/Textures/texture.pure.js +157 -255
- package/Materials/index.d.ts +30 -0
- package/Materials/index.js +31 -0
- package/Materials/index.js.map +1 -1
- package/Materials/material.pure.js +128 -69
- package/Materials/pure.d.ts +1 -0
- package/Materials/pure.js +1 -0
- package/Materials/pure.js.map +1 -1
- package/Materials/standardMaterial.pure.js +6 -5
- package/Materials/standardMaterial.pure.js.map +1 -1
- package/Maths/math.color.pure.js +55 -47
- package/Maths/math.vector.pure.js +118 -242
- package/Meshes/GaussianSplatting/gaussianSplattingDebugger.d.ts +7 -0
- package/Meshes/GaussianSplatting/gaussianSplattingDebugger.js +8 -0
- package/Meshes/GaussianSplatting/gaussianSplattingDebugger.js.map +1 -0
- package/Meshes/GaussianSplatting/gaussianSplattingDebugger.pure.d.ts +147 -0
- package/Meshes/GaussianSplatting/gaussianSplattingDebugger.pure.js +257 -0
- package/Meshes/GaussianSplatting/gaussianSplattingDebugger.pure.js.map +1 -0
- package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.d.ts +11 -0
- package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.js +31 -0
- package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.js.map +1 -1
- package/Meshes/GaussianSplatting/pure.d.ts +1 -0
- package/Meshes/GaussianSplatting/pure.js +1 -0
- package/Meshes/GaussianSplatting/pure.js.map +1 -1
- package/Meshes/GreasedLine/greasedLineMesh.pure.js +9 -14
- package/Meshes/GreasedLine/greasedLineRibbonMesh.pure.js +26 -27
- package/Meshes/index.d.ts +1 -0
- package/Meshes/index.js +1 -0
- package/Meshes/index.js.map +1 -1
- package/Meshes/meshSimplification.common.d.ts +53 -0
- package/Meshes/meshSimplification.common.js +34 -0
- package/Meshes/meshSimplification.common.js.map +1 -0
- package/Meshes/meshSimplification.d.ts +3 -53
- package/Meshes/meshSimplification.js +1 -33
- package/Meshes/meshSimplification.js.map +1 -1
- package/Meshes/meshSimplificationSceneComponent.pure.js.map +1 -1
- package/Meshes/meshSimplificationSceneComponent.types.d.ts +2 -1
- package/Meshes/meshSimplificationSceneComponent.types.js.map +1 -1
- package/Meshes/pure.d.ts +1 -0
- package/Meshes/pure.js +1 -0
- package/Meshes/pure.js.map +1 -1
- package/Meshes/transformNode.pure.js +82 -44
- package/Misc/tools.pure.js +124 -186
- package/Misc/tools.pure.js.map +1 -1
- package/Physics/v1/physicsImpostor.pure.js +43 -37
- package/Shaders/ShadersInclude/gaussianSplatting.js +33 -10
- package/Shaders/ShadersInclude/gaussianSplatting.js.map +1 -1
- package/Shaders/gaussianSplatting.vertex.js +20 -1
- package/Shaders/gaussianSplatting.vertex.js.map +1 -1
- package/Shaders/picking.fragment.js +4 -1
- package/Shaders/picking.fragment.js.map +1 -1
- package/ShadersWGSL/ShadersInclude/gaussianSplatting.js +33 -10
- package/ShadersWGSL/ShadersInclude/gaussianSplatting.js.map +1 -1
- package/ShadersWGSL/gaussianSplatting.vertex.js +21 -2
- package/ShadersWGSL/gaussianSplatting.vertex.js.map +1 -1
- package/SmartAssets/index.d.ts +2 -2
- package/SmartAssets/index.js +2 -1
- package/SmartAssets/index.js.map +1 -1
- package/SmartAssets/pure.d.ts +1 -1
- package/SmartAssets/pure.js +2 -1
- package/SmartAssets/pure.js.map +1 -1
- package/SmartAssets/smartAssetManager.js +9 -0
- package/SmartAssets/smartAssetManager.js.map +1 -1
- package/package.json +3 -1
|
@@ -33,13 +33,3 @@ export * from "../../../../ShadersWGSL/ShadersInclude/shadowMapFragment.js";
|
|
|
33
33
|
export * from "../../../../Shaders/ShadersInclude/shadowMapVertexMetric.js";
|
|
34
34
|
export * from "../../../../Shaders/ShadersInclude/packingFunctions.js";
|
|
35
35
|
export * from "../../../../Shaders/ShadersInclude/shadowMapFragment.js";
|
|
36
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/imageProcessingCompatibility.js";
|
|
37
|
-
export * from "../../../../Shaders/ShadersInclude/imageProcessingCompatibility.js";
|
|
38
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/depthPrePass.js";
|
|
39
|
-
export * from "../../../../Shaders/ShadersInclude/depthPrePass.js";
|
|
40
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/logDepthDeclaration.js";
|
|
41
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/logDepthFragment.js";
|
|
42
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/logDepthVertex.js";
|
|
43
|
-
export * from "../../../../Shaders/ShadersInclude/logDepthDeclaration.js";
|
|
44
|
-
export * from "../../../../Shaders/ShadersInclude/logDepthFragment.js";
|
|
45
|
-
export * from "../../../../Shaders/ShadersInclude/logDepthVertex.js";
|
|
@@ -37,17 +37,4 @@ export * from "../../../../ShadersWGSL/ShadersInclude/shadowMapFragment.js";
|
|
|
37
37
|
export * from "../../../../Shaders/ShadersInclude/shadowMapVertexMetric.js";
|
|
38
38
|
export * from "../../../../Shaders/ShadersInclude/packingFunctions.js";
|
|
39
39
|
export * from "../../../../Shaders/ShadersInclude/shadowMapFragment.js";
|
|
40
|
-
// imageProcessingCompatibility
|
|
41
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/imageProcessingCompatibility.js";
|
|
42
|
-
export * from "../../../../Shaders/ShadersInclude/imageProcessingCompatibility.js";
|
|
43
|
-
// depthPrePass
|
|
44
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/depthPrePass.js";
|
|
45
|
-
export * from "../../../../Shaders/ShadersInclude/depthPrePass.js";
|
|
46
|
-
// logDepth
|
|
47
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/logDepthDeclaration.js";
|
|
48
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/logDepthFragment.js";
|
|
49
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/logDepthVertex.js";
|
|
50
|
-
export * from "../../../../Shaders/ShadersInclude/logDepthDeclaration.js";
|
|
51
|
-
export * from "../../../../Shaders/ShadersInclude/logDepthFragment.js";
|
|
52
|
-
export * from "../../../../Shaders/ShadersInclude/logDepthVertex.js";
|
|
53
40
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/Materials/Node/Blocks/Fragment/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AAExC,uBAAuB;AAEvB,uBAAuB;AACvB,cAAc,wDAAwD,CAAC;AACvE,cAAc,mEAAmE,CAAC;AAClF,cAAc,iEAAiE,CAAC;AAChF,cAAc,oDAAoD,CAAC;AACnE,cAAc,+DAA+D,CAAC;AAC9E,cAAc,6DAA6D,CAAC;AAE5E,qBAAqB;AACrB,cAAc,qDAAqD,CAAC;AACpE,cAAc,kEAAkE,CAAC;AACjF,cAAc,8DAA8D,CAAC;AAC7E,cAAc,iDAAiD,CAAC;AAChE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,0DAA0D,CAAC;AAEzE,iBAAiB;AACjB,cAAc,8DAA8D,CAAC;AAC7E,cAAc,yDAAyD,CAAC;AACxE,cAAc,0DAA0D,CAAC;AACzE,cAAc,0DAA0D,CAAC;AACzE,cAAc,qDAAqD,CAAC;AACpE,cAAc,sDAAsD,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/Materials/Node/Blocks/Fragment/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AAExC,uBAAuB;AAEvB,uBAAuB;AACvB,cAAc,wDAAwD,CAAC;AACvE,cAAc,mEAAmE,CAAC;AAClF,cAAc,iEAAiE,CAAC;AAChF,cAAc,oDAAoD,CAAC;AACnE,cAAc,+DAA+D,CAAC;AAC9E,cAAc,6DAA6D,CAAC;AAE5E,qBAAqB;AACrB,cAAc,qDAAqD,CAAC;AACpE,cAAc,kEAAkE,CAAC;AACjF,cAAc,8DAA8D,CAAC;AAC7E,cAAc,iDAAiD,CAAC;AAChE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,0DAA0D,CAAC;AAEzE,iBAAiB;AACjB,cAAc,8DAA8D,CAAC;AAC7E,cAAc,yDAAyD,CAAC;AACxE,cAAc,0DAA0D,CAAC;AACzE,cAAc,0DAA0D,CAAC;AACzE,cAAc,qDAAqD,CAAC;AACpE,cAAc,sDAAsD,CAAC","sourcesContent":["export * from \"./fragmentOutputBlock\";\r\nexport * from \"./smartFilterFragmentOutputBlock\";\r\nexport * from \"./imageProcessingBlock\";\r\nexport * from \"./perturbNormalBlock\";\r\nexport * from \"./discardBlock\";\r\nexport * from \"./frontFacingBlock\";\r\nexport * from \"./derivativeBlock\";\r\nexport * from \"./fragCoordBlock\";\r\nexport * from \"./screenSizeBlock\";\r\nexport * from \"./screenSpaceBlock\";\r\nexport * from \"./twirlBlock\";\r\nexport * from \"./TBNBlock\";\r\nexport * from \"./heightToNormalBlock\";\r\nexport * from \"./fragDepthBlock\";\r\nexport * from \"./shadowMapBlock\";\r\nexport * from \"./prePassOutputBlock\";\r\nexport * from \"./ambientOcclusionBlock\";\r\n\r\n// async-loaded shaders\r\n\r\n// imageProcessingBlock\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/helperFunctions\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/imageProcessingDeclaration\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/imageProcessingFunctions\";\r\nexport * from \"../../../../Shaders/ShadersInclude/helperFunctions\";\r\nexport * from \"../../../../Shaders/ShadersInclude/imageProcessingDeclaration\";\r\nexport * from \"../../../../Shaders/ShadersInclude/imageProcessingFunctions\";\r\n\r\n// perturbNormalBlock\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/bumpFragment\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/bumpFragmentMainFunctions\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/bumpFragmentFunctions\";\r\nexport * from \"../../../../Shaders/ShadersInclude/bumpFragment\";\r\nexport * from \"../../../../Shaders/ShadersInclude/bumpFragmentMainFunctions\";\r\nexport * from \"../../../../Shaders/ShadersInclude/bumpFragmentFunctions\";\r\n\r\n// shadowMapBlock\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/shadowMapVertexMetric\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/packingFunctions\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/shadowMapFragment\";\r\nexport * from \"../../../../Shaders/ShadersInclude/shadowMapVertexMetric\";\r\nexport * from \"../../../../Shaders/ShadersInclude/packingFunctions\";\r\nexport * from \"../../../../Shaders/ShadersInclude/shadowMapFragment\";\r\n"]}
|
|
@@ -2,4 +2,16 @@ export * from "./gaussianSplattingBlock.js";
|
|
|
2
2
|
export * from "./splatReaderBlock.js";
|
|
3
3
|
export * from "./gaussianBlock.js";
|
|
4
4
|
export * from "../../../../ShadersWGSL/ShadersInclude/gaussianSplattingVertexDeclaration.js";
|
|
5
|
+
export * from "../../../../ShadersWGSL/ShadersInclude/gaussianSplatting.js";
|
|
6
|
+
export * from "../../../../ShadersWGSL/ShadersInclude/helperFunctions.js";
|
|
5
7
|
export * from "../../../../Shaders/ShadersInclude/gaussianSplattingVertexDeclaration.js";
|
|
8
|
+
export * from "../../../../Shaders/ShadersInclude/gaussianSplatting.js";
|
|
9
|
+
export * from "../../../../Shaders/ShadersInclude/helperFunctions.js";
|
|
10
|
+
export * from "../../../../ShadersWGSL/ShadersInclude/clipPlaneFragmentDeclaration.js";
|
|
11
|
+
export * from "../../../../ShadersWGSL/ShadersInclude/logDepthDeclaration.js";
|
|
12
|
+
export * from "../../../../ShadersWGSL/ShadersInclude/fogFragmentDeclaration.js";
|
|
13
|
+
export * from "../../../../ShadersWGSL/ShadersInclude/gaussianSplattingFragmentDeclaration.js";
|
|
14
|
+
export * from "../../../../Shaders/ShadersInclude/clipPlaneFragmentDeclaration.js";
|
|
15
|
+
export * from "../../../../Shaders/ShadersInclude/logDepthDeclaration.js";
|
|
16
|
+
export * from "../../../../Shaders/ShadersInclude/fogFragmentDeclaration.js";
|
|
17
|
+
export * from "../../../../Shaders/ShadersInclude/gaussianSplattingFragmentDeclaration.js";
|
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
export * from "./gaussianSplattingBlock.js";
|
|
2
2
|
export * from "./splatReaderBlock.js";
|
|
3
3
|
export * from "./gaussianBlock.js";
|
|
4
|
-
//
|
|
4
|
+
// gaussianSplattingBlock / splatReaderBlock
|
|
5
5
|
export * from "../../../../ShadersWGSL/ShadersInclude/gaussianSplattingVertexDeclaration.js";
|
|
6
|
+
export * from "../../../../ShadersWGSL/ShadersInclude/gaussianSplatting.js";
|
|
7
|
+
export * from "../../../../ShadersWGSL/ShadersInclude/helperFunctions.js";
|
|
6
8
|
export * from "../../../../Shaders/ShadersInclude/gaussianSplattingVertexDeclaration.js";
|
|
9
|
+
export * from "../../../../Shaders/ShadersInclude/gaussianSplatting.js";
|
|
10
|
+
export * from "../../../../Shaders/ShadersInclude/helperFunctions.js";
|
|
11
|
+
// gaussianBlock
|
|
12
|
+
export * from "../../../../ShadersWGSL/ShadersInclude/clipPlaneFragmentDeclaration.js";
|
|
13
|
+
export * from "../../../../ShadersWGSL/ShadersInclude/logDepthDeclaration.js";
|
|
14
|
+
export * from "../../../../ShadersWGSL/ShadersInclude/fogFragmentDeclaration.js";
|
|
15
|
+
export * from "../../../../ShadersWGSL/ShadersInclude/gaussianSplattingFragmentDeclaration.js";
|
|
16
|
+
export * from "../../../../Shaders/ShadersInclude/clipPlaneFragmentDeclaration.js";
|
|
17
|
+
export * from "../../../../Shaders/ShadersInclude/logDepthDeclaration.js";
|
|
18
|
+
export * from "../../../../Shaders/ShadersInclude/fogFragmentDeclaration.js";
|
|
19
|
+
export * from "../../../../Shaders/ShadersInclude/gaussianSplattingFragmentDeclaration.js";
|
|
7
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/Materials/Node/Blocks/GaussianSplatting/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAEhC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/Materials/Node/Blocks/GaussianSplatting/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAEhC,4CAA4C;AAC5C,cAAc,2EAA2E,CAAC;AAC1F,cAAc,0DAA0D,CAAC;AACzE,cAAc,wDAAwD,CAAC;AACvE,cAAc,uEAAuE,CAAC;AACtF,cAAc,sDAAsD,CAAC;AACrE,cAAc,oDAAoD,CAAC;AAEnE,gBAAgB;AAChB,cAAc,qEAAqE,CAAC;AACpF,cAAc,4DAA4D,CAAC;AAC3E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,6EAA6E,CAAC;AAC5F,cAAc,iEAAiE,CAAC;AAChF,cAAc,wDAAwD,CAAC;AACvE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,yEAAyE,CAAC","sourcesContent":["export * from \"./gaussianSplattingBlock\";\r\nexport * from \"./splatReaderBlock\";\r\nexport * from \"./gaussianBlock\";\r\n\r\n// gaussianSplattingBlock / splatReaderBlock\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/gaussianSplattingVertexDeclaration\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/gaussianSplatting\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/helperFunctions\";\r\nexport * from \"../../../../Shaders/ShadersInclude/gaussianSplattingVertexDeclaration\";\r\nexport * from \"../../../../Shaders/ShadersInclude/gaussianSplatting\";\r\nexport * from \"../../../../Shaders/ShadersInclude/helperFunctions\";\r\n\r\n// gaussianBlock\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/clipPlaneFragmentDeclaration\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/logDepthDeclaration\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/fogFragmentDeclaration\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/gaussianSplattingFragmentDeclaration\";\r\nexport * from \"../../../../Shaders/ShadersInclude/clipPlaneFragmentDeclaration\";\r\nexport * from \"../../../../Shaders/ShadersInclude/logDepthDeclaration\";\r\nexport * from \"../../../../Shaders/ShadersInclude/fogFragmentDeclaration\";\r\nexport * from \"../../../../Shaders/ShadersInclude/gaussianSplattingFragmentDeclaration\";\r\n"]}
|
|
@@ -15,11 +15,3 @@ export * from "../../../../Shaders/ShadersInclude/morphTargetsVertex.js";
|
|
|
15
15
|
export * from "../../../../Shaders/ShadersInclude/morphTargetsVertexDeclaration.js";
|
|
16
16
|
export * from "../../../../Shaders/ShadersInclude/morphTargetsVertexGlobal.js";
|
|
17
17
|
export * from "../../../../Shaders/ShadersInclude/morphTargetsVertexGlobalDeclaration.js";
|
|
18
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/instancesDeclaration.js";
|
|
19
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/instancesVertex.js";
|
|
20
|
-
export * from "../../../../Shaders/ShadersInclude/instancesDeclaration.js";
|
|
21
|
-
export * from "../../../../Shaders/ShadersInclude/instancesVertex.js";
|
|
22
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/bakedVertexAnimation.js";
|
|
23
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/bakedVertexAnimationDeclaration.js";
|
|
24
|
-
export * from "../../../../Shaders/ShadersInclude/bakedVertexAnimation.js";
|
|
25
|
-
export * from "../../../../Shaders/ShadersInclude/bakedVertexAnimationDeclaration.js";
|
|
@@ -18,14 +18,4 @@ export * from "../../../../Shaders/ShadersInclude/morphTargetsVertex.js";
|
|
|
18
18
|
export * from "../../../../Shaders/ShadersInclude/morphTargetsVertexDeclaration.js";
|
|
19
19
|
export * from "../../../../Shaders/ShadersInclude/morphTargetsVertexGlobal.js";
|
|
20
20
|
export * from "../../../../Shaders/ShadersInclude/morphTargetsVertexGlobalDeclaration.js";
|
|
21
|
-
// instancesBlock
|
|
22
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/instancesDeclaration.js";
|
|
23
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/instancesVertex.js";
|
|
24
|
-
export * from "../../../../Shaders/ShadersInclude/instancesDeclaration.js";
|
|
25
|
-
export * from "../../../../Shaders/ShadersInclude/instancesVertex.js";
|
|
26
|
-
// bakedVertexAnimation
|
|
27
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/bakedVertexAnimation.js";
|
|
28
|
-
export * from "../../../../ShadersWGSL/ShadersInclude/bakedVertexAnimationDeclaration.js";
|
|
29
|
-
export * from "../../../../Shaders/ShadersInclude/bakedVertexAnimation.js";
|
|
30
|
-
export * from "../../../../Shaders/ShadersInclude/bakedVertexAnimationDeclaration.js";
|
|
31
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/Materials/Node/Blocks/Vertex/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AAExC,uBAAuB;AAEvB,aAAa;AACb,cAAc,yDAAyD,CAAC;AACxE,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,gDAAgD,CAAC;AAE/D,oBAAoB;AACpB,cAAc,2DAA2D,CAAC;AAC1E,cAAc,sEAAsE,CAAC;AACrF,cAAc,iEAAiE,CAAC;AAChF,cAAc,4EAA4E,CAAC;AAC3F,cAAc,uDAAuD,CAAC;AACtE,cAAc,kEAAkE,CAAC;AACjF,cAAc,6DAA6D,CAAC;AAC5E,cAAc,wEAAwE,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/Materials/Node/Blocks/Vertex/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AAExC,uBAAuB;AAEvB,aAAa;AACb,cAAc,yDAAyD,CAAC;AACxE,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,gDAAgD,CAAC;AAE/D,oBAAoB;AACpB,cAAc,2DAA2D,CAAC;AAC1E,cAAc,sEAAsE,CAAC;AACrF,cAAc,iEAAiE,CAAC;AAChF,cAAc,4EAA4E,CAAC;AAC3F,cAAc,uDAAuD,CAAC;AACtE,cAAc,kEAAkE,CAAC;AACjF,cAAc,6DAA6D,CAAC;AAC5E,cAAc,wEAAwE,CAAC","sourcesContent":["export * from \"./vertexOutputBlock\";\r\nexport * from \"./bonesBlock\";\r\nexport * from \"./instancesBlock\";\r\nexport * from \"./morphTargetsBlock\";\r\nexport * from \"./lightInformationBlock\";\r\n\r\n// async-loaded shaders\r\n\r\n// bonesBlock\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/bonesDeclaration\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/bonesVertex\";\r\nexport * from \"../../../../Shaders/ShadersInclude/bonesDeclaration\";\r\nexport * from \"../../../../Shaders/ShadersInclude/bonesVertex\";\r\n\r\n// morphTargetsBlock\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/morphTargetsVertex\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/morphTargetsVertexDeclaration\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/morphTargetsVertexGlobal\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/morphTargetsVertexGlobalDeclaration\";\r\nexport * from \"../../../../Shaders/ShadersInclude/morphTargetsVertex\";\r\nexport * from \"../../../../Shaders/ShadersInclude/morphTargetsVertexDeclaration\";\r\nexport * from \"../../../../Shaders/ShadersInclude/morphTargetsVertexGlobal\";\r\nexport * from \"../../../../Shaders/ShadersInclude/morphTargetsVertexGlobalDeclaration\";\r\n"]}
|
|
@@ -1567,6 +1567,7 @@ export class OpenPBRMaterial extends OpenPBRMaterialBase {
|
|
|
1567
1567
|
this.bindOnlyNormalMatrix(this._normalMatrix);
|
|
1568
1568
|
}
|
|
1569
1569
|
const mustRebind = this._mustRebind(scene, effect, subMesh, mesh.visibility);
|
|
1570
|
+
const needToAlwaysBindUniformBuffers = engine._features.needToAlwaysBindUniformBuffers;
|
|
1570
1571
|
// Bones
|
|
1571
1572
|
BindBonesParameters(mesh, this._activeEffect, this.prePassConfiguration);
|
|
1572
1573
|
// Vertex pulling
|
|
@@ -1682,15 +1683,15 @@ export class OpenPBRMaterial extends OpenPBRMaterialBase {
|
|
|
1682
1683
|
BindClipPlane(this._activeEffect, this, scene);
|
|
1683
1684
|
this.bindEyePosition(effect);
|
|
1684
1685
|
}
|
|
1685
|
-
else if (
|
|
1686
|
+
else if (needToAlwaysBindUniformBuffers) {
|
|
1686
1687
|
this._needToBindSceneUbo = true;
|
|
1687
1688
|
}
|
|
1688
1689
|
this.bindPropertiesForSubMesh(this._uniformBuffer, scene, scene.getEngine(), subMesh);
|
|
1690
|
+
// Lights
|
|
1691
|
+
if ((mustRebind || !this.isFrozen || needToAlwaysBindUniformBuffers) && scene.lightsEnabled && !this._disableLighting) {
|
|
1692
|
+
BindLights(scene, mesh, this._activeEffect, defines, this._maxSimultaneousLights);
|
|
1693
|
+
}
|
|
1689
1694
|
if (mustRebind || !this.isFrozen) {
|
|
1690
|
-
// Lights
|
|
1691
|
-
if (scene.lightsEnabled && !this._disableLighting) {
|
|
1692
|
-
BindLights(scene, mesh, this._activeEffect, defines, this._maxSimultaneousLights);
|
|
1693
|
-
}
|
|
1694
1695
|
// View
|
|
1695
1696
|
this.bindView(effect);
|
|
1696
1697
|
// Fog
|