@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.
Files changed (124) hide show
  1. package/Audio/audioSceneComponent.pure.js +17 -9
  2. package/Bones/bone.pure.js +39 -29
  3. package/Cameras/arcRotateCamera.pure.d.ts +0 -8
  4. package/Cameras/arcRotateCamera.pure.js +0 -12
  5. package/Cameras/arcRotateCamera.pure.js.map +1 -1
  6. package/Cameras/inputMapper.d.ts +29 -8
  7. package/Cameras/inputMapper.js +63 -10
  8. package/Cameras/inputMapper.js.map +1 -1
  9. package/Cameras/targetCamera.pure.js +40 -27
  10. package/Culling/Helper/transformFeedbackBoundingHelper.pure.js +17 -23
  11. package/Engines/abstractEngine.pure.js +11 -4
  12. package/Engines/abstractEngine.pure.js.map +1 -1
  13. package/Engines/engine.pure.d.ts +23 -0
  14. package/Engines/engine.pure.js +96 -1
  15. package/Engines/engine.pure.js.map +1 -1
  16. package/Engines/nativeEngine.pure.d.ts +4 -0
  17. package/Engines/nativeEngine.pure.js +6 -0
  18. package/Engines/nativeEngine.pure.js.map +1 -1
  19. package/Engines/thinEngine.pure.js +234 -280
  20. package/Engines/thinNativeEngine.pure.d.ts +21 -0
  21. package/Engines/thinNativeEngine.pure.js +119 -4
  22. package/Engines/thinNativeEngine.pure.js.map +1 -1
  23. package/Engines/webgpuEngine.pure.d.ts +21 -0
  24. package/Engines/webgpuEngine.pure.js +46 -1
  25. package/Engines/webgpuEngine.pure.js.map +1 -1
  26. package/Materials/Background/backgroundMaterial.pure.js +5 -4
  27. package/Materials/Background/backgroundMaterial.pure.js.map +1 -1
  28. package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.d.ts +5 -0
  29. package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.js +8 -0
  30. package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.js.map +1 -0
  31. package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.pure.d.ts +278 -0
  32. package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.pure.js +718 -0
  33. package/Materials/GaussianSplatting/gaussianSplattingDebugMaterialPlugin.pure.js.map +1 -0
  34. package/Materials/GaussianSplatting/pure.d.ts +1 -0
  35. package/Materials/GaussianSplatting/pure.js +1 -0
  36. package/Materials/GaussianSplatting/pure.js.map +1 -1
  37. package/Materials/Node/Blocks/Dual/imageSourceBlock.pure.js +10 -14
  38. package/Materials/Node/Blocks/Dual/index.d.ts +0 -14
  39. package/Materials/Node/Blocks/Dual/index.js +0 -18
  40. package/Materials/Node/Blocks/Dual/index.js.map +1 -1
  41. package/Materials/Node/Blocks/Dual/textureBlock.pure.js +660 -662
  42. package/Materials/Node/Blocks/Fragment/index.d.ts +0 -10
  43. package/Materials/Node/Blocks/Fragment/index.js +0 -13
  44. package/Materials/Node/Blocks/Fragment/index.js.map +1 -1
  45. package/Materials/Node/Blocks/GaussianSplatting/index.d.ts +12 -0
  46. package/Materials/Node/Blocks/GaussianSplatting/index.js +14 -1
  47. package/Materials/Node/Blocks/GaussianSplatting/index.js.map +1 -1
  48. package/Materials/Node/Blocks/Vertex/index.d.ts +0 -8
  49. package/Materials/Node/Blocks/Vertex/index.js +0 -10
  50. package/Materials/Node/Blocks/Vertex/index.js.map +1 -1
  51. package/Materials/PBR/openpbrMaterial.pure.js +6 -5
  52. package/Materials/PBR/openpbrMaterial.pure.js.map +1 -1
  53. package/Materials/PBR/pbrBaseMaterial.pure.js +6 -5
  54. package/Materials/PBR/pbrBaseMaterial.pure.js.map +1 -1
  55. package/Materials/Textures/index.d.ts +1 -0
  56. package/Materials/Textures/index.js +1 -0
  57. package/Materials/Textures/index.js.map +1 -1
  58. package/Materials/Textures/internalTexture.d.ts +11 -1
  59. package/Materials/Textures/internalTexture.js +23 -0
  60. package/Materials/Textures/internalTexture.js.map +1 -1
  61. package/Materials/Textures/texture.pure.js +157 -255
  62. package/Materials/index.d.ts +30 -0
  63. package/Materials/index.js +31 -0
  64. package/Materials/index.js.map +1 -1
  65. package/Materials/material.pure.js +128 -69
  66. package/Materials/pure.d.ts +1 -0
  67. package/Materials/pure.js +1 -0
  68. package/Materials/pure.js.map +1 -1
  69. package/Materials/standardMaterial.pure.js +6 -5
  70. package/Materials/standardMaterial.pure.js.map +1 -1
  71. package/Maths/math.color.pure.js +55 -47
  72. package/Maths/math.vector.pure.js +118 -242
  73. package/Meshes/GaussianSplatting/gaussianSplattingDebugger.d.ts +7 -0
  74. package/Meshes/GaussianSplatting/gaussianSplattingDebugger.js +8 -0
  75. package/Meshes/GaussianSplatting/gaussianSplattingDebugger.js.map +1 -0
  76. package/Meshes/GaussianSplatting/gaussianSplattingDebugger.pure.d.ts +147 -0
  77. package/Meshes/GaussianSplatting/gaussianSplattingDebugger.pure.js +257 -0
  78. package/Meshes/GaussianSplatting/gaussianSplattingDebugger.pure.js.map +1 -0
  79. package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.d.ts +11 -0
  80. package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.js +31 -0
  81. package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.pure.js.map +1 -1
  82. package/Meshes/GaussianSplatting/pure.d.ts +1 -0
  83. package/Meshes/GaussianSplatting/pure.js +1 -0
  84. package/Meshes/GaussianSplatting/pure.js.map +1 -1
  85. package/Meshes/GreasedLine/greasedLineMesh.pure.js +9 -14
  86. package/Meshes/GreasedLine/greasedLineRibbonMesh.pure.js +26 -27
  87. package/Meshes/index.d.ts +1 -0
  88. package/Meshes/index.js +1 -0
  89. package/Meshes/index.js.map +1 -1
  90. package/Meshes/meshSimplification.common.d.ts +53 -0
  91. package/Meshes/meshSimplification.common.js +34 -0
  92. package/Meshes/meshSimplification.common.js.map +1 -0
  93. package/Meshes/meshSimplification.d.ts +3 -53
  94. package/Meshes/meshSimplification.js +1 -33
  95. package/Meshes/meshSimplification.js.map +1 -1
  96. package/Meshes/meshSimplificationSceneComponent.pure.js.map +1 -1
  97. package/Meshes/meshSimplificationSceneComponent.types.d.ts +2 -1
  98. package/Meshes/meshSimplificationSceneComponent.types.js.map +1 -1
  99. package/Meshes/pure.d.ts +1 -0
  100. package/Meshes/pure.js +1 -0
  101. package/Meshes/pure.js.map +1 -1
  102. package/Meshes/transformNode.pure.js +82 -44
  103. package/Misc/tools.pure.js +124 -186
  104. package/Misc/tools.pure.js.map +1 -1
  105. package/Physics/v1/physicsImpostor.pure.js +43 -37
  106. package/Shaders/ShadersInclude/gaussianSplatting.js +33 -10
  107. package/Shaders/ShadersInclude/gaussianSplatting.js.map +1 -1
  108. package/Shaders/gaussianSplatting.vertex.js +20 -1
  109. package/Shaders/gaussianSplatting.vertex.js.map +1 -1
  110. package/Shaders/picking.fragment.js +4 -1
  111. package/Shaders/picking.fragment.js.map +1 -1
  112. package/ShadersWGSL/ShadersInclude/gaussianSplatting.js +33 -10
  113. package/ShadersWGSL/ShadersInclude/gaussianSplatting.js.map +1 -1
  114. package/ShadersWGSL/gaussianSplatting.vertex.js +21 -2
  115. package/ShadersWGSL/gaussianSplatting.vertex.js.map +1 -1
  116. package/SmartAssets/index.d.ts +2 -2
  117. package/SmartAssets/index.js +2 -1
  118. package/SmartAssets/index.js.map +1 -1
  119. package/SmartAssets/pure.d.ts +1 -1
  120. package/SmartAssets/pure.js +2 -1
  121. package/SmartAssets/pure.js.map +1 -1
  122. package/SmartAssets/smartAssetManager.js +9 -0
  123. package/SmartAssets/smartAssetManager.js.map +1 -1
  124. 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;AAErE,+BAA+B;AAC/B,cAAc,qEAAqE,CAAC;AACpF,cAAc,iEAAiE,CAAC;AAEhF,eAAe;AACf,cAAc,qDAAqD,CAAC;AACpE,cAAc,iDAAiD,CAAC;AAEhE,WAAW;AACX,cAAc,4DAA4D,CAAC;AAC3E,cAAc,yDAAyD,CAAC;AACxE,cAAc,uDAAuD,CAAC;AACtE,cAAc,wDAAwD,CAAC;AACvE,cAAc,qDAAqD,CAAC;AACpE,cAAc,mDAAmD,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\r\n// imageProcessingCompatibility\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/imageProcessingCompatibility\";\r\nexport * from \"../../../../Shaders/ShadersInclude/imageProcessingCompatibility\";\r\n\r\n// depthPrePass\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/depthPrePass\";\r\nexport * from \"../../../../Shaders/ShadersInclude/depthPrePass\";\r\n\r\n// logDepth\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/logDepthDeclaration\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/logDepthFragment\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/logDepthVertex\";\r\nexport * from \"../../../../Shaders/ShadersInclude/logDepthDeclaration\";\r\nexport * from \"../../../../Shaders/ShadersInclude/logDepthFragment\";\r\nexport * from \"../../../../Shaders/ShadersInclude/logDepthVertex\";\r\n"]}
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
- // Gaussian
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,WAAW;AACX,cAAc,2EAA2E,CAAC;AAC1F,cAAc,uEAAuE,CAAC","sourcesContent":["export * from \"./gaussianSplattingBlock\";\r\nexport * from \"./splatReaderBlock\";\r\nexport * from \"./gaussianBlock\";\r\n\r\n// Gaussian\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/gaussianSplattingVertexDeclaration\";\r\nexport * from \"../../../../Shaders/ShadersInclude/gaussianSplattingVertexDeclaration\";\r\n"]}
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;AAEvF,iBAAiB;AACjB,cAAc,6DAA6D,CAAC;AAC5E,cAAc,wDAAwD,CAAC;AACvE,cAAc,yDAAyD,CAAC;AACxE,cAAc,oDAAoD,CAAC;AAEnE,uBAAuB;AACvB,cAAc,6DAA6D,CAAC;AAC5E,cAAc,wEAAwE,CAAC;AACvF,cAAc,yDAAyD,CAAC;AACxE,cAAc,oEAAoE,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\r\n// instancesBlock\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/instancesDeclaration\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/instancesVertex\";\r\nexport * from \"../../../../Shaders/ShadersInclude/instancesDeclaration\";\r\nexport * from \"../../../../Shaders/ShadersInclude/instancesVertex\";\r\n\r\n// bakedVertexAnimation\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/bakedVertexAnimation\";\r\nexport * from \"../../../../ShadersWGSL/ShadersInclude/bakedVertexAnimationDeclaration\";\r\nexport * from \"../../../../Shaders/ShadersInclude/bakedVertexAnimation\";\r\nexport * from \"../../../../Shaders/ShadersInclude/bakedVertexAnimationDeclaration\";\r\n"]}
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 (scene.getEngine()._features.needToAlwaysBindUniformBuffers) {
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