super-three 0.170.1 → 0.172.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 (413) hide show
  1. package/README.md +1 -1
  2. package/build/three.cjs +157 -49
  3. package/build/three.core.js +104 -42
  4. package/build/three.core.min.js +1 -1
  5. package/build/three.module.js +53 -8
  6. package/build/three.module.min.js +1 -1
  7. package/build/three.tsl.js +10 -5
  8. package/build/three.tsl.min.js +1 -1
  9. package/build/three.webgpu.js +21191 -1008
  10. package/build/three.webgpu.min.js +1 -1
  11. package/build/three.webgpu.nodes.js +21189 -1008
  12. package/build/three.webgpu.nodes.min.js +1 -1
  13. package/examples/jsm/Addons.js +0 -5
  14. package/examples/jsm/animation/CCDIKSolver.js +3 -2
  15. package/examples/jsm/controls/ArcballControls.js +28 -19
  16. package/examples/jsm/controls/OrbitControls.js +5 -4
  17. package/examples/jsm/csm/CSMShadowNode.js +16 -11
  18. package/examples/jsm/curves/NURBSCurve.js +1 -1
  19. package/examples/jsm/curves/NURBSUtils.js +3 -0
  20. package/examples/jsm/effects/OutlineEffect.js +1 -1
  21. package/examples/jsm/exporters/GLTFExporter.js +11 -7
  22. package/examples/jsm/exporters/KTX2Exporter.js +1 -1
  23. package/examples/jsm/exporters/PLYExporter.js +2 -2
  24. package/examples/jsm/helpers/TextureHelperGPU.js +15 -5
  25. package/examples/jsm/helpers/VertexNormalsHelper.js +2 -0
  26. package/examples/jsm/lights/LightProbeGenerator.js +3 -3
  27. package/examples/jsm/lines/webgpu/LineSegments2.js +15 -6
  28. package/examples/jsm/loaders/3MFLoader.js +6 -3
  29. package/examples/jsm/loaders/BVHLoader.js +1 -1
  30. package/examples/jsm/loaders/ColladaLoader.js +5 -5
  31. package/examples/jsm/loaders/DDSLoader.js +42 -0
  32. package/examples/jsm/loaders/GCodeLoader.js +1 -1
  33. package/examples/jsm/loaders/GLTFLoader.js +22 -2
  34. package/examples/jsm/loaders/KTX2Loader.js +6 -1
  35. package/examples/jsm/loaders/KTXLoader.js +4 -4
  36. package/examples/jsm/loaders/LDrawLoader.js +1 -1
  37. package/examples/jsm/loaders/LottieLoader.js +1 -1
  38. package/examples/jsm/loaders/MTLLoader.js +1 -0
  39. package/examples/jsm/loaders/NRRDLoader.js +1 -1
  40. package/examples/jsm/loaders/PLYLoader.js +7 -7
  41. package/examples/jsm/loaders/PVRLoader.js +1 -1
  42. package/examples/jsm/loaders/SVGLoader.js +2 -2
  43. package/examples/jsm/loaders/TDSLoader.js +1 -1
  44. package/examples/jsm/loaders/VRMLLoader.js +7 -7
  45. package/examples/jsm/loaders/lwo/IFFParser.js +4 -4
  46. package/examples/jsm/materials/LDrawConditionalLineNodeMaterial.js +1 -1
  47. package/examples/jsm/math/ConvexHull.js +1 -1
  48. package/examples/jsm/math/OBB.js +17 -0
  49. package/examples/jsm/misc/ProgressiveLightMapGPU.js +10 -10
  50. package/examples/jsm/misc/Volume.js +20 -12
  51. package/examples/jsm/misc/VolumeSlice.js +2 -2
  52. package/examples/jsm/modifiers/CurveModifier.js +10 -8
  53. package/examples/jsm/modifiers/CurveModifierGPU.js +9 -7
  54. package/examples/jsm/modifiers/SimplifyModifier.js +2 -2
  55. package/examples/jsm/objects/GroundedSkybox.js +4 -4
  56. package/examples/jsm/objects/Sky.js +2 -2
  57. package/examples/jsm/objects/SkyMesh.js +3 -3
  58. package/examples/jsm/objects/Water2.js +1 -1
  59. package/examples/jsm/objects/Water2Mesh.js +2 -2
  60. package/examples/jsm/objects/WaterMesh.js +4 -4
  61. package/examples/jsm/postprocessing/BloomPass.js +2 -2
  62. package/examples/jsm/postprocessing/EffectComposer.js +1 -2
  63. package/examples/jsm/postprocessing/OutlinePass.js +4 -4
  64. package/examples/jsm/postprocessing/SAOPass.js +1 -2
  65. package/examples/jsm/postprocessing/SMAAPass.js +1 -3
  66. package/examples/jsm/postprocessing/SSAOPass.js +2 -4
  67. package/examples/jsm/postprocessing/SSRPass.js +2 -4
  68. package/examples/jsm/postprocessing/UnrealBloomPass.js +2 -2
  69. package/examples/jsm/renderers/SVGRenderer.js +6 -4
  70. package/examples/jsm/shaders/BokehShader2.js +1 -1
  71. package/examples/jsm/shaders/GodRaysShader.js +3 -3
  72. package/examples/jsm/shaders/SobelOperatorShader.js +1 -1
  73. package/examples/jsm/tsl/display/AfterImageNode.js +93 -4
  74. package/examples/jsm/tsl/display/AnaglyphPassNode.js +46 -2
  75. package/examples/jsm/tsl/display/AnamorphicNode.js +118 -5
  76. package/examples/jsm/tsl/display/BleachBypass.js +10 -0
  77. package/examples/jsm/tsl/display/BloomNode.js +233 -26
  78. package/examples/jsm/tsl/display/DenoiseNode.js +141 -25
  79. package/examples/jsm/tsl/display/DepthOfFieldNode.js +80 -1
  80. package/examples/jsm/tsl/display/DotScreenNode.js +50 -5
  81. package/examples/jsm/tsl/display/FXAANode.js +52 -3
  82. package/examples/jsm/tsl/display/FilmNode.js +47 -1
  83. package/examples/jsm/tsl/display/GTAONode.js +210 -14
  84. package/examples/jsm/tsl/display/GaussianBlurNode.js +152 -8
  85. package/examples/jsm/tsl/display/LensflareNode.js +131 -13
  86. package/examples/jsm/tsl/display/Lut3DNode.js +55 -1
  87. package/examples/jsm/tsl/display/MotionBlur.js +12 -2
  88. package/examples/jsm/tsl/display/OutlineNode.js +343 -26
  89. package/examples/jsm/tsl/display/ParallaxBarrierPassNode.js +36 -2
  90. package/examples/jsm/tsl/display/PixelationPassNode.js +142 -9
  91. package/examples/jsm/tsl/display/RGBShiftNode.js +49 -2
  92. package/examples/jsm/tsl/display/SMAANode.js +187 -46
  93. package/examples/jsm/tsl/display/SSAAPassNode.js +110 -25
  94. package/examples/jsm/tsl/display/SSRNode.js +194 -21
  95. package/examples/jsm/tsl/display/Sepia.js +9 -0
  96. package/examples/jsm/tsl/display/SobelOperatorNode.js +54 -4
  97. package/examples/jsm/tsl/display/StereoCompositePassNode.js +79 -3
  98. package/examples/jsm/tsl/display/StereoPassNode.js +41 -3
  99. package/examples/jsm/tsl/display/TRAAPassNode.js +116 -21
  100. package/examples/jsm/tsl/display/TransitionNode.js +71 -6
  101. package/examples/jsm/tsl/display/hashBlur.js +14 -3
  102. package/examples/jsm/tsl/lighting/TiledLightsNode.js +40 -34
  103. package/examples/jsm/utils/BufferGeometryUtils.js +1 -1
  104. package/examples/jsm/utils/CameraUtils.js +4 -1
  105. package/examples/jsm/utils/GeometryUtils.js +22 -19
  106. package/examples/jsm/utils/SceneUtils.js +2 -2
  107. package/examples/jsm/webxr/XRControllerModelFactory.js +6 -1
  108. package/examples/jsm/webxr/XREstimatedLight.js +1 -1
  109. package/package.json +8 -3
  110. package/src/Three.Core.js +2 -0
  111. package/src/Three.Legacy.js +0 -21
  112. package/src/Three.TSL.js +9 -4
  113. package/src/Three.WebGPU.Nodes.js +2 -2
  114. package/src/Three.WebGPU.js +2 -2
  115. package/src/animation/PropertyBinding.js +2 -2
  116. package/src/cameras/PerspectiveCamera.js +18 -2
  117. package/src/constants.js +1 -1
  118. package/src/core/RenderTarget.js +18 -0
  119. package/src/core/RenderTarget3D.js +22 -0
  120. package/src/core/RenderTargetArray.js +22 -0
  121. package/src/extras/Earcut.js +1 -1
  122. package/src/extras/PMREMGenerator.js +20 -0
  123. package/src/extras/TextureUtils.js +6 -0
  124. package/src/helpers/CameraHelper.js +16 -13
  125. package/src/loaders/nodes/NodeLoader.js +59 -0
  126. package/src/loaders/nodes/NodeMaterialLoader.js +45 -0
  127. package/src/loaders/nodes/NodeObjectLoader.js +61 -0
  128. package/src/materials/nodes/InstancedPointsNodeMaterial.js +72 -19
  129. package/src/materials/nodes/Line2NodeMaterial.js +128 -34
  130. package/src/materials/nodes/LineBasicNodeMaterial.js +17 -2
  131. package/src/materials/nodes/LineDashedNodeMaterial.js +78 -5
  132. package/src/materials/nodes/MeshBasicNodeMaterial.js +56 -0
  133. package/src/materials/nodes/MeshLambertNodeMaterial.js +35 -0
  134. package/src/materials/nodes/MeshMatcapNodeMaterial.js +22 -2
  135. package/src/materials/nodes/MeshNormalNodeMaterial.js +21 -2
  136. package/src/materials/nodes/MeshPhongNodeMaterial.js +64 -1
  137. package/src/materials/nodes/MeshPhysicalNodeMaterial.js +269 -0
  138. package/src/materials/nodes/MeshSSSNodeMaterial.js +97 -6
  139. package/src/materials/nodes/MeshStandardNodeMaterial.js +78 -0
  140. package/src/materials/nodes/MeshToonNodeMaterial.js +28 -0
  141. package/src/materials/nodes/NodeMaterial.js +474 -21
  142. package/src/materials/nodes/PointsNodeMaterial.js +22 -13
  143. package/src/materials/nodes/ShadowNodeMaterial.js +29 -0
  144. package/src/materials/nodes/SpriteNodeMaterial.js +77 -19
  145. package/src/materials/nodes/VolumeNodeMaterial.js +80 -4
  146. package/src/materials/nodes/manager/NodeMaterialObserver.js +87 -0
  147. package/src/nodes/Nodes.js +1 -6
  148. package/src/nodes/TSL.js +2 -3
  149. package/src/nodes/accessors/AccessorsUtils.js +27 -0
  150. package/src/nodes/accessors/Arrays.js +24 -5
  151. package/src/nodes/accessors/BatchNode.js +39 -3
  152. package/src/nodes/accessors/Bitangent.js +37 -0
  153. package/src/nodes/accessors/BufferAttributeNode.js +178 -5
  154. package/src/nodes/accessors/BufferNode.js +63 -0
  155. package/src/nodes/accessors/BuiltinNode.js +38 -0
  156. package/src/nodes/accessors/Camera.js +49 -0
  157. package/src/nodes/accessors/ClippingNode.js +71 -2
  158. package/src/nodes/accessors/CubeTextureNode.js +64 -0
  159. package/src/nodes/accessors/InstanceNode.js +85 -2
  160. package/src/nodes/accessors/InstancedMeshNode.js +28 -3
  161. package/src/nodes/accessors/InstancedPointsMaterialNode.js +13 -0
  162. package/src/nodes/accessors/Lights.js +50 -1
  163. package/src/nodes/accessors/MaterialNode.js +302 -8
  164. package/src/nodes/accessors/MaterialProperties.js +7 -0
  165. package/src/nodes/accessors/MaterialReferenceNode.js +53 -13
  166. package/src/nodes/accessors/ModelNode.js +100 -5
  167. package/src/nodes/accessors/ModelViewProjectionNode.js +10 -38
  168. package/src/nodes/accessors/MorphNode.js +48 -4
  169. package/src/nodes/accessors/Normal.js +59 -3
  170. package/src/nodes/accessors/Object3DNode.js +102 -1
  171. package/src/nodes/accessors/PointUVNode.js +26 -0
  172. package/src/nodes/accessors/Position.js +53 -4
  173. package/src/nodes/accessors/ReferenceBaseNode.js +188 -0
  174. package/src/nodes/accessors/ReferenceNode.js +202 -2
  175. package/src/nodes/accessors/ReflectVector.js +24 -0
  176. package/src/nodes/accessors/RendererReferenceNode.js +46 -1
  177. package/src/nodes/accessors/SceneNode.js +54 -0
  178. package/src/nodes/accessors/SkinningNode.js +127 -1
  179. package/src/nodes/accessors/StorageBufferNode.js +168 -4
  180. package/src/nodes/accessors/StorageTextureNode.js +118 -0
  181. package/src/nodes/accessors/Tangent.js +36 -0
  182. package/src/nodes/accessors/Texture3DNode.js +89 -5
  183. package/src/nodes/accessors/TextureBicubic.js +12 -2
  184. package/src/nodes/accessors/TextureNode.js +309 -10
  185. package/src/nodes/accessors/TextureSizeNode.js +42 -0
  186. package/src/nodes/accessors/UV.js +10 -1
  187. package/src/nodes/accessors/UniformArrayNode.js +223 -23
  188. package/src/nodes/accessors/UserDataNode.js +46 -0
  189. package/src/nodes/accessors/VelocityNode.js +82 -0
  190. package/src/nodes/accessors/VertexColorNode.js +39 -2
  191. package/src/nodes/code/CodeNode.js +95 -1
  192. package/src/nodes/code/ExpressionNode.js +28 -0
  193. package/src/nodes/code/FunctionCallNode.js +37 -0
  194. package/src/nodes/code/FunctionNode.js +45 -0
  195. package/src/nodes/code/ScriptableNode.js +223 -1
  196. package/src/nodes/code/ScriptableValueNode.js +85 -1
  197. package/src/nodes/core/AssignNode.js +48 -2
  198. package/src/nodes/core/AttributeNode.js +43 -0
  199. package/src/nodes/core/BypassNode.js +47 -2
  200. package/src/nodes/core/CacheNode.js +53 -2
  201. package/src/nodes/core/ConstNode.js +24 -0
  202. package/src/nodes/core/ContextNode.js +65 -0
  203. package/src/nodes/core/IndexNode.js +68 -7
  204. package/src/nodes/core/InputNode.js +48 -0
  205. package/src/nodes/core/LightingModel.js +60 -0
  206. package/src/nodes/core/MRTNode.js +66 -0
  207. package/src/nodes/core/Node.js +337 -12
  208. package/src/nodes/core/NodeAttribute.js +38 -0
  209. package/src/nodes/core/NodeBuilder.js +945 -15
  210. package/src/nodes/core/NodeCache.js +41 -2
  211. package/src/nodes/core/NodeCode.js +31 -0
  212. package/src/nodes/core/NodeFrame.js +123 -2
  213. package/src/nodes/core/NodeFunction.js +46 -0
  214. package/src/nodes/core/NodeFunctionInput.js +44 -0
  215. package/src/nodes/core/NodeParser.js +11 -0
  216. package/src/nodes/core/NodeUniform.js +52 -0
  217. package/src/nodes/core/NodeUtils.js +141 -0
  218. package/src/nodes/core/NodeVar.js +30 -0
  219. package/src/nodes/core/NodeVarying.js +28 -0
  220. package/src/nodes/core/OutputStructNode.js +33 -2
  221. package/src/nodes/core/ParameterNode.js +28 -0
  222. package/src/nodes/core/PropertyNode.js +232 -0
  223. package/src/nodes/core/StackNode.js +78 -0
  224. package/src/nodes/core/StructTypeNode.js +39 -1
  225. package/src/nodes/core/TempNode.js +30 -4
  226. package/src/nodes/core/UniformGroupNode.js +82 -7
  227. package/src/nodes/core/UniformNode.js +66 -0
  228. package/src/nodes/core/VarNode.js +52 -0
  229. package/src/nodes/core/VaryingNode.js +83 -2
  230. package/src/nodes/core/constants.js +36 -0
  231. package/src/nodes/display/BumpMapNode.js +37 -0
  232. package/src/nodes/display/ColorAdjustment.js +53 -11
  233. package/src/nodes/display/ColorSpaceFunctions.js +16 -0
  234. package/src/nodes/display/ColorSpaceNode.js +82 -0
  235. package/src/nodes/display/FrontFacingNode.js +29 -0
  236. package/src/nodes/display/NormalMapNode.js +43 -0
  237. package/src/nodes/display/PassNode.js +298 -7
  238. package/src/nodes/display/PosterizeNode.js +33 -0
  239. package/src/nodes/display/RenderOutputNode.js +66 -1
  240. package/src/nodes/display/ScreenNode.js +87 -0
  241. package/src/nodes/display/ToneMappingFunctions.js +58 -10
  242. package/src/nodes/display/ToneMappingNode.js +55 -2
  243. package/src/nodes/display/ToonOutlinePassNode.js +73 -0
  244. package/src/nodes/display/ViewportDepthNode.js +122 -8
  245. package/src/nodes/display/ViewportDepthTextureNode.js +23 -0
  246. package/src/nodes/display/ViewportSharedTextureNode.js +23 -0
  247. package/src/nodes/display/ViewportTextureNode.js +57 -0
  248. package/src/nodes/fog/Fog.js +93 -0
  249. package/src/nodes/functions/BasicLightingModel.js +24 -0
  250. package/src/nodes/functions/PhongLightingModel.js +34 -2
  251. package/src/nodes/functions/PhysicalLightingModel.js +167 -8
  252. package/src/nodes/functions/ShadowMaskModel.js +23 -0
  253. package/src/nodes/functions/ToonLightingModel.js +20 -0
  254. package/src/nodes/functions/material/getAlphaHashThreshold.js +1 -3
  255. package/src/nodes/functions/material/getParallaxCorrectNormal.js +16 -1
  256. package/src/nodes/geometry/RangeNode.js +54 -2
  257. package/src/nodes/gpgpu/AtomicFunctionNode.js +157 -1
  258. package/src/nodes/gpgpu/BarrierNode.js +47 -0
  259. package/src/nodes/gpgpu/ComputeBuiltinNode.js +126 -0
  260. package/src/nodes/gpgpu/ComputeNode.js +106 -2
  261. package/src/nodes/gpgpu/WorkgroupInfoNode.js +115 -6
  262. package/src/nodes/lighting/AONode.js +18 -0
  263. package/src/nodes/lighting/AmbientLightNode.js +10 -0
  264. package/src/nodes/lighting/AnalyticLightNode.js +97 -2
  265. package/src/nodes/lighting/BasicEnvironmentNode.js +19 -0
  266. package/src/nodes/lighting/BasicLightMapNode.js +17 -0
  267. package/src/nodes/lighting/DirectionalLightNode.js +10 -0
  268. package/src/nodes/lighting/EnvironmentNode.js +18 -0
  269. package/src/nodes/lighting/HemisphereLightNode.js +31 -0
  270. package/src/nodes/lighting/IESSpotLightNode.js +11 -0
  271. package/src/nodes/lighting/IrradianceNode.js +17 -0
  272. package/src/nodes/lighting/LightProbeNode.js +20 -0
  273. package/src/nodes/lighting/LightUtils.js +12 -0
  274. package/src/nodes/lighting/LightingContextNode.js +48 -0
  275. package/src/nodes/lighting/LightingNode.js +15 -6
  276. package/src/nodes/lighting/LightsNode.js +132 -1
  277. package/src/nodes/lighting/PointLightNode.js +32 -1
  278. package/src/nodes/lighting/PointShadowNode.js +54 -1
  279. package/src/nodes/lighting/RectAreaLightNode.js +44 -6
  280. package/src/nodes/lighting/ShadowBaseNode.js +93 -0
  281. package/src/nodes/lighting/ShadowNode.js +240 -34
  282. package/src/nodes/lighting/SpotLightNode.js +43 -0
  283. package/src/nodes/math/ConditionalNode.js +70 -3
  284. package/src/nodes/math/Hash.js +9 -0
  285. package/src/nodes/math/MathNode.js +614 -11
  286. package/src/nodes/math/MathUtils.js +45 -1
  287. package/src/nodes/math/OperatorNode.js +233 -0
  288. package/src/nodes/math/TriNoise3D.js +18 -7
  289. package/src/nodes/parsers/GLSLNodeFunction.js +16 -0
  290. package/src/nodes/parsers/GLSLNodeParser.js +11 -0
  291. package/src/nodes/pmrem/PMREMNode.js +133 -0
  292. package/src/nodes/pmrem/PMREMUtils.js +1 -1
  293. package/src/nodes/procedural/Checker.js +9 -0
  294. package/src/nodes/tsl/TSLBase.js +2 -2
  295. package/src/nodes/utils/ArrayElementNode.js +38 -2
  296. package/src/nodes/utils/ConvertNode.js +31 -0
  297. package/src/nodes/utils/CubeMapNode.js +78 -0
  298. package/src/nodes/utils/Discard.js +16 -0
  299. package/src/nodes/utils/EquirectUVNode.js +31 -1
  300. package/src/nodes/utils/FlipNode.js +38 -0
  301. package/src/nodes/utils/FunctionOverloadingNode.js +53 -1
  302. package/src/nodes/utils/JoinNode.js +25 -0
  303. package/src/nodes/utils/LoopNode.js +74 -1
  304. package/src/nodes/utils/MatcapUVNode.js +17 -0
  305. package/src/nodes/utils/MaxMipLevelNode.js +49 -0
  306. package/src/nodes/utils/Oscillators.js +33 -0
  307. package/src/nodes/utils/Packing.js +17 -0
  308. package/src/nodes/utils/PostProcessingUtils.js +28 -23
  309. package/src/nodes/utils/RTTNode.js +123 -2
  310. package/src/nodes/utils/ReflectorNode.js +174 -4
  311. package/src/nodes/utils/RemapNode.js +79 -0
  312. package/src/nodes/utils/RotateNode.js +41 -0
  313. package/src/nodes/utils/SetNode.js +44 -1
  314. package/src/nodes/utils/SplitNode.js +55 -3
  315. package/src/nodes/utils/SpriteSheetUVNode.js +46 -0
  316. package/src/nodes/utils/SpriteUtils.js +17 -0
  317. package/src/nodes/utils/StorageArrayElementNode.js +40 -0
  318. package/src/nodes/utils/Timer.js +19 -0
  319. package/src/nodes/utils/TriplanarTexturesNode.js +84 -0
  320. package/src/nodes/utils/UVUtils.js +20 -0
  321. package/src/nodes/utils/ViewportUtils.js +13 -0
  322. package/src/objects/BatchedMesh.js +1 -2
  323. package/src/objects/ClippingGroup.js +49 -0
  324. package/src/renderers/WebGLRenderer.js +23 -4
  325. package/src/renderers/common/Animation.js +63 -0
  326. package/src/renderers/common/Attributes.js +36 -0
  327. package/src/renderers/common/Backend.js +467 -52
  328. package/src/renderers/common/Background.js +34 -1
  329. package/src/renderers/common/BindGroup.js +43 -0
  330. package/src/renderers/common/Binding.js +35 -0
  331. package/src/renderers/common/Bindings.js +93 -1
  332. package/src/renderers/common/Buffer.js +49 -0
  333. package/src/renderers/common/BufferUtils.js +27 -0
  334. package/src/renderers/common/BundleGroup.js +57 -0
  335. package/src/renderers/common/ChainMap.js +38 -1
  336. package/src/renderers/common/ClippingContext.js +107 -14
  337. package/src/renderers/common/Color4.js +36 -0
  338. package/src/renderers/common/ComputePipeline.js +24 -0
  339. package/src/renderers/common/CubeRenderTarget.js +13 -0
  340. package/src/renderers/common/DataMap.js +37 -1
  341. package/src/renderers/common/Geometries.js +98 -0
  342. package/src/renderers/common/IndirectStorageBufferAttribute.js +25 -2
  343. package/src/renderers/common/Info.js +87 -0
  344. package/src/renderers/common/Lighting.js +26 -0
  345. package/src/renderers/common/Pipeline.js +22 -0
  346. package/src/renderers/common/Pipelines.js +148 -5
  347. package/src/renderers/common/PostProcessing.js +75 -3
  348. package/src/renderers/common/ProgrammableStage.js +60 -2
  349. package/src/renderers/common/QuadMesh.js +54 -5
  350. package/src/renderers/common/RenderBundle.js +14 -8
  351. package/src/renderers/common/RenderBundles.js +33 -10
  352. package/src/renderers/common/RenderContext.js +169 -4
  353. package/src/renderers/common/RenderContexts.js +42 -2
  354. package/src/renderers/common/RenderList.js +178 -0
  355. package/src/renderers/common/RenderLists.js +31 -0
  356. package/src/renderers/common/RenderObject.js +328 -4
  357. package/src/renderers/common/RenderObjects.js +101 -7
  358. package/src/renderers/common/RenderPipeline.js +24 -0
  359. package/src/renderers/common/Renderer.js +1096 -31
  360. package/src/renderers/common/RendererUtils.js +193 -0
  361. package/src/renderers/common/SampledTexture.js +121 -0
  362. package/src/renderers/common/Sampler.js +30 -0
  363. package/src/renderers/common/StorageBuffer.js +24 -0
  364. package/src/renderers/common/StorageBufferAttribute.js +31 -2
  365. package/src/renderers/common/StorageInstancedBufferAttribute.js +31 -2
  366. package/src/renderers/common/StorageTexture.js +38 -0
  367. package/src/renderers/common/Textures.js +83 -0
  368. package/src/renderers/common/Uniform.js +188 -2
  369. package/src/renderers/common/UniformBuffer.js +19 -0
  370. package/src/renderers/common/UniformsGroup.js +139 -2
  371. package/src/renderers/common/extras/PMREMGenerator.js +24 -3
  372. package/src/renderers/common/nodes/NodeBuilderState.js +95 -1
  373. package/src/renderers/common/nodes/NodeLibrary.js +89 -0
  374. package/src/renderers/common/nodes/NodeSampledTexture.js +91 -2
  375. package/src/renderers/common/nodes/NodeSampler.js +28 -0
  376. package/src/renderers/common/nodes/NodeStorageBuffer.js +35 -0
  377. package/src/renderers/common/nodes/NodeUniform.js +189 -0
  378. package/src/renderers/common/nodes/NodeUniformBuffer.js +29 -0
  379. package/src/renderers/common/nodes/NodeUniformsGroup.js +31 -18
  380. package/src/renderers/common/nodes/Nodes.js +327 -60
  381. package/src/renderers/shaders/ShaderChunk/lights_physical_pars_fragment.glsl.js +2 -2
  382. package/src/renderers/shaders/ShaderChunk/transmission_pars_fragment.glsl.js +7 -7
  383. package/src/renderers/webgl-fallback/WebGLBackend.js +547 -29
  384. package/src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js +0 -1
  385. package/src/renderers/webgl-fallback/utils/WebGLAttributeUtils.js +1 -1
  386. package/src/renderers/webgl-fallback/utils/WebGLTextureUtils.js +1 -1
  387. package/src/renderers/webgpu/WebGPUBackend.js +480 -49
  388. package/src/renderers/webgpu/WebGPURenderer.Nodes.js +34 -0
  389. package/src/renderers/webgpu/WebGPURenderer.js +35 -0
  390. package/src/renderers/webgpu/nodes/BasicNodeLibrary.js +20 -8
  391. package/src/renderers/webgpu/nodes/StandardNodeLibrary.js +21 -8
  392. package/src/renderers/webgpu/nodes/WGSLNodeBuilder.js +59 -11
  393. package/src/renderers/webgpu/nodes/WGSLNodeFunction.js +17 -0
  394. package/src/renderers/webgpu/nodes/WGSLNodeParser.js +11 -0
  395. package/src/renderers/webgpu/utils/WebGPUAttributeUtils.js +10 -8
  396. package/src/renderers/webgpu/utils/WebGPUBindingUtils.js +9 -1
  397. package/src/renderers/webgpu/utils/WebGPUTextureUtils.js +5 -9
  398. package/src/renderers/webgpu/utils/WebGPUUtils.js +30 -0
  399. package/src/renderers/webxr/WebXRDepthSensing.js +1 -1
  400. package/src/renderers/webxr/WebXRManager.js +7 -1
  401. package/src/textures/Data3DTexture.js +2 -2
  402. package/src/textures/Texture.js +4 -0
  403. package/examples/jsm/animation/MMDAnimationHelper.js +0 -1209
  404. package/examples/jsm/animation/MMDPhysics.js +0 -1408
  405. package/examples/jsm/exporters/MMDExporter.js +0 -223
  406. package/examples/jsm/libs/mmdparser.module.js +0 -11530
  407. package/examples/jsm/loaders/MMDLoader.js +0 -2298
  408. package/examples/jsm/shaders/MMDToonShader.js +0 -134
  409. package/src/nodes/core/UniformGroup.js +0 -13
  410. package/src/nodes/fog/FogExp2Node.js +0 -35
  411. package/src/nodes/fog/FogNode.js +0 -50
  412. package/src/nodes/fog/FogRangeNode.js +0 -36
  413. package/src/renderers/common/PostProcessingUtils.js +0 -86
@@ -38,7 +38,6 @@ const abs = TSL.abs;
38
38
  const acesFilmicToneMapping = TSL.acesFilmicToneMapping;
39
39
  const acos = TSL.acos;
40
40
  const add = TSL.add;
41
- const addMethodChaining = TSL.addMethodChaining;
42
41
  const addNodeElement = TSL.addNodeElement;
43
42
  const agxToneMapping = TSL.agxToneMapping;
44
43
  const all = TSL.all;
@@ -136,6 +135,7 @@ const defined = TSL.defined;
136
135
  const degrees = TSL.degrees;
137
136
  const deltaTime = TSL.deltaTime;
138
137
  const densityFog = TSL.densityFog;
138
+ const densityFogFactor = TSL.densityFogFactor;
139
139
  const depth = TSL.depth;
140
140
  const depthPass = TSL.depthPass;
141
141
  const difference = TSL.difference;
@@ -159,6 +159,7 @@ const exp2 = TSL.exp2;
159
159
  const expression = TSL.expression;
160
160
  const faceDirection = TSL.faceDirection;
161
161
  const faceForward = TSL.faceForward;
162
+ const faceforward = TSL.faceforward;
162
163
  const float = TSL.float;
163
164
  const floor = TSL.floor;
164
165
  const fog = TSL.fog;
@@ -187,8 +188,8 @@ const grayscale = TSL.grayscale;
187
188
  const greaterThan = TSL.greaterThan;
188
189
  const greaterThanEqual = TSL.greaterThanEqual;
189
190
  const hash = TSL.hash;
190
- const highPrecisionModelNormalViewMatrix = TSL.highPrecisionModelNormalViewMatrix;
191
- const highPrecisionModelViewMatrix = TSL.highPrecisionModelViewMatrix;
191
+ const highpModelNormalViewMatrix = TSL.highpModelNormalViewMatrix;
192
+ const highpModelViewMatrix = TSL.highpModelViewMatrix;
192
193
  const hue = TSL.hue;
193
194
  const instance = TSL.instance;
194
195
  const instanceIndex = TSL.instanceIndex;
@@ -198,6 +199,7 @@ const instancedDynamicBufferAttribute = TSL.instancedDynamicBufferAttribute;
198
199
  const instancedMesh = TSL.instancedMesh;
199
200
  const int = TSL.int;
200
201
  const inverseSqrt = TSL.inverseSqrt;
202
+ const inversesqrt = TSL.inversesqrt;
201
203
  const invocationLocalIndex = TSL.invocationLocalIndex;
202
204
  const invocationSubgroupIndex = TSL.invocationSubgroupIndex;
203
205
  const ior = TSL.ior;
@@ -227,11 +229,12 @@ const log2 = TSL.log2;
227
229
  const logarithmicDepthToViewZ = TSL.logarithmicDepthToViewZ;
228
230
  const loop = TSL.loop;
229
231
  const luminance = TSL.luminance;
232
+ const mediumpModelViewMatrix = TSL.mediumpModelViewMatrix;
230
233
  const mat2 = TSL.mat2;
231
234
  const mat3 = TSL.mat3;
232
235
  const mat4 = TSL.mat4;
233
236
  const matcapUV = TSL.matcapUV;
234
- const materialAOMap = TSL.materialAOMap;
237
+ const materialAO = TSL.materialAO;
235
238
  const materialAlphaTest = TSL.materialAlphaTest;
236
239
  const materialAnisotropy = TSL.materialAnisotropy;
237
240
  const materialAnisotropyVector = TSL.materialAnisotropyVector;
@@ -375,6 +378,7 @@ const radians = TSL.radians;
375
378
  const rand = TSL.rand;
376
379
  const range = TSL.range;
377
380
  const rangeFog = TSL.rangeFog;
381
+ const rangeFogFactor = TSL.rangeFogFactor;
378
382
  const reciprocal = TSL.reciprocal;
379
383
  const reference = TSL.reference;
380
384
  const referenceBuffer = TSL.referenceBuffer;
@@ -412,6 +416,7 @@ const select = TSL.select;
412
416
  const setCurrentStack = TSL.setCurrentStack;
413
417
  const shaderStages = TSL.shaderStages;
414
418
  const shadow = TSL.shadow;
419
+ const shadowPositionWorld = TSL.shadowPositionWorld;
415
420
  const sharedUniformGroup = TSL.sharedUniformGroup;
416
421
  const sheen = TSL.sheen;
417
422
  const sheenRoughness = TSL.sheenRoughness;
@@ -530,4 +535,4 @@ const workgroupId = TSL.workgroupId;
530
535
  const workingToColorSpace = TSL.workingToColorSpace;
531
536
  const xor = TSL.xor;
532
537
 
533
- export { BRDF_GGX, BRDF_Lambert, BasicShadowFilter, Break, Continue, DFGApprox, D_GGX, Discard, EPSILON, F_Schlick, Fn, INFINITY, If, Loop, NodeAccess, NodeShaderStage, NodeType, NodeUpdateType, PCFShadowFilter, PCFSoftShadowFilter, PI, PI2, Return, Schlick_to_F0, ScriptableNodeResources, ShaderNode, TBNViewMatrix, VSMShadowFilter, V_GGX_SmithCorrelated, abs, acesFilmicToneMapping, acos, add, addMethodChaining, addNodeElement, agxToneMapping, all, alphaT, and, anisotropy, anisotropyB, anisotropyT, any, append, arrayBuffer, asin, assign, atan, atan2, atomicAdd, atomicAnd, atomicFunc, atomicMax, atomicMin, atomicOr, atomicStore, atomicSub, atomicXor, attenuationColor, attenuationDistance, attribute, attributeArray, backgroundBlurriness, backgroundIntensity, backgroundRotation, batch, billboarding, bitAnd, bitNot, bitOr, bitXor, bitangentGeometry, bitangentLocal, bitangentView, bitangentWorld, bitcast, blendBurn, blendColor, blendDodge, blendOverlay, blendScreen, blur, bool, buffer, bufferAttribute, bumpMap, burn, bvec2, bvec3, bvec4, bypass, cache, call, cameraFar, cameraNear, cameraNormalMatrix, cameraPosition, cameraProjectionMatrix, cameraProjectionMatrixInverse, cameraViewMatrix, cameraWorldMatrix, cbrt, cdl, ceil, checker, cineonToneMapping, clamp, clearcoat, clearcoatRoughness, code, color, colorSpaceToWorking, colorToDirection, compute, cond, context, convert, convertColorSpace, convertToTexture, cos, cross, cubeTexture, dFdx, dFdy, dashSize, defaultBuildStages, defaultShaderStages, defined, degrees, deltaTime, densityFog, depth, depthPass, difference, diffuseColor, directPointLight, directionToColor, dispersion, distance, div, dodge, dot, drawIndex, dynamicBufferAttribute, element, emissive, equal, equals, equirectUV, exp, exp2, expression, faceDirection, faceForward, float, floor, fog, fract, frameGroup, frameId, frontFacing, fwidth, gain, gapSize, getConstNodeType, getCurrentStack, getDirection, getDistanceAttenuation, getGeometryRoughness, getNormalFromDepth, getParallaxCorrectNormal, getRoughness, getScreenPosition, getShIrradianceAt, getTextureIndex, getViewPosition, glsl, glslFn, grayscale, greaterThan, greaterThanEqual, hash, highPrecisionModelNormalViewMatrix, highPrecisionModelViewMatrix, hue, instance, instanceIndex, instancedArray, instancedBufferAttribute, instancedDynamicBufferAttribute, instancedMesh, int, inverseSqrt, invocationLocalIndex, invocationSubgroupIndex, ior, iridescence, iridescenceIOR, iridescenceThickness, ivec2, ivec3, ivec4, js, label, length, lengthSq, lessThan, lessThanEqual, lightPosition, lightTargetDirection, lightTargetPosition, lightViewPosition, lightingContext, lights, linearDepth, linearToneMapping, localId, log, log2, logarithmicDepthToViewZ, loop, luminance, mat2, mat3, mat4, matcapUV, materialAOMap, materialAlphaTest, materialAnisotropy, materialAnisotropyVector, materialAttenuationColor, materialAttenuationDistance, materialClearcoat, materialClearcoatNormal, materialClearcoatRoughness, materialColor, materialDispersion, materialEmissive, materialIOR, materialIridescence, materialIridescenceIOR, materialIridescenceThickness, materialLightMap, materialLineDashOffset, materialLineDashSize, materialLineGapSize, materialLineScale, materialLineWidth, materialMetalness, materialNormal, materialOpacity, materialPointWidth, materialReference, materialReflectivity, materialRefractionRatio, materialRotation, materialRoughness, materialSheen, materialSheenRoughness, materialShininess, materialSpecular, materialSpecularColor, materialSpecularIntensity, materialSpecularStrength, materialThickness, materialTransmission, max, maxMipLevel, metalness, min, mix, mixElement, mod, modInt, modelDirection, modelNormalMatrix, modelPosition, modelScale, modelViewMatrix, modelViewPosition, modelViewProjection, modelWorldMatrix, modelWorldMatrixInverse, morphReference, mrt, mul, mx_aastep, mx_cell_noise_float, mx_contrast, mx_fractal_noise_float, mx_fractal_noise_vec2, mx_fractal_noise_vec3, mx_fractal_noise_vec4, mx_hsvtorgb, mx_noise_float, mx_noise_vec3, mx_noise_vec4, mx_ramplr, mx_ramptb, mx_rgbtohsv, mx_safepower, mx_splitlr, mx_splittb, mx_srgb_texture_to_lin_rec709, mx_transform_uv, mx_worley_noise_float, mx_worley_noise_vec2, mx_worley_noise_vec3, negate, neutralToneMapping, nodeArray, nodeImmutable, nodeObject, nodeObjects, nodeProxy, normalFlat, normalGeometry, normalLocal, normalMap, normalView, normalWorld, normalize, not, notEqual, numWorkgroups, objectDirection, objectGroup, objectPosition, objectScale, objectViewPosition, objectWorldMatrix, oneMinus, or, orthographicDepthToViewZ, oscSawtooth, oscSine, oscSquare, oscTriangle, output, outputStruct, overlay, overloadingFn, parabola, parallaxDirection, parallaxUV, parameter, pass, passTexture, pcurve, perspectiveDepthToViewZ, pmremTexture, pointUV, pointWidth, positionGeometry, positionLocal, positionPrevious, positionView, positionViewDirection, positionWorld, positionWorldDirection, posterize, pow, pow2, pow3, pow4, property, radians, rand, range, rangeFog, reciprocal, reference, referenceBuffer, reflect, reflectVector, reflectView, reflector, refract, refractVector, refractView, reinhardToneMapping, remainder, remap, remapClamp, renderGroup, renderOutput, rendererReference, rotate, rotateUV, roughness, round, rtt, sRGBTransferEOTF, sRGBTransferOETF, sampler, saturate, saturation, screen, screenCoordinate, screenSize, screenUV, scriptable, scriptableValue, select, setCurrentStack, shaderStages, shadow, sharedUniformGroup, sheen, sheenRoughness, shiftLeft, shiftRight, shininess, sign, sin, sinc, skinning, skinningReference, smoothstep, smoothstepElement, specularColor, specularF90, spherizeUV, split, spritesheetUV, sqrt, stack, step, storage, storageBarrier, storageObject, storageTexture, string, sub, subgroupIndex, subgroupSize, tan, tangentGeometry, tangentLocal, tangentView, tangentWorld, temp, texture, texture3D, textureBarrier, textureBicubic, textureCubeUV, textureLoad, textureSize, textureStore, thickness, threshold, time, timerDelta, timerGlobal, timerLocal, toOutputColorSpace, toWorkingColorSpace, toneMapping, toneMappingExposure, toonOutlinePass, transformDirection, transformNormal, transformNormalToView, transformedBentNormalView, transformedBitangentView, transformedBitangentWorld, transformedClearcoatNormalView, transformedNormalView, transformedNormalWorld, transformedTangentView, transformedTangentWorld, transmission, transpose, tri, tri3, triNoise3D, triplanarTexture, triplanarTextures, trunc, tslFn, uint, uniform, uniformArray, uniformGroup, uniforms, userData, uv, uvec2, uvec3, uvec4, varying, varyingProperty, vec2, vec3, vec4, vectorComponents, velocity, vertexColor, vertexIndex, vibrance, viewZToLogarithmicDepth, viewZToOrthographicDepth, viewZToPerspectiveDepth, viewport, viewportBottomLeft, viewportCoordinate, viewportDepthTexture, viewportLinearDepth, viewportMipTexture, viewportResolution, viewportSafeUV, viewportSharedTexture, viewportSize, viewportTexture, viewportTopLeft, viewportUV, wgsl, wgslFn, workgroupArray, workgroupBarrier, workgroupId, workingToColorSpace, xor };
538
+ export { BRDF_GGX, BRDF_Lambert, BasicShadowFilter, Break, Continue, DFGApprox, D_GGX, Discard, EPSILON, F_Schlick, Fn, INFINITY, If, Loop, NodeAccess, NodeShaderStage, NodeType, NodeUpdateType, PCFShadowFilter, PCFSoftShadowFilter, PI, PI2, Return, Schlick_to_F0, ScriptableNodeResources, ShaderNode, TBNViewMatrix, VSMShadowFilter, V_GGX_SmithCorrelated, abs, acesFilmicToneMapping, acos, add, addNodeElement, agxToneMapping, all, alphaT, and, anisotropy, anisotropyB, anisotropyT, any, append, arrayBuffer, asin, assign, atan, atan2, atomicAdd, atomicAnd, atomicFunc, atomicMax, atomicMin, atomicOr, atomicStore, atomicSub, atomicXor, attenuationColor, attenuationDistance, attribute, attributeArray, backgroundBlurriness, backgroundIntensity, backgroundRotation, batch, billboarding, bitAnd, bitNot, bitOr, bitXor, bitangentGeometry, bitangentLocal, bitangentView, bitangentWorld, bitcast, blendBurn, blendColor, blendDodge, blendOverlay, blendScreen, blur, bool, buffer, bufferAttribute, bumpMap, burn, bvec2, bvec3, bvec4, bypass, cache, call, cameraFar, cameraNear, cameraNormalMatrix, cameraPosition, cameraProjectionMatrix, cameraProjectionMatrixInverse, cameraViewMatrix, cameraWorldMatrix, cbrt, cdl, ceil, checker, cineonToneMapping, clamp, clearcoat, clearcoatRoughness, code, color, colorSpaceToWorking, colorToDirection, compute, cond, context, convert, convertColorSpace, convertToTexture, cos, cross, cubeTexture, dFdx, dFdy, dashSize, defaultBuildStages, defaultShaderStages, defined, degrees, deltaTime, densityFog, densityFogFactor, depth, depthPass, difference, diffuseColor, directPointLight, directionToColor, dispersion, distance, div, dodge, dot, drawIndex, dynamicBufferAttribute, element, emissive, equal, equals, equirectUV, exp, exp2, expression, faceDirection, faceForward, faceforward, float, floor, fog, fract, frameGroup, frameId, frontFacing, fwidth, gain, gapSize, getConstNodeType, getCurrentStack, getDirection, getDistanceAttenuation, getGeometryRoughness, getNormalFromDepth, getParallaxCorrectNormal, getRoughness, getScreenPosition, getShIrradianceAt, getTextureIndex, getViewPosition, glsl, glslFn, grayscale, greaterThan, greaterThanEqual, hash, highpModelNormalViewMatrix, highpModelViewMatrix, hue, instance, instanceIndex, instancedArray, instancedBufferAttribute, instancedDynamicBufferAttribute, instancedMesh, int, inverseSqrt, inversesqrt, invocationLocalIndex, invocationSubgroupIndex, ior, iridescence, iridescenceIOR, iridescenceThickness, ivec2, ivec3, ivec4, js, label, length, lengthSq, lessThan, lessThanEqual, lightPosition, lightTargetDirection, lightTargetPosition, lightViewPosition, lightingContext, lights, linearDepth, linearToneMapping, localId, log, log2, logarithmicDepthToViewZ, loop, luminance, mat2, mat3, mat4, matcapUV, materialAO, materialAlphaTest, materialAnisotropy, materialAnisotropyVector, materialAttenuationColor, materialAttenuationDistance, materialClearcoat, materialClearcoatNormal, materialClearcoatRoughness, materialColor, materialDispersion, materialEmissive, materialIOR, materialIridescence, materialIridescenceIOR, materialIridescenceThickness, materialLightMap, materialLineDashOffset, materialLineDashSize, materialLineGapSize, materialLineScale, materialLineWidth, materialMetalness, materialNormal, materialOpacity, materialPointWidth, materialReference, materialReflectivity, materialRefractionRatio, materialRotation, materialRoughness, materialSheen, materialSheenRoughness, materialShininess, materialSpecular, materialSpecularColor, materialSpecularIntensity, materialSpecularStrength, materialThickness, materialTransmission, max, maxMipLevel, mediumpModelViewMatrix, metalness, min, mix, mixElement, mod, modInt, modelDirection, modelNormalMatrix, modelPosition, modelScale, modelViewMatrix, modelViewPosition, modelViewProjection, modelWorldMatrix, modelWorldMatrixInverse, morphReference, mrt, mul, mx_aastep, mx_cell_noise_float, mx_contrast, mx_fractal_noise_float, mx_fractal_noise_vec2, mx_fractal_noise_vec3, mx_fractal_noise_vec4, mx_hsvtorgb, mx_noise_float, mx_noise_vec3, mx_noise_vec4, mx_ramplr, mx_ramptb, mx_rgbtohsv, mx_safepower, mx_splitlr, mx_splittb, mx_srgb_texture_to_lin_rec709, mx_transform_uv, mx_worley_noise_float, mx_worley_noise_vec2, mx_worley_noise_vec3, negate, neutralToneMapping, nodeArray, nodeImmutable, nodeObject, nodeObjects, nodeProxy, normalFlat, normalGeometry, normalLocal, normalMap, normalView, normalWorld, normalize, not, notEqual, numWorkgroups, objectDirection, objectGroup, objectPosition, objectScale, objectViewPosition, objectWorldMatrix, oneMinus, or, orthographicDepthToViewZ, oscSawtooth, oscSine, oscSquare, oscTriangle, output, outputStruct, overlay, overloadingFn, parabola, parallaxDirection, parallaxUV, parameter, pass, passTexture, pcurve, perspectiveDepthToViewZ, pmremTexture, pointUV, pointWidth, positionGeometry, positionLocal, positionPrevious, positionView, positionViewDirection, positionWorld, positionWorldDirection, posterize, pow, pow2, pow3, pow4, property, radians, rand, range, rangeFog, rangeFogFactor, reciprocal, reference, referenceBuffer, reflect, reflectVector, reflectView, reflector, refract, refractVector, refractView, reinhardToneMapping, remainder, remap, remapClamp, renderGroup, renderOutput, rendererReference, rotate, rotateUV, roughness, round, rtt, sRGBTransferEOTF, sRGBTransferOETF, sampler, saturate, saturation, screen, screenCoordinate, screenSize, screenUV, scriptable, scriptableValue, select, setCurrentStack, shaderStages, shadow, shadowPositionWorld, sharedUniformGroup, sheen, sheenRoughness, shiftLeft, shiftRight, shininess, sign, sin, sinc, skinning, skinningReference, smoothstep, smoothstepElement, specularColor, specularF90, spherizeUV, split, spritesheetUV, sqrt, stack, step, storage, storageBarrier, storageObject, storageTexture, string, sub, subgroupIndex, subgroupSize, tan, tangentGeometry, tangentLocal, tangentView, tangentWorld, temp, texture, texture3D, textureBarrier, textureBicubic, textureCubeUV, textureLoad, textureSize, textureStore, thickness, threshold, time, timerDelta, timerGlobal, timerLocal, toOutputColorSpace, toWorkingColorSpace, toneMapping, toneMappingExposure, toonOutlinePass, transformDirection, transformNormal, transformNormalToView, transformedBentNormalView, transformedBitangentView, transformedBitangentWorld, transformedClearcoatNormalView, transformedNormalView, transformedNormalWorld, transformedTangentView, transformedTangentWorld, transmission, transpose, tri, tri3, triNoise3D, triplanarTexture, triplanarTextures, trunc, tslFn, uint, uniform, uniformArray, uniformGroup, uniforms, userData, uv, uvec2, uvec3, uvec4, varying, varyingProperty, vec2, vec3, vec4, vectorComponents, velocity, vertexColor, vertexIndex, vibrance, viewZToLogarithmicDepth, viewZToOrthographicDepth, viewZToPerspectiveDepth, viewport, viewportBottomLeft, viewportCoordinate, viewportDepthTexture, viewportLinearDepth, viewportMipTexture, viewportResolution, viewportSafeUV, viewportSharedTexture, viewportSize, viewportTexture, viewportTopLeft, viewportUV, wgsl, wgslFn, workgroupArray, workgroupBarrier, workgroupId, workingToColorSpace, xor };
@@ -3,4 +3,4 @@
3
3
  * Copyright 2010-2024 Three.js Authors
4
4
  * SPDX-License-Identifier: MIT
5
5
  */
6
- import{TSL as e}from"three/webgpu";const t=e.BRDF_GGX,r=e.BRDF_Lambert,a=e.BasicShadowFilter,o=e.Break,i=e.Continue,n=e.DFGApprox,s=e.D_GGX,l=e.Discard,c=e.EPSILON,m=e.F_Schlick,p=e.Fn,d=e.INFINITY,u=e.If,g=e.Loop,h=e.NodeShaderStage,f=e.NodeType,x=e.NodeUpdateType,b=e.NodeAccess,v=e.PCFShadowFilter,w=e.PCFSoftShadowFilter,S=e.PI,T=e.PI2,_=e.Return,V=e.Schlick_to_F0,y=e.ScriptableNodeResources,D=e.ShaderNode,M=e.TBNViewMatrix,C=e.VSMShadowFilter,F=e.V_GGX_SmithCorrelated,I=e.abs,P=e.acesFilmicToneMapping,N=e.acos,R=e.add,B=e.addMethodChaining,k=e.addNodeElement,L=e.agxToneMapping,A=e.all,G=e.alphaT,O=e.and,W=e.anisotropy,j=e.anisotropyB,U=e.anisotropyT,z=e.any,E=e.append,q=e.arrayBuffer,Z=e.asin,X=e.assign,Y=e.atan,H=e.atan2,J=e.atomicAdd,K=e.atomicAnd,Q=e.atomicFunc,$=e.atomicMax,ee=e.atomicMin,te=e.atomicOr,re=e.atomicStore,ae=e.atomicSub,oe=e.atomicXor,ie=e.attenuationColor,ne=e.attenuationDistance,se=e.attribute,le=e.attributeArray,ce=e.backgroundBlurriness,me=e.backgroundIntensity,pe=e.backgroundRotation,de=e.batch,ue=e.billboarding,ge=e.bitAnd,he=e.bitNot,fe=e.bitOr,xe=e.bitXor,be=e.bitangentGeometry,ve=e.bitangentLocal,we=e.bitangentView,Se=e.bitangentWorld,Te=e.bitcast,_e=e.blendBurn,Ve=e.blendColor,ye=e.blendDodge,De=e.blendOverlay,Me=e.blendScreen,Ce=e.blur,Fe=e.bool,Ie=e.buffer,Pe=e.bufferAttribute,Ne=e.bumpMap,Re=e.burn,Be=e.bvec2,ke=e.bvec3,Le=e.bvec4,Ae=e.bypass,Ge=e.cache,Oe=e.call,We=e.cameraFar,je=e.cameraNear,Ue=e.cameraNormalMatrix,ze=e.cameraPosition,Ee=e.cameraProjectionMatrix,qe=e.cameraProjectionMatrixInverse,Ze=e.cameraViewMatrix,Xe=e.cameraWorldMatrix,Ye=e.cbrt,He=e.cdl,Je=e.ceil,Ke=e.checker,Qe=e.cineonToneMapping,$e=e.clamp,et=e.clearcoat,tt=e.clearcoatRoughness,rt=e.code,at=e.color,ot=e.colorSpaceToWorking,it=e.colorToDirection,nt=e.compute,st=e.cond,lt=e.context,ct=e.convert,mt=e.convertColorSpace,pt=e.convertToTexture,dt=e.cos,ut=e.cross,gt=e.cubeTexture,ht=e.dFdx,ft=e.dFdy,xt=e.dashSize,bt=e.defaultBuildStages,vt=e.defaultShaderStages,wt=e.defined,St=e.degrees,Tt=e.deltaTime,_t=e.densityFog,Vt=e.depth,yt=e.depthPass,Dt=e.difference,Mt=e.diffuseColor,Ct=e.directPointLight,Ft=e.directionToColor,It=e.dispersion,Pt=e.distance,Nt=e.div,Rt=e.dodge,Bt=e.dot,kt=e.drawIndex,Lt=e.dynamicBufferAttribute,At=e.element,Gt=e.emissive,Ot=e.equal,Wt=e.equals,jt=e.equirectUV,Ut=e.exp,zt=e.exp2,Et=e.expression,qt=e.faceDirection,Zt=e.faceForward,Xt=e.float,Yt=e.floor,Ht=e.fog,Jt=e.fract,Kt=e.frameGroup,Qt=e.frameId,$t=e.frontFacing,er=e.fwidth,tr=e.gain,rr=e.gapSize,ar=e.getConstNodeType,or=e.getCurrentStack,ir=e.getDirection,nr=e.getDistanceAttenuation,sr=e.getGeometryRoughness,lr=e.getNormalFromDepth,cr=e.getParallaxCorrectNormal,mr=e.getRoughness,pr=e.getScreenPosition,dr=e.getShIrradianceAt,ur=e.getTextureIndex,gr=e.getViewPosition,hr=e.glsl,fr=e.glslFn,xr=e.grayscale,br=e.greaterThan,vr=e.greaterThanEqual,wr=e.hash,Sr=e.highPrecisionModelNormalViewMatrix,Tr=e.highPrecisionModelViewMatrix,_r=e.hue,Vr=e.instance,yr=e.instanceIndex,Dr=e.instancedArray,Mr=e.instancedBufferAttribute,Cr=e.instancedDynamicBufferAttribute,Fr=e.instancedMesh,Ir=e.int,Pr=e.inverseSqrt,Nr=e.invocationLocalIndex,Rr=e.invocationSubgroupIndex,Br=e.ior,kr=e.iridescence,Lr=e.iridescenceIOR,Ar=e.iridescenceThickness,Gr=e.ivec2,Or=e.ivec3,Wr=e.ivec4,jr=e.js,Ur=e.label,zr=e.length,Er=e.lengthSq,qr=e.lessThan,Zr=e.lessThanEqual,Xr=e.lightPosition,Yr=e.lightTargetDirection,Hr=e.lightTargetPosition,Jr=e.lightViewPosition,Kr=e.lightingContext,Qr=e.lights,$r=e.linearDepth,ea=e.linearToneMapping,ta=e.localId,ra=e.log,aa=e.log2,oa=e.logarithmicDepthToViewZ,ia=e.loop,na=e.luminance,sa=e.mat2,la=e.mat3,ca=e.mat4,ma=e.matcapUV,pa=e.materialAOMap,da=e.materialAlphaTest,ua=e.materialAnisotropy,ga=e.materialAnisotropyVector,ha=e.materialAttenuationColor,fa=e.materialAttenuationDistance,xa=e.materialClearcoat,ba=e.materialClearcoatNormal,va=e.materialClearcoatRoughness,wa=e.materialColor,Sa=e.materialDispersion,Ta=e.materialEmissive,_a=e.materialIOR,Va=e.materialIridescence,ya=e.materialIridescenceIOR,Da=e.materialIridescenceThickness,Ma=e.materialLightMap,Ca=e.materialLineDashOffset,Fa=e.materialLineDashSize,Ia=e.materialLineGapSize,Pa=e.materialLineScale,Na=e.materialLineWidth,Ra=e.materialMetalness,Ba=e.materialNormal,ka=e.materialOpacity,La=e.materialPointWidth,Aa=e.materialReference,Ga=e.materialReflectivity,Oa=e.materialRefractionRatio,Wa=e.materialRotation,ja=e.materialRoughness,Ua=e.materialSheen,za=e.materialSheenRoughness,Ea=e.materialShininess,qa=e.materialSpecular,Za=e.materialSpecularColor,Xa=e.materialSpecularIntensity,Ya=e.materialSpecularStrength,Ha=e.materialThickness,Ja=e.materialTransmission,Ka=e.max,Qa=e.maxMipLevel,$a=e.metalness,eo=e.min,to=e.mix,ro=e.mixElement,ao=e.mod,oo=e.modInt,io=e.modelDirection,no=e.modelNormalMatrix,so=e.modelPosition,lo=e.modelScale,co=e.modelViewMatrix,mo=e.modelViewPosition,po=e.modelViewProjection,uo=e.modelWorldMatrix,go=e.modelWorldMatrixInverse,ho=e.morphReference,fo=e.mrt,xo=e.mul,bo=e.mx_aastep,vo=e.mx_cell_noise_float,wo=e.mx_contrast,So=e.mx_fractal_noise_float,To=e.mx_fractal_noise_vec2,_o=e.mx_fractal_noise_vec3,Vo=e.mx_fractal_noise_vec4,yo=e.mx_hsvtorgb,Do=e.mx_noise_float,Mo=e.mx_noise_vec3,Co=e.mx_noise_vec4,Fo=e.mx_ramplr,Io=e.mx_ramptb,Po=e.mx_rgbtohsv,No=e.mx_safepower,Ro=e.mx_splitlr,Bo=e.mx_splittb,ko=e.mx_srgb_texture_to_lin_rec709,Lo=e.mx_transform_uv,Ao=e.mx_worley_noise_float,Go=e.mx_worley_noise_vec2,Oo=e.mx_worley_noise_vec3,Wo=e.negate,jo=e.neutralToneMapping,Uo=e.nodeArray,zo=e.nodeImmutable,Eo=e.nodeObject,qo=e.nodeObjects,Zo=e.nodeProxy,Xo=e.normalFlat,Yo=e.normalGeometry,Ho=e.normalLocal,Jo=e.normalMap,Ko=e.normalView,Qo=e.normalWorld,$o=e.normalize,ei=e.not,ti=e.notEqual,ri=e.numWorkgroups,ai=e.objectDirection,oi=e.objectGroup,ii=e.objectPosition,ni=e.objectScale,si=e.objectViewPosition,li=e.objectWorldMatrix,ci=e.oneMinus,mi=e.or,pi=e.orthographicDepthToViewZ,di=e.oscSawtooth,ui=e.oscSine,gi=e.oscSquare,hi=e.oscTriangle,fi=e.output,xi=e.outputStruct,bi=e.overlay,vi=e.overloadingFn,wi=e.parabola,Si=e.parallaxDirection,Ti=e.parallaxUV,_i=e.parameter,Vi=e.pass,yi=e.passTexture,Di=e.pcurve,Mi=e.perspectiveDepthToViewZ,Ci=e.pmremTexture,Fi=e.pointUV,Ii=e.pointWidth,Pi=e.positionGeometry,Ni=e.positionLocal,Ri=e.positionPrevious,Bi=e.positionView,ki=e.positionViewDirection,Li=e.positionWorld,Ai=e.positionWorldDirection,Gi=e.posterize,Oi=e.pow,Wi=e.pow2,ji=e.pow3,Ui=e.pow4,zi=e.property,Ei=e.radians,qi=e.rand,Zi=e.range,Xi=e.rangeFog,Yi=e.reciprocal,Hi=e.reference,Ji=e.referenceBuffer,Ki=e.reflect,Qi=e.reflectVector,$i=e.reflectView,en=e.reflector,tn=e.refract,rn=e.refractVector,an=e.refractView,on=e.reinhardToneMapping,nn=e.remainder,sn=e.remap,ln=e.remapClamp,cn=e.renderGroup,mn=e.renderOutput,pn=e.rendererReference,dn=e.rotate,un=e.rotateUV,gn=e.roughness,hn=e.round,fn=e.rtt,xn=e.sRGBTransferEOTF,bn=e.sRGBTransferOETF,vn=e.sampler,wn=e.saturate,Sn=e.saturation,Tn=e.screen,_n=e.screenCoordinate,Vn=e.screenSize,yn=e.screenUV,Dn=e.scriptable,Mn=e.scriptableValue,Cn=e.select,Fn=e.setCurrentStack,In=e.shaderStages,Pn=e.shadow,Nn=e.sharedUniformGroup,Rn=e.sheen,Bn=e.sheenRoughness,kn=e.shiftLeft,Ln=e.shiftRight,An=e.shininess,Gn=e.sign,On=e.sin,Wn=e.sinc,jn=e.skinning,Un=e.skinningReference,zn=e.smoothstep,En=e.smoothstepElement,qn=e.specularColor,Zn=e.specularF90,Xn=e.spherizeUV,Yn=e.split,Hn=e.spritesheetUV,Jn=e.sqrt,Kn=e.stack,Qn=e.step,$n=e.storage,es=e.storageBarrier,ts=e.storageObject,rs=e.storageTexture,as=e.string,os=e.sub,is=e.subgroupIndex,ns=e.subgroupSize,ss=e.tan,ls=e.tangentGeometry,cs=e.tangentLocal,ms=e.tangentView,ps=e.tangentWorld,ds=e.temp,us=e.texture,gs=e.texture3D,hs=e.textureBarrier,fs=e.textureBicubic,xs=e.textureCubeUV,bs=e.textureLoad,vs=e.textureSize,ws=e.textureStore,Ss=e.thickness,Ts=e.threshold,_s=e.time,Vs=e.timerDelta,ys=e.timerGlobal,Ds=e.timerLocal,Ms=e.toOutputColorSpace,Cs=e.toWorkingColorSpace,Fs=e.toneMapping,Is=e.toneMappingExposure,Ps=e.toonOutlinePass,Ns=e.transformDirection,Rs=e.transformNormal,Bs=e.transformNormalToView,ks=e.transformedBentNormalView,Ls=e.transformedBitangentView,As=e.transformedBitangentWorld,Gs=e.transformedClearcoatNormalView,Os=e.transformedNormalView,Ws=e.transformedNormalWorld,js=e.transformedTangentView,Us=e.transformedTangentWorld,zs=e.transmission,Es=e.transpose,qs=e.tri,Zs=e.tri3,Xs=e.triNoise3D,Ys=e.triplanarTexture,Hs=e.triplanarTextures,Js=e.trunc,Ks=e.tslFn,Qs=e.uint,$s=e.uniform,el=e.uniformArray,tl=e.uniformGroup,rl=e.uniforms,al=e.userData,ol=e.uv,il=e.uvec2,nl=e.uvec3,sl=e.uvec4,ll=e.varying,cl=e.varyingProperty,ml=e.vec2,pl=e.vec3,dl=e.vec4,ul=e.vectorComponents,gl=e.velocity,hl=e.vertexColor,fl=e.vertexIndex,xl=e.vibrance,bl=e.viewZToLogarithmicDepth,vl=e.viewZToOrthographicDepth,wl=e.viewZToPerspectiveDepth,Sl=e.viewport,Tl=e.viewportBottomLeft,_l=e.viewportCoordinate,Vl=e.viewportDepthTexture,yl=e.viewportLinearDepth,Dl=e.viewportMipTexture,Ml=e.viewportResolution,Cl=e.viewportSafeUV,Fl=e.viewportSharedTexture,Il=e.viewportSize,Pl=e.viewportTexture,Nl=e.viewportTopLeft,Rl=e.viewportUV,Bl=e.wgsl,kl=e.wgslFn,Ll=e.workgroupArray,Al=e.workgroupBarrier,Gl=e.workgroupId,Ol=e.workingToColorSpace,Wl=e.xor;export{t as BRDF_GGX,r as BRDF_Lambert,a as BasicShadowFilter,o as Break,i as Continue,n as DFGApprox,s as D_GGX,l as Discard,c as EPSILON,m as F_Schlick,p as Fn,d as INFINITY,u as If,g as Loop,b as NodeAccess,h as NodeShaderStage,f as NodeType,x as NodeUpdateType,v as PCFShadowFilter,w as PCFSoftShadowFilter,S as PI,T as PI2,_ as Return,V as Schlick_to_F0,y as ScriptableNodeResources,D as ShaderNode,M as TBNViewMatrix,C as VSMShadowFilter,F as V_GGX_SmithCorrelated,I as abs,P as acesFilmicToneMapping,N as acos,R as add,B as addMethodChaining,k as addNodeElement,L as agxToneMapping,A as all,G as alphaT,O as and,W as anisotropy,j as anisotropyB,U as anisotropyT,z as any,E as append,q as arrayBuffer,Z as asin,X as assign,Y as atan,H as atan2,J as atomicAdd,K as atomicAnd,Q as atomicFunc,$ as atomicMax,ee as atomicMin,te as atomicOr,re as atomicStore,ae as atomicSub,oe as atomicXor,ie as attenuationColor,ne as attenuationDistance,se as attribute,le as attributeArray,ce as backgroundBlurriness,me as backgroundIntensity,pe as backgroundRotation,de as batch,ue as billboarding,ge as bitAnd,he as bitNot,fe as bitOr,xe as bitXor,be as bitangentGeometry,ve as bitangentLocal,we as bitangentView,Se as bitangentWorld,Te as bitcast,_e as blendBurn,Ve as blendColor,ye as blendDodge,De as blendOverlay,Me as blendScreen,Ce as blur,Fe as bool,Ie as buffer,Pe as bufferAttribute,Ne as bumpMap,Re as burn,Be as bvec2,ke as bvec3,Le as bvec4,Ae as bypass,Ge as cache,Oe as call,We as cameraFar,je as cameraNear,Ue as cameraNormalMatrix,ze as cameraPosition,Ee as cameraProjectionMatrix,qe as cameraProjectionMatrixInverse,Ze as cameraViewMatrix,Xe as cameraWorldMatrix,Ye as cbrt,He as cdl,Je as ceil,Ke as checker,Qe as cineonToneMapping,$e as clamp,et as clearcoat,tt as clearcoatRoughness,rt as code,at as color,ot as colorSpaceToWorking,it as colorToDirection,nt as compute,st as cond,lt as context,ct as convert,mt as convertColorSpace,pt as convertToTexture,dt as cos,ut as cross,gt as cubeTexture,ht as dFdx,ft as dFdy,xt as dashSize,bt as defaultBuildStages,vt as defaultShaderStages,wt as defined,St as degrees,Tt as deltaTime,_t as densityFog,Vt as depth,yt as depthPass,Dt as difference,Mt as diffuseColor,Ct as directPointLight,Ft as directionToColor,It as dispersion,Pt as distance,Nt as div,Rt as dodge,Bt as dot,kt as drawIndex,Lt as dynamicBufferAttribute,At as element,Gt as emissive,Ot as equal,Wt as equals,jt as equirectUV,Ut as exp,zt as exp2,Et as expression,qt as faceDirection,Zt as faceForward,Xt as float,Yt as floor,Ht as fog,Jt as fract,Kt as frameGroup,Qt as frameId,$t as frontFacing,er as fwidth,tr as gain,rr as gapSize,ar as getConstNodeType,or as getCurrentStack,ir as getDirection,nr as getDistanceAttenuation,sr as getGeometryRoughness,lr as getNormalFromDepth,cr as getParallaxCorrectNormal,mr as getRoughness,pr as getScreenPosition,dr as getShIrradianceAt,ur as getTextureIndex,gr as getViewPosition,hr as glsl,fr as glslFn,xr as grayscale,br as greaterThan,vr as greaterThanEqual,wr as hash,Sr as highPrecisionModelNormalViewMatrix,Tr as highPrecisionModelViewMatrix,_r as hue,Vr as instance,yr as instanceIndex,Dr as instancedArray,Mr as instancedBufferAttribute,Cr as instancedDynamicBufferAttribute,Fr as instancedMesh,Ir as int,Pr as inverseSqrt,Nr as invocationLocalIndex,Rr as invocationSubgroupIndex,Br as ior,kr as iridescence,Lr as iridescenceIOR,Ar as iridescenceThickness,Gr as ivec2,Or as ivec3,Wr as ivec4,jr as js,Ur as label,zr as length,Er as lengthSq,qr as lessThan,Zr as lessThanEqual,Xr as lightPosition,Yr as lightTargetDirection,Hr as lightTargetPosition,Jr as lightViewPosition,Kr as lightingContext,Qr as lights,$r as linearDepth,ea as linearToneMapping,ta as localId,ra as log,aa as log2,oa as logarithmicDepthToViewZ,ia as loop,na as luminance,sa as mat2,la as mat3,ca as mat4,ma as matcapUV,pa as materialAOMap,da as materialAlphaTest,ua as materialAnisotropy,ga as materialAnisotropyVector,ha as materialAttenuationColor,fa as materialAttenuationDistance,xa as materialClearcoat,ba as materialClearcoatNormal,va as materialClearcoatRoughness,wa as materialColor,Sa as materialDispersion,Ta as materialEmissive,_a as materialIOR,Va as materialIridescence,ya as materialIridescenceIOR,Da as materialIridescenceThickness,Ma as materialLightMap,Ca as materialLineDashOffset,Fa as materialLineDashSize,Ia as materialLineGapSize,Pa as materialLineScale,Na as materialLineWidth,Ra as materialMetalness,Ba as materialNormal,ka as materialOpacity,La as materialPointWidth,Aa as materialReference,Ga as materialReflectivity,Oa as materialRefractionRatio,Wa as materialRotation,ja as materialRoughness,Ua as materialSheen,za as materialSheenRoughness,Ea as materialShininess,qa as materialSpecular,Za as materialSpecularColor,Xa as materialSpecularIntensity,Ya as materialSpecularStrength,Ha as materialThickness,Ja as materialTransmission,Ka as max,Qa as maxMipLevel,$a as metalness,eo as min,to as mix,ro as mixElement,ao as mod,oo as modInt,io as modelDirection,no as modelNormalMatrix,so as modelPosition,lo as modelScale,co as modelViewMatrix,mo as modelViewPosition,po as modelViewProjection,uo as modelWorldMatrix,go as modelWorldMatrixInverse,ho as morphReference,fo as mrt,xo as mul,bo as mx_aastep,vo as mx_cell_noise_float,wo as mx_contrast,So as mx_fractal_noise_float,To as mx_fractal_noise_vec2,_o as mx_fractal_noise_vec3,Vo as mx_fractal_noise_vec4,yo as mx_hsvtorgb,Do as mx_noise_float,Mo as mx_noise_vec3,Co as mx_noise_vec4,Fo as mx_ramplr,Io as mx_ramptb,Po as mx_rgbtohsv,No as mx_safepower,Ro as mx_splitlr,Bo as mx_splittb,ko as mx_srgb_texture_to_lin_rec709,Lo as mx_transform_uv,Ao as mx_worley_noise_float,Go as mx_worley_noise_vec2,Oo as mx_worley_noise_vec3,Wo as negate,jo as neutralToneMapping,Uo as nodeArray,zo as nodeImmutable,Eo as nodeObject,qo as nodeObjects,Zo as nodeProxy,Xo as normalFlat,Yo as normalGeometry,Ho as normalLocal,Jo as normalMap,Ko as normalView,Qo as normalWorld,$o as normalize,ei as not,ti as notEqual,ri as numWorkgroups,ai as objectDirection,oi as objectGroup,ii as objectPosition,ni as objectScale,si as objectViewPosition,li as objectWorldMatrix,ci as oneMinus,mi as or,pi as orthographicDepthToViewZ,di as oscSawtooth,ui as oscSine,gi as oscSquare,hi as oscTriangle,fi as output,xi as outputStruct,bi as overlay,vi as overloadingFn,wi as parabola,Si as parallaxDirection,Ti as parallaxUV,_i as parameter,Vi as pass,yi as passTexture,Di as pcurve,Mi as perspectiveDepthToViewZ,Ci as pmremTexture,Fi as pointUV,Ii as pointWidth,Pi as positionGeometry,Ni as positionLocal,Ri as positionPrevious,Bi as positionView,ki as positionViewDirection,Li as positionWorld,Ai as positionWorldDirection,Gi as posterize,Oi as pow,Wi as pow2,ji as pow3,Ui as pow4,zi as property,Ei as radians,qi as rand,Zi as range,Xi as rangeFog,Yi as reciprocal,Hi as reference,Ji as referenceBuffer,Ki as reflect,Qi as reflectVector,$i as reflectView,en as reflector,tn as refract,rn as refractVector,an as refractView,on as reinhardToneMapping,nn as remainder,sn as remap,ln as remapClamp,cn as renderGroup,mn as renderOutput,pn as rendererReference,dn as rotate,un as rotateUV,gn as roughness,hn as round,fn as rtt,xn as sRGBTransferEOTF,bn as sRGBTransferOETF,vn as sampler,wn as saturate,Sn as saturation,Tn as screen,_n as screenCoordinate,Vn as screenSize,yn as screenUV,Dn as scriptable,Mn as scriptableValue,Cn as select,Fn as setCurrentStack,In as shaderStages,Pn as shadow,Nn as sharedUniformGroup,Rn as sheen,Bn as sheenRoughness,kn as shiftLeft,Ln as shiftRight,An as shininess,Gn as sign,On as sin,Wn as sinc,jn as skinning,Un as skinningReference,zn as smoothstep,En as smoothstepElement,qn as specularColor,Zn as specularF90,Xn as spherizeUV,Yn as split,Hn as spritesheetUV,Jn as sqrt,Kn as stack,Qn as step,$n as storage,es as storageBarrier,ts as storageObject,rs as storageTexture,as as string,os as sub,is as subgroupIndex,ns as subgroupSize,ss as tan,ls as tangentGeometry,cs as tangentLocal,ms as tangentView,ps as tangentWorld,ds as temp,us as texture,gs as texture3D,hs as textureBarrier,fs as textureBicubic,xs as textureCubeUV,bs as textureLoad,vs as textureSize,ws as textureStore,Ss as thickness,Ts as threshold,_s as time,Vs as timerDelta,ys as timerGlobal,Ds as timerLocal,Ms as toOutputColorSpace,Cs as toWorkingColorSpace,Fs as toneMapping,Is as toneMappingExposure,Ps as toonOutlinePass,Ns as transformDirection,Rs as transformNormal,Bs as transformNormalToView,ks as transformedBentNormalView,Ls as transformedBitangentView,As as transformedBitangentWorld,Gs as transformedClearcoatNormalView,Os as transformedNormalView,Ws as transformedNormalWorld,js as transformedTangentView,Us as transformedTangentWorld,zs as transmission,Es as transpose,qs as tri,Zs as tri3,Xs as triNoise3D,Ys as triplanarTexture,Hs as triplanarTextures,Js as trunc,Ks as tslFn,Qs as uint,$s as uniform,el as uniformArray,tl as uniformGroup,rl as uniforms,al as userData,ol as uv,il as uvec2,nl as uvec3,sl as uvec4,ll as varying,cl as varyingProperty,ml as vec2,pl as vec3,dl as vec4,ul as vectorComponents,gl as velocity,hl as vertexColor,fl as vertexIndex,xl as vibrance,bl as viewZToLogarithmicDepth,vl as viewZToOrthographicDepth,wl as viewZToPerspectiveDepth,Sl as viewport,Tl as viewportBottomLeft,_l as viewportCoordinate,Vl as viewportDepthTexture,yl as viewportLinearDepth,Dl as viewportMipTexture,Ml as viewportResolution,Cl as viewportSafeUV,Fl as viewportSharedTexture,Il as viewportSize,Pl as viewportTexture,Nl as viewportTopLeft,Rl as viewportUV,Bl as wgsl,kl as wgslFn,Ll as workgroupArray,Al as workgroupBarrier,Gl as workgroupId,Ol as workingToColorSpace,Wl as xor};
6
+ import{TSL as e}from"three/webgpu";const t=e.BRDF_GGX,r=e.BRDF_Lambert,a=e.BasicShadowFilter,o=e.Break,i=e.Continue,n=e.DFGApprox,s=e.D_GGX,l=e.Discard,c=e.EPSILON,m=e.F_Schlick,p=e.Fn,d=e.INFINITY,u=e.If,g=e.Loop,h=e.NodeShaderStage,f=e.NodeType,x=e.NodeUpdateType,b=e.NodeAccess,w=e.PCFShadowFilter,v=e.PCFSoftShadowFilter,S=e.PI,T=e.PI2,_=e.Return,V=e.Schlick_to_F0,y=e.ScriptableNodeResources,D=e.ShaderNode,M=e.TBNViewMatrix,F=e.VSMShadowFilter,C=e.V_GGX_SmithCorrelated,I=e.abs,N=e.acesFilmicToneMapping,P=e.acos,R=e.add,B=e.addNodeElement,k=e.agxToneMapping,L=e.all,A=e.alphaT,G=e.and,O=e.anisotropy,W=e.anisotropyB,j=e.anisotropyT,U=e.any,q=e.append,z=e.arrayBuffer,E=e.asin,Z=e.assign,X=e.atan,Y=e.atan2,H=e.atomicAdd,J=e.atomicAnd,K=e.atomicFunc,Q=e.atomicMax,$=e.atomicMin,ee=e.atomicOr,te=e.atomicStore,re=e.atomicSub,ae=e.atomicXor,oe=e.attenuationColor,ie=e.attenuationDistance,ne=e.attribute,se=e.attributeArray,le=e.backgroundBlurriness,ce=e.backgroundIntensity,me=e.backgroundRotation,pe=e.batch,de=e.billboarding,ue=e.bitAnd,ge=e.bitNot,he=e.bitOr,fe=e.bitXor,xe=e.bitangentGeometry,be=e.bitangentLocal,we=e.bitangentView,ve=e.bitangentWorld,Se=e.bitcast,Te=e.blendBurn,_e=e.blendColor,Ve=e.blendDodge,ye=e.blendOverlay,De=e.blendScreen,Me=e.blur,Fe=e.bool,Ce=e.buffer,Ie=e.bufferAttribute,Ne=e.bumpMap,Pe=e.burn,Re=e.bvec2,Be=e.bvec3,ke=e.bvec4,Le=e.bypass,Ae=e.cache,Ge=e.call,Oe=e.cameraFar,We=e.cameraNear,je=e.cameraNormalMatrix,Ue=e.cameraPosition,qe=e.cameraProjectionMatrix,ze=e.cameraProjectionMatrixInverse,Ee=e.cameraViewMatrix,Ze=e.cameraWorldMatrix,Xe=e.cbrt,Ye=e.cdl,He=e.ceil,Je=e.checker,Ke=e.cineonToneMapping,Qe=e.clamp,$e=e.clearcoat,et=e.clearcoatRoughness,tt=e.code,rt=e.color,at=e.colorSpaceToWorking,ot=e.colorToDirection,it=e.compute,nt=e.cond,st=e.context,lt=e.convert,ct=e.convertColorSpace,mt=e.convertToTexture,pt=e.cos,dt=e.cross,ut=e.cubeTexture,gt=e.dFdx,ht=e.dFdy,ft=e.dashSize,xt=e.defaultBuildStages,bt=e.defaultShaderStages,wt=e.defined,vt=e.degrees,St=e.deltaTime,Tt=e.densityFog,_t=e.densityFogFactor,Vt=e.depth,yt=e.depthPass,Dt=e.difference,Mt=e.diffuseColor,Ft=e.directPointLight,Ct=e.directionToColor,It=e.dispersion,Nt=e.distance,Pt=e.div,Rt=e.dodge,Bt=e.dot,kt=e.drawIndex,Lt=e.dynamicBufferAttribute,At=e.element,Gt=e.emissive,Ot=e.equal,Wt=e.equals,jt=e.equirectUV,Ut=e.exp,qt=e.exp2,zt=e.expression,Et=e.faceDirection,Zt=e.faceForward,Xt=e.faceforward,Yt=e.float,Ht=e.floor,Jt=e.fog,Kt=e.fract,Qt=e.frameGroup,$t=e.frameId,er=e.frontFacing,tr=e.fwidth,rr=e.gain,ar=e.gapSize,or=e.getConstNodeType,ir=e.getCurrentStack,nr=e.getDirection,sr=e.getDistanceAttenuation,lr=e.getGeometryRoughness,cr=e.getNormalFromDepth,mr=e.getParallaxCorrectNormal,pr=e.getRoughness,dr=e.getScreenPosition,ur=e.getShIrradianceAt,gr=e.getTextureIndex,hr=e.getViewPosition,fr=e.glsl,xr=e.glslFn,br=e.grayscale,wr=e.greaterThan,vr=e.greaterThanEqual,Sr=e.hash,Tr=e.highpModelNormalViewMatrix,_r=e.highpModelViewMatrix,Vr=e.hue,yr=e.instance,Dr=e.instanceIndex,Mr=e.instancedArray,Fr=e.instancedBufferAttribute,Cr=e.instancedDynamicBufferAttribute,Ir=e.instancedMesh,Nr=e.int,Pr=e.inverseSqrt,Rr=e.inversesqrt,Br=e.invocationLocalIndex,kr=e.invocationSubgroupIndex,Lr=e.ior,Ar=e.iridescence,Gr=e.iridescenceIOR,Or=e.iridescenceThickness,Wr=e.ivec2,jr=e.ivec3,Ur=e.ivec4,qr=e.js,zr=e.label,Er=e.length,Zr=e.lengthSq,Xr=e.lessThan,Yr=e.lessThanEqual,Hr=e.lightPosition,Jr=e.lightTargetDirection,Kr=e.lightTargetPosition,Qr=e.lightViewPosition,$r=e.lightingContext,ea=e.lights,ta=e.linearDepth,ra=e.linearToneMapping,aa=e.localId,oa=e.log,ia=e.log2,na=e.logarithmicDepthToViewZ,sa=e.loop,la=e.luminance,ca=e.mediumpModelViewMatrix,ma=e.mat2,pa=e.mat3,da=e.mat4,ua=e.matcapUV,ga=e.materialAO,ha=e.materialAlphaTest,fa=e.materialAnisotropy,xa=e.materialAnisotropyVector,ba=e.materialAttenuationColor,wa=e.materialAttenuationDistance,va=e.materialClearcoat,Sa=e.materialClearcoatNormal,Ta=e.materialClearcoatRoughness,_a=e.materialColor,Va=e.materialDispersion,ya=e.materialEmissive,Da=e.materialIOR,Ma=e.materialIridescence,Fa=e.materialIridescenceIOR,Ca=e.materialIridescenceThickness,Ia=e.materialLightMap,Na=e.materialLineDashOffset,Pa=e.materialLineDashSize,Ra=e.materialLineGapSize,Ba=e.materialLineScale,ka=e.materialLineWidth,La=e.materialMetalness,Aa=e.materialNormal,Ga=e.materialOpacity,Oa=e.materialPointWidth,Wa=e.materialReference,ja=e.materialReflectivity,Ua=e.materialRefractionRatio,qa=e.materialRotation,za=e.materialRoughness,Ea=e.materialSheen,Za=e.materialSheenRoughness,Xa=e.materialShininess,Ya=e.materialSpecular,Ha=e.materialSpecularColor,Ja=e.materialSpecularIntensity,Ka=e.materialSpecularStrength,Qa=e.materialThickness,$a=e.materialTransmission,eo=e.max,to=e.maxMipLevel,ro=e.metalness,ao=e.min,oo=e.mix,io=e.mixElement,no=e.mod,so=e.modInt,lo=e.modelDirection,co=e.modelNormalMatrix,mo=e.modelPosition,po=e.modelScale,uo=e.modelViewMatrix,go=e.modelViewPosition,ho=e.modelViewProjection,fo=e.modelWorldMatrix,xo=e.modelWorldMatrixInverse,bo=e.morphReference,wo=e.mrt,vo=e.mul,So=e.mx_aastep,To=e.mx_cell_noise_float,_o=e.mx_contrast,Vo=e.mx_fractal_noise_float,yo=e.mx_fractal_noise_vec2,Do=e.mx_fractal_noise_vec3,Mo=e.mx_fractal_noise_vec4,Fo=e.mx_hsvtorgb,Co=e.mx_noise_float,Io=e.mx_noise_vec3,No=e.mx_noise_vec4,Po=e.mx_ramplr,Ro=e.mx_ramptb,Bo=e.mx_rgbtohsv,ko=e.mx_safepower,Lo=e.mx_splitlr,Ao=e.mx_splittb,Go=e.mx_srgb_texture_to_lin_rec709,Oo=e.mx_transform_uv,Wo=e.mx_worley_noise_float,jo=e.mx_worley_noise_vec2,Uo=e.mx_worley_noise_vec3,qo=e.negate,zo=e.neutralToneMapping,Eo=e.nodeArray,Zo=e.nodeImmutable,Xo=e.nodeObject,Yo=e.nodeObjects,Ho=e.nodeProxy,Jo=e.normalFlat,Ko=e.normalGeometry,Qo=e.normalLocal,$o=e.normalMap,ei=e.normalView,ti=e.normalWorld,ri=e.normalize,ai=e.not,oi=e.notEqual,ii=e.numWorkgroups,ni=e.objectDirection,si=e.objectGroup,li=e.objectPosition,ci=e.objectScale,mi=e.objectViewPosition,pi=e.objectWorldMatrix,di=e.oneMinus,ui=e.or,gi=e.orthographicDepthToViewZ,hi=e.oscSawtooth,fi=e.oscSine,xi=e.oscSquare,bi=e.oscTriangle,wi=e.output,vi=e.outputStruct,Si=e.overlay,Ti=e.overloadingFn,_i=e.parabola,Vi=e.parallaxDirection,yi=e.parallaxUV,Di=e.parameter,Mi=e.pass,Fi=e.passTexture,Ci=e.pcurve,Ii=e.perspectiveDepthToViewZ,Ni=e.pmremTexture,Pi=e.pointUV,Ri=e.pointWidth,Bi=e.positionGeometry,ki=e.positionLocal,Li=e.positionPrevious,Ai=e.positionView,Gi=e.positionViewDirection,Oi=e.positionWorld,Wi=e.positionWorldDirection,ji=e.posterize,Ui=e.pow,qi=e.pow2,zi=e.pow3,Ei=e.pow4,Zi=e.property,Xi=e.radians,Yi=e.rand,Hi=e.range,Ji=e.rangeFog,Ki=e.rangeFogFactor,Qi=e.reciprocal,$i=e.reference,en=e.referenceBuffer,tn=e.reflect,rn=e.reflectVector,an=e.reflectView,on=e.reflector,nn=e.refract,sn=e.refractVector,ln=e.refractView,cn=e.reinhardToneMapping,mn=e.remainder,pn=e.remap,dn=e.remapClamp,un=e.renderGroup,gn=e.renderOutput,hn=e.rendererReference,fn=e.rotate,xn=e.rotateUV,bn=e.roughness,wn=e.round,vn=e.rtt,Sn=e.sRGBTransferEOTF,Tn=e.sRGBTransferOETF,_n=e.sampler,Vn=e.saturate,yn=e.saturation,Dn=e.screen,Mn=e.screenCoordinate,Fn=e.screenSize,Cn=e.screenUV,In=e.scriptable,Nn=e.scriptableValue,Pn=e.select,Rn=e.setCurrentStack,Bn=e.shaderStages,kn=e.shadow,Ln=e.shadowPositionWorld,An=e.sharedUniformGroup,Gn=e.sheen,On=e.sheenRoughness,Wn=e.shiftLeft,jn=e.shiftRight,Un=e.shininess,qn=e.sign,zn=e.sin,En=e.sinc,Zn=e.skinning,Xn=e.skinningReference,Yn=e.smoothstep,Hn=e.smoothstepElement,Jn=e.specularColor,Kn=e.specularF90,Qn=e.spherizeUV,$n=e.split,es=e.spritesheetUV,ts=e.sqrt,rs=e.stack,as=e.step,os=e.storage,is=e.storageBarrier,ns=e.storageObject,ss=e.storageTexture,ls=e.string,cs=e.sub,ms=e.subgroupIndex,ps=e.subgroupSize,ds=e.tan,us=e.tangentGeometry,gs=e.tangentLocal,hs=e.tangentView,fs=e.tangentWorld,xs=e.temp,bs=e.texture,ws=e.texture3D,vs=e.textureBarrier,Ss=e.textureBicubic,Ts=e.textureCubeUV,_s=e.textureLoad,Vs=e.textureSize,ys=e.textureStore,Ds=e.thickness,Ms=e.threshold,Fs=e.time,Cs=e.timerDelta,Is=e.timerGlobal,Ns=e.timerLocal,Ps=e.toOutputColorSpace,Rs=e.toWorkingColorSpace,Bs=e.toneMapping,ks=e.toneMappingExposure,Ls=e.toonOutlinePass,As=e.transformDirection,Gs=e.transformNormal,Os=e.transformNormalToView,Ws=e.transformedBentNormalView,js=e.transformedBitangentView,Us=e.transformedBitangentWorld,qs=e.transformedClearcoatNormalView,zs=e.transformedNormalView,Es=e.transformedNormalWorld,Zs=e.transformedTangentView,Xs=e.transformedTangentWorld,Ys=e.transmission,Hs=e.transpose,Js=e.tri,Ks=e.tri3,Qs=e.triNoise3D,$s=e.triplanarTexture,el=e.triplanarTextures,tl=e.trunc,rl=e.tslFn,al=e.uint,ol=e.uniform,il=e.uniformArray,nl=e.uniformGroup,sl=e.uniforms,ll=e.userData,cl=e.uv,ml=e.uvec2,pl=e.uvec3,dl=e.uvec4,ul=e.varying,gl=e.varyingProperty,hl=e.vec2,fl=e.vec3,xl=e.vec4,bl=e.vectorComponents,wl=e.velocity,vl=e.vertexColor,Sl=e.vertexIndex,Tl=e.vibrance,_l=e.viewZToLogarithmicDepth,Vl=e.viewZToOrthographicDepth,yl=e.viewZToPerspectiveDepth,Dl=e.viewport,Ml=e.viewportBottomLeft,Fl=e.viewportCoordinate,Cl=e.viewportDepthTexture,Il=e.viewportLinearDepth,Nl=e.viewportMipTexture,Pl=e.viewportResolution,Rl=e.viewportSafeUV,Bl=e.viewportSharedTexture,kl=e.viewportSize,Ll=e.viewportTexture,Al=e.viewportTopLeft,Gl=e.viewportUV,Ol=e.wgsl,Wl=e.wgslFn,jl=e.workgroupArray,Ul=e.workgroupBarrier,ql=e.workgroupId,zl=e.workingToColorSpace,El=e.xor;export{t as BRDF_GGX,r as BRDF_Lambert,a as BasicShadowFilter,o as Break,i as Continue,n as DFGApprox,s as D_GGX,l as Discard,c as EPSILON,m as F_Schlick,p as Fn,d as INFINITY,u as If,g as Loop,b as NodeAccess,h as NodeShaderStage,f as NodeType,x as NodeUpdateType,w as PCFShadowFilter,v as PCFSoftShadowFilter,S as PI,T as PI2,_ as Return,V as Schlick_to_F0,y as ScriptableNodeResources,D as ShaderNode,M as TBNViewMatrix,F as VSMShadowFilter,C as V_GGX_SmithCorrelated,I as abs,N as acesFilmicToneMapping,P as acos,R as add,B as addNodeElement,k as agxToneMapping,L as all,A as alphaT,G as and,O as anisotropy,W as anisotropyB,j as anisotropyT,U as any,q as append,z as arrayBuffer,E as asin,Z as assign,X as atan,Y as atan2,H as atomicAdd,J as atomicAnd,K as atomicFunc,Q as atomicMax,$ as atomicMin,ee as atomicOr,te as atomicStore,re as atomicSub,ae as atomicXor,oe as attenuationColor,ie as attenuationDistance,ne as attribute,se as attributeArray,le as backgroundBlurriness,ce as backgroundIntensity,me as backgroundRotation,pe as batch,de as billboarding,ue as bitAnd,ge as bitNot,he as bitOr,fe as bitXor,xe as bitangentGeometry,be as bitangentLocal,we as bitangentView,ve as bitangentWorld,Se as bitcast,Te as blendBurn,_e as blendColor,Ve as blendDodge,ye as blendOverlay,De as blendScreen,Me as blur,Fe as bool,Ce as buffer,Ie as bufferAttribute,Ne as bumpMap,Pe as burn,Re as bvec2,Be as bvec3,ke as bvec4,Le as bypass,Ae as cache,Ge as call,Oe as cameraFar,We as cameraNear,je as cameraNormalMatrix,Ue as cameraPosition,qe as cameraProjectionMatrix,ze as cameraProjectionMatrixInverse,Ee as cameraViewMatrix,Ze as cameraWorldMatrix,Xe as cbrt,Ye as cdl,He as ceil,Je as checker,Ke as cineonToneMapping,Qe as clamp,$e as clearcoat,et as clearcoatRoughness,tt as code,rt as color,at as colorSpaceToWorking,ot as colorToDirection,it as compute,nt as cond,st as context,lt as convert,ct as convertColorSpace,mt as convertToTexture,pt as cos,dt as cross,ut as cubeTexture,gt as dFdx,ht as dFdy,ft as dashSize,xt as defaultBuildStages,bt as defaultShaderStages,wt as defined,vt as degrees,St as deltaTime,Tt as densityFog,_t as densityFogFactor,Vt as depth,yt as depthPass,Dt as difference,Mt as diffuseColor,Ft as directPointLight,Ct as directionToColor,It as dispersion,Nt as distance,Pt as div,Rt as dodge,Bt as dot,kt as drawIndex,Lt as dynamicBufferAttribute,At as element,Gt as emissive,Ot as equal,Wt as equals,jt as equirectUV,Ut as exp,qt as exp2,zt as expression,Et as faceDirection,Zt as faceForward,Xt as faceforward,Yt as float,Ht as floor,Jt as fog,Kt as fract,Qt as frameGroup,$t as frameId,er as frontFacing,tr as fwidth,rr as gain,ar as gapSize,or as getConstNodeType,ir as getCurrentStack,nr as getDirection,sr as getDistanceAttenuation,lr as getGeometryRoughness,cr as getNormalFromDepth,mr as getParallaxCorrectNormal,pr as getRoughness,dr as getScreenPosition,ur as getShIrradianceAt,gr as getTextureIndex,hr as getViewPosition,fr as glsl,xr as glslFn,br as grayscale,wr as greaterThan,vr as greaterThanEqual,Sr as hash,Tr as highpModelNormalViewMatrix,_r as highpModelViewMatrix,Vr as hue,yr as instance,Dr as instanceIndex,Mr as instancedArray,Fr as instancedBufferAttribute,Cr as instancedDynamicBufferAttribute,Ir as instancedMesh,Nr as int,Pr as inverseSqrt,Rr as inversesqrt,Br as invocationLocalIndex,kr as invocationSubgroupIndex,Lr as ior,Ar as iridescence,Gr as iridescenceIOR,Or as iridescenceThickness,Wr as ivec2,jr as ivec3,Ur as ivec4,qr as js,zr as label,Er as length,Zr as lengthSq,Xr as lessThan,Yr as lessThanEqual,Hr as lightPosition,Jr as lightTargetDirection,Kr as lightTargetPosition,Qr as lightViewPosition,$r as lightingContext,ea as lights,ta as linearDepth,ra as linearToneMapping,aa as localId,oa as log,ia as log2,na as logarithmicDepthToViewZ,sa as loop,la as luminance,ma as mat2,pa as mat3,da as mat4,ua as matcapUV,ga as materialAO,ha as materialAlphaTest,fa as materialAnisotropy,xa as materialAnisotropyVector,ba as materialAttenuationColor,wa as materialAttenuationDistance,va as materialClearcoat,Sa as materialClearcoatNormal,Ta as materialClearcoatRoughness,_a as materialColor,Va as materialDispersion,ya as materialEmissive,Da as materialIOR,Ma as materialIridescence,Fa as materialIridescenceIOR,Ca as materialIridescenceThickness,Ia as materialLightMap,Na as materialLineDashOffset,Pa as materialLineDashSize,Ra as materialLineGapSize,Ba as materialLineScale,ka as materialLineWidth,La as materialMetalness,Aa as materialNormal,Ga as materialOpacity,Oa as materialPointWidth,Wa as materialReference,ja as materialReflectivity,Ua as materialRefractionRatio,qa as materialRotation,za as materialRoughness,Ea as materialSheen,Za as materialSheenRoughness,Xa as materialShininess,Ya as materialSpecular,Ha as materialSpecularColor,Ja as materialSpecularIntensity,Ka as materialSpecularStrength,Qa as materialThickness,$a as materialTransmission,eo as max,to as maxMipLevel,ca as mediumpModelViewMatrix,ro as metalness,ao as min,oo as mix,io as mixElement,no as mod,so as modInt,lo as modelDirection,co as modelNormalMatrix,mo as modelPosition,po as modelScale,uo as modelViewMatrix,go as modelViewPosition,ho as modelViewProjection,fo as modelWorldMatrix,xo as modelWorldMatrixInverse,bo as morphReference,wo as mrt,vo as mul,So as mx_aastep,To as mx_cell_noise_float,_o as mx_contrast,Vo as mx_fractal_noise_float,yo as mx_fractal_noise_vec2,Do as mx_fractal_noise_vec3,Mo as mx_fractal_noise_vec4,Fo as mx_hsvtorgb,Co as mx_noise_float,Io as mx_noise_vec3,No as mx_noise_vec4,Po as mx_ramplr,Ro as mx_ramptb,Bo as mx_rgbtohsv,ko as mx_safepower,Lo as mx_splitlr,Ao as mx_splittb,Go as mx_srgb_texture_to_lin_rec709,Oo as mx_transform_uv,Wo as mx_worley_noise_float,jo as mx_worley_noise_vec2,Uo as mx_worley_noise_vec3,qo as negate,zo as neutralToneMapping,Eo as nodeArray,Zo as nodeImmutable,Xo as nodeObject,Yo as nodeObjects,Ho as nodeProxy,Jo as normalFlat,Ko as normalGeometry,Qo as normalLocal,$o as normalMap,ei as normalView,ti as normalWorld,ri as normalize,ai as not,oi as notEqual,ii as numWorkgroups,ni as objectDirection,si as objectGroup,li as objectPosition,ci as objectScale,mi as objectViewPosition,pi as objectWorldMatrix,di as oneMinus,ui as or,gi as orthographicDepthToViewZ,hi as oscSawtooth,fi as oscSine,xi as oscSquare,bi as oscTriangle,wi as output,vi as outputStruct,Si as overlay,Ti as overloadingFn,_i as parabola,Vi as parallaxDirection,yi as parallaxUV,Di as parameter,Mi as pass,Fi as passTexture,Ci as pcurve,Ii as perspectiveDepthToViewZ,Ni as pmremTexture,Pi as pointUV,Ri as pointWidth,Bi as positionGeometry,ki as positionLocal,Li as positionPrevious,Ai as positionView,Gi as positionViewDirection,Oi as positionWorld,Wi as positionWorldDirection,ji as posterize,Ui as pow,qi as pow2,zi as pow3,Ei as pow4,Zi as property,Xi as radians,Yi as rand,Hi as range,Ji as rangeFog,Ki as rangeFogFactor,Qi as reciprocal,$i as reference,en as referenceBuffer,tn as reflect,rn as reflectVector,an as reflectView,on as reflector,nn as refract,sn as refractVector,ln as refractView,cn as reinhardToneMapping,mn as remainder,pn as remap,dn as remapClamp,un as renderGroup,gn as renderOutput,hn as rendererReference,fn as rotate,xn as rotateUV,bn as roughness,wn as round,vn as rtt,Sn as sRGBTransferEOTF,Tn as sRGBTransferOETF,_n as sampler,Vn as saturate,yn as saturation,Dn as screen,Mn as screenCoordinate,Fn as screenSize,Cn as screenUV,In as scriptable,Nn as scriptableValue,Pn as select,Rn as setCurrentStack,Bn as shaderStages,kn as shadow,Ln as shadowPositionWorld,An as sharedUniformGroup,Gn as sheen,On as sheenRoughness,Wn as shiftLeft,jn as shiftRight,Un as shininess,qn as sign,zn as sin,En as sinc,Zn as skinning,Xn as skinningReference,Yn as smoothstep,Hn as smoothstepElement,Jn as specularColor,Kn as specularF90,Qn as spherizeUV,$n as split,es as spritesheetUV,ts as sqrt,rs as stack,as as step,os as storage,is as storageBarrier,ns as storageObject,ss as storageTexture,ls as string,cs as sub,ms as subgroupIndex,ps as subgroupSize,ds as tan,us as tangentGeometry,gs as tangentLocal,hs as tangentView,fs as tangentWorld,xs as temp,bs as texture,ws as texture3D,vs as textureBarrier,Ss as textureBicubic,Ts as textureCubeUV,_s as textureLoad,Vs as textureSize,ys as textureStore,Ds as thickness,Ms as threshold,Fs as time,Cs as timerDelta,Is as timerGlobal,Ns as timerLocal,Ps as toOutputColorSpace,Rs as toWorkingColorSpace,Bs as toneMapping,ks as toneMappingExposure,Ls as toonOutlinePass,As as transformDirection,Gs as transformNormal,Os as transformNormalToView,Ws as transformedBentNormalView,js as transformedBitangentView,Us as transformedBitangentWorld,qs as transformedClearcoatNormalView,zs as transformedNormalView,Es as transformedNormalWorld,Zs as transformedTangentView,Xs as transformedTangentWorld,Ys as transmission,Hs as transpose,Js as tri,Ks as tri3,Qs as triNoise3D,$s as triplanarTexture,el as triplanarTextures,tl as trunc,rl as tslFn,al as uint,ol as uniform,il as uniformArray,nl as uniformGroup,sl as uniforms,ll as userData,cl as uv,ml as uvec2,pl as uvec3,dl as uvec4,ul as varying,gl as varyingProperty,hl as vec2,fl as vec3,xl as vec4,bl as vectorComponents,wl as velocity,vl as vertexColor,Sl as vertexIndex,Tl as vibrance,_l as viewZToLogarithmicDepth,Vl as viewZToOrthographicDepth,yl as viewZToPerspectiveDepth,Dl as viewport,Ml as viewportBottomLeft,Fl as viewportCoordinate,Cl as viewportDepthTexture,Il as viewportLinearDepth,Nl as viewportMipTexture,Pl as viewportResolution,Rl as viewportSafeUV,Bl as viewportSharedTexture,kl as viewportSize,Ll as viewportTexture,Al as viewportTopLeft,Gl as viewportUV,Ol as wgsl,Wl as wgslFn,jl as workgroupArray,Ul as workgroupBarrier,ql as workgroupId,zl as workingToColorSpace,El as xor};