super-three 0.172.0 → 0.173.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 (180) hide show
  1. package/LICENSE +1 -1
  2. package/build/three.cjs +439 -380
  3. package/build/three.core.js +413 -41
  4. package/build/three.core.min.js +2 -2
  5. package/build/three.module.js +28 -344
  6. package/build/three.module.min.js +2 -2
  7. package/build/three.tsl.js +11 -3
  8. package/build/three.tsl.min.js +2 -2
  9. package/build/three.webgpu.js +7550 -1798
  10. package/build/three.webgpu.min.js +2 -2
  11. package/build/three.webgpu.nodes.js +7551 -1798
  12. package/build/three.webgpu.nodes.min.js +2 -2
  13. package/examples/jsm/animation/CCDIKSolver.js +6 -5
  14. package/examples/jsm/capabilities/WebGPU.js +1 -1
  15. package/examples/jsm/controls/ArcballControls.js +23 -21
  16. package/examples/jsm/exporters/GLTFExporter.js +26 -25
  17. package/examples/jsm/geometries/TextGeometry.js +1 -12
  18. package/examples/jsm/interactive/InteractiveGroup.js +108 -51
  19. package/examples/jsm/libs/demuxer_mp4.js +109 -0
  20. package/examples/jsm/loaders/GCodeLoader.js +3 -1
  21. package/examples/jsm/loaders/GLTFLoader.js +0 -2
  22. package/examples/jsm/loaders/TDSLoader.js +0 -1
  23. package/examples/jsm/materials/MeshGouraudMaterial.js +2 -0
  24. package/examples/jsm/misc/GPUComputationRenderer.js +6 -7
  25. package/examples/jsm/misc/ProgressiveLightMap.js +4 -3
  26. package/examples/jsm/misc/ProgressiveLightMapGPU.js +4 -3
  27. package/examples/jsm/misc/Volume.js +7 -5
  28. package/examples/jsm/misc/VolumeSlice.js +5 -3
  29. package/examples/jsm/objects/WaterMesh.js +25 -20
  30. package/examples/jsm/physics/JoltPhysics.js +7 -7
  31. package/examples/jsm/physics/RapierPhysics.js +4 -4
  32. package/examples/jsm/postprocessing/EffectComposer.js +23 -2
  33. package/examples/jsm/postprocessing/OutputPass.js +2 -0
  34. package/examples/jsm/postprocessing/Pass.js +6 -1
  35. package/examples/jsm/shaders/OutputShader.js +5 -1
  36. package/examples/jsm/transpiler/GLSLDecoder.js +2 -2
  37. package/examples/jsm/transpiler/TSLEncoder.js +2 -0
  38. package/package.json +1 -1
  39. package/src/Three.Core.js +2 -0
  40. package/src/Three.TSL.js +9 -1
  41. package/src/cameras/ArrayCamera.js +1 -0
  42. package/src/constants.js +6 -1
  43. package/src/core/BufferAttribute.js +4 -0
  44. package/src/core/EventDispatcher.js +8 -6
  45. package/src/extras/ImageUtils.js +1 -11
  46. package/src/loaders/nodes/NodeObjectLoader.js +1 -1
  47. package/src/materials/nodes/MeshBasicNodeMaterial.js +1 -1
  48. package/src/materials/nodes/MeshPhysicalNodeMaterial.js +1 -1
  49. package/src/materials/nodes/NodeMaterial.js +5 -5
  50. package/src/materials/nodes/NodeMaterials.js +0 -1
  51. package/src/materials/nodes/PointsNodeMaterial.js +109 -7
  52. package/src/materials/nodes/SpriteNodeMaterial.js +1 -1
  53. package/src/materials/nodes/VolumeNodeMaterial.js +3 -3
  54. package/src/materials/nodes/manager/NodeMaterialObserver.js +8 -0
  55. package/src/nodes/Nodes.js +4 -0
  56. package/src/nodes/TSL.js +4 -0
  57. package/src/nodes/accessors/Arrays.js +30 -8
  58. package/src/nodes/accessors/BatchNode.js +3 -3
  59. package/src/nodes/accessors/BufferAttributeNode.js +1 -1
  60. package/src/nodes/accessors/Camera.js +64 -3
  61. package/src/nodes/accessors/InstanceNode.js +1 -1
  62. package/src/nodes/accessors/MaterialNode.js +9 -9
  63. package/src/nodes/accessors/ModelViewProjectionNode.js +1 -1
  64. package/src/nodes/accessors/Normal.js +6 -2
  65. package/src/nodes/accessors/Object3DNode.js +0 -1
  66. package/src/nodes/accessors/Position.js +6 -6
  67. package/src/nodes/accessors/ReferenceBaseNode.js +2 -4
  68. package/src/nodes/accessors/ReferenceNode.js +2 -3
  69. package/src/nodes/accessors/StorageBufferNode.js +42 -5
  70. package/src/nodes/accessors/Tangent.js +2 -2
  71. package/src/nodes/accessors/Texture3DNode.js +1 -1
  72. package/src/nodes/accessors/TextureNode.js +12 -5
  73. package/src/nodes/accessors/UniformArrayNode.js +9 -3
  74. package/src/nodes/accessors/VelocityNode.js +0 -2
  75. package/src/nodes/code/ScriptableNode.js +3 -3
  76. package/src/nodes/core/ArrayNode.js +125 -0
  77. package/src/nodes/core/ConstNode.js +8 -0
  78. package/src/nodes/core/Node.js +14 -1
  79. package/src/nodes/core/NodeBuilder.js +229 -19
  80. package/src/nodes/core/NodeUtils.js +11 -1
  81. package/src/nodes/core/NodeVar.js +17 -1
  82. package/src/nodes/core/OutputStructNode.js +19 -9
  83. package/src/nodes/core/StackNode.js +20 -1
  84. package/src/nodes/core/StructNode.js +121 -0
  85. package/src/nodes/core/StructType.js +13 -0
  86. package/src/nodes/core/StructTypeNode.js +82 -21
  87. package/src/nodes/core/TempNode.js +1 -1
  88. package/src/nodes/core/VarNode.js +94 -7
  89. package/src/nodes/core/VaryingNode.js +19 -3
  90. package/src/nodes/display/BlendModes.js +88 -1
  91. package/src/nodes/display/BumpMapNode.js +6 -6
  92. package/src/nodes/display/NormalMapNode.js +6 -6
  93. package/src/nodes/display/PassNode.js +3 -1
  94. package/src/nodes/display/ScreenNode.js +9 -0
  95. package/src/nodes/fog/Fog.js +17 -0
  96. package/src/nodes/gpgpu/AtomicFunctionNode.js +20 -4
  97. package/src/nodes/gpgpu/ComputeBuiltinNode.js +8 -0
  98. package/src/nodes/gpgpu/WorkgroupInfoNode.js +1 -1
  99. package/src/nodes/lighting/ShadowNode.js +1 -1
  100. package/src/nodes/math/ConditionalNode.js +8 -1
  101. package/src/nodes/math/MathNode.js +14 -1
  102. package/src/nodes/math/OperatorNode.js +96 -18
  103. package/src/nodes/pmrem/PMREMUtils.js +1 -1
  104. package/src/nodes/shapes/Shapes.js +33 -0
  105. package/src/nodes/tsl/TSLBase.js +1 -0
  106. package/src/nodes/tsl/TSLCore.js +22 -2
  107. package/src/nodes/utils/ArrayElementNode.js +1 -1
  108. package/src/nodes/utils/LoopNode.js +8 -1
  109. package/src/nodes/utils/MemberNode.js +68 -0
  110. package/src/nodes/utils/StorageArrayElementNode.js +14 -0
  111. package/src/nodes/utils/Timer.js +21 -0
  112. package/src/objects/BatchedMesh.js +1 -1
  113. package/src/objects/Line.js +6 -6
  114. package/src/renderers/WebGLRenderer.js +7 -0
  115. package/src/renderers/common/Animation.js +23 -1
  116. package/src/renderers/common/Backend.js +58 -15
  117. package/src/renderers/common/Background.js +14 -0
  118. package/src/renderers/common/Binding.js +1 -1
  119. package/src/renderers/common/BufferUtils.js +1 -1
  120. package/src/renderers/common/BundleGroup.js +1 -1
  121. package/src/renderers/common/ChainMap.js +9 -7
  122. package/src/renderers/common/ClippingContext.js +1 -1
  123. package/src/renderers/common/Color4.js +7 -3
  124. package/src/renderers/common/Geometries.js +2 -23
  125. package/src/renderers/common/Info.js +1 -45
  126. package/src/renderers/common/Lighting.js +8 -6
  127. package/src/renderers/common/Pipelines.js +3 -3
  128. package/src/renderers/common/PostProcessing.js +24 -8
  129. package/src/renderers/common/QuadMesh.js +1 -1
  130. package/src/renderers/common/RenderBundles.js +9 -3
  131. package/src/renderers/common/RenderContext.js +37 -3
  132. package/src/renderers/common/RenderContexts.js +30 -17
  133. package/src/renderers/common/RenderList.js +2 -2
  134. package/src/renderers/common/RenderLists.js +9 -3
  135. package/src/renderers/common/RenderObject.js +76 -17
  136. package/src/renderers/common/RenderObjects.js +9 -7
  137. package/src/renderers/common/Renderer.js +86 -67
  138. package/src/renderers/common/SampledTexture.js +0 -1
  139. package/src/renderers/common/StorageBufferAttribute.js +1 -1
  140. package/src/renderers/common/StorageInstancedBufferAttribute.js +1 -1
  141. package/src/renderers/common/StorageTexture.js +1 -1
  142. package/src/renderers/common/Textures.js +14 -7
  143. package/src/renderers/common/TimestampQueryPool.js +39 -0
  144. package/src/renderers/common/Uniform.js +37 -1
  145. package/src/renderers/common/UniformsGroup.js +2 -0
  146. package/src/renderers/common/XRManager.js +1193 -0
  147. package/src/renderers/common/XRRenderTarget.js +74 -0
  148. package/src/renderers/common/extras/PMREMGenerator.js +53 -8
  149. package/src/renderers/common/nodes/NodeBuilderState.js +4 -4
  150. package/src/renderers/common/nodes/NodeLibrary.js +5 -5
  151. package/src/renderers/common/nodes/NodeSampledTexture.js +0 -1
  152. package/src/renderers/common/nodes/NodeUniform.js +54 -2
  153. package/src/renderers/common/nodes/Nodes.js +25 -18
  154. package/src/renderers/webgl/WebGLBackground.js +4 -0
  155. package/src/renderers/webgl-fallback/WebGLBackend.js +295 -110
  156. package/src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js +347 -17
  157. package/src/renderers/webgl-fallback/utils/WebGLAttributeUtils.js +57 -0
  158. package/src/renderers/webgl-fallback/utils/WebGLCapabilities.js +28 -0
  159. package/src/renderers/webgl-fallback/utils/WebGLExtensions.js +45 -0
  160. package/src/renderers/webgl-fallback/utils/WebGLState.js +323 -11
  161. package/src/renderers/webgl-fallback/utils/WebGLTextureUtils.js +167 -21
  162. package/src/renderers/webgl-fallback/utils/WebGLTimestampQueryPool.js +359 -0
  163. package/src/renderers/webgl-fallback/utils/WebGLUtils.js +43 -0
  164. package/src/renderers/webgpu/WebGPUBackend.js +132 -149
  165. package/src/renderers/webgpu/WebGPURenderer.Nodes.js +6 -4
  166. package/src/renderers/webgpu/WebGPURenderer.js +5 -4
  167. package/src/renderers/webgpu/nodes/WGSLNodeBuilder.js +615 -41
  168. package/src/renderers/webgpu/utils/WebGPUAttributeUtils.js +85 -6
  169. package/src/renderers/webgpu/utils/WebGPUBindingUtils.js +85 -0
  170. package/src/renderers/webgpu/utils/WebGPUPipelineUtils.js +102 -3
  171. package/src/renderers/webgpu/utils/WebGPUTexturePassUtils.js +98 -1
  172. package/src/renderers/webgpu/utils/WebGPUTextureUtils.js +257 -9
  173. package/src/renderers/webgpu/utils/WebGPUTimestampQueryPool.js +274 -0
  174. package/src/renderers/webgpu/utils/WebGPUUtils.js +86 -4
  175. package/src/renderers/webxr/WebXRManager.js +13 -2
  176. package/src/textures/VideoFrameTexture.js +35 -0
  177. package/examples/jsm/geometries/InstancedPointsGeometry.js +0 -176
  178. package/examples/jsm/objects/InstancedPoints.js +0 -19
  179. package/src/materials/nodes/InstancedPointsNodeMaterial.js +0 -209
  180. package/src/nodes/accessors/InstancedPointsMaterialNode.js +0 -37
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright 2010-2024 Three.js Authors
3
+ * Copyright 2010-2025 Three.js Authors
4
4
  * SPDX-License-Identifier: MIT
5
5
  */
6
6
  import { TSL } from 'three/webgpu';
@@ -48,6 +48,7 @@ const anisotropyB = TSL.anisotropyB;
48
48
  const anisotropyT = TSL.anisotropyT;
49
49
  const any = TSL.any;
50
50
  const append = TSL.append;
51
+ const array = TSL.array;
51
52
  const arrayBuffer = TSL.arrayBuffer;
52
53
  const asin = TSL.asin;
53
54
  const assign = TSL.assign;
@@ -62,6 +63,7 @@ const atomicOr = TSL.atomicOr;
62
63
  const atomicStore = TSL.atomicStore;
63
64
  const atomicSub = TSL.atomicSub;
64
65
  const atomicXor = TSL.atomicXor;
66
+ const atomicLoad = TSL.atomicLoad;
65
67
  const attenuationColor = TSL.attenuationColor;
66
68
  const attenuationDistance = TSL.attenuationDistance;
67
69
  const attribute = TSL.attribute;
@@ -98,6 +100,7 @@ const bypass = TSL.bypass;
98
100
  const cache = TSL.cache;
99
101
  const call = TSL.call;
100
102
  const cameraFar = TSL.cameraFar;
103
+ const cameraIndex = TSL.cameraIndex;
101
104
  const cameraNear = TSL.cameraNear;
102
105
  const cameraNormalMatrix = TSL.cameraNormalMatrix;
103
106
  const cameraPosition = TSL.cameraPosition;
@@ -119,6 +122,7 @@ const colorSpaceToWorking = TSL.colorSpaceToWorking;
119
122
  const colorToDirection = TSL.colorToDirection;
120
123
  const compute = TSL.compute;
121
124
  const cond = TSL.cond;
125
+ const Const = TSL.Const;
122
126
  const context = TSL.context;
123
127
  const convert = TSL.convert;
124
128
  const convertColorSpace = TSL.convertColorSpace;
@@ -224,6 +228,7 @@ const lights = TSL.lights;
224
228
  const linearDepth = TSL.linearDepth;
225
229
  const linearToneMapping = TSL.linearToneMapping;
226
230
  const localId = TSL.localId;
231
+ const globalId = TSL.globalId;
227
232
  const log = TSL.log;
228
233
  const log2 = TSL.log2;
229
234
  const logarithmicDepthToViewZ = TSL.logarithmicDepthToViewZ;
@@ -259,7 +264,7 @@ const materialLineWidth = TSL.materialLineWidth;
259
264
  const materialMetalness = TSL.materialMetalness;
260
265
  const materialNormal = TSL.materialNormal;
261
266
  const materialOpacity = TSL.materialOpacity;
262
- const materialPointWidth = TSL.materialPointWidth;
267
+ const materialPointSize = TSL.materialPointSize;
263
268
  const materialReference = TSL.materialReference;
264
269
  const materialReflectivity = TSL.materialReflectivity;
265
270
  const materialRefractionRatio = TSL.materialRefractionRatio;
@@ -418,6 +423,7 @@ const shaderStages = TSL.shaderStages;
418
423
  const shadow = TSL.shadow;
419
424
  const shadowPositionWorld = TSL.shadowPositionWorld;
420
425
  const sharedUniformGroup = TSL.sharedUniformGroup;
426
+ const shapeCircle = TSL.shapeCircle;
421
427
  const sheen = TSL.sheen;
422
428
  const sheenRoughness = TSL.sheenRoughness;
423
429
  const shiftLeft = TSL.shiftLeft;
@@ -443,6 +449,7 @@ const storageBarrier = TSL.storageBarrier;
443
449
  const storageObject = TSL.storageObject;
444
450
  const storageTexture = TSL.storageTexture;
445
451
  const string = TSL.string;
452
+ const struct = TSL.struct;
446
453
  const sub = TSL.sub;
447
454
  const subgroupIndex = TSL.subgroupIndex;
448
455
  const subgroupSize = TSL.subgroupSize;
@@ -501,6 +508,7 @@ const uv = TSL.uv;
501
508
  const uvec2 = TSL.uvec2;
502
509
  const uvec3 = TSL.uvec3;
503
510
  const uvec4 = TSL.uvec4;
511
+ const Var = TSL.Var;
504
512
  const varying = TSL.varying;
505
513
  const varyingProperty = TSL.varyingProperty;
506
514
  const vec2 = TSL.vec2;
@@ -535,4 +543,4 @@ const workgroupId = TSL.workgroupId;
535
543
  const workingToColorSpace = TSL.workingToColorSpace;
536
544
  const xor = TSL.xor;
537
545
 
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 };
546
+ export { BRDF_GGX, BRDF_Lambert, BasicShadowFilter, Break, Const, 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, Var, abs, acesFilmicToneMapping, acos, add, addNodeElement, agxToneMapping, all, alphaT, and, anisotropy, anisotropyB, anisotropyT, any, append, array, arrayBuffer, asin, assign, atan, atan2, atomicAdd, atomicAnd, atomicFunc, atomicLoad, 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, cameraIndex, 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, globalId, 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, materialPointSize, 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, shapeCircle, 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, struct, 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 };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright 2010-2024 Three.js Authors
3
+ * Copyright 2010-2025 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,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};
6
+ import{TSL as e}from"three/webgpu";const r=e.BRDF_GGX,t=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,L=e.agxToneMapping,k=e.all,A=e.alphaT,G=e.and,O=e.anisotropy,W=e.anisotropyB,j=e.anisotropyT,U=e.any,z=e.append,q=e.array,E=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,re=e.atomicOr,te=e.atomicStore,ae=e.atomicSub,oe=e.atomicXor,ie=e.atomicLoad,ne=e.attenuationColor,se=e.attenuationDistance,le=e.attribute,ce=e.attributeArray,me=e.backgroundBlurriness,pe=e.backgroundIntensity,de=e.backgroundRotation,ue=e.batch,ge=e.billboarding,he=e.bitAnd,fe=e.bitNot,xe=e.bitOr,be=e.bitXor,we=e.bitangentGeometry,ve=e.bitangentLocal,Se=e.bitangentView,Te=e.bitangentWorld,_e=e.bitcast,Ve=e.blendBurn,ye=e.blendColor,De=e.blendDodge,Me=e.blendOverlay,Fe=e.blendScreen,Ce=e.blur,Ie=e.bool,Ne=e.buffer,Pe=e.bufferAttribute,Re=e.bumpMap,Be=e.burn,Le=e.bvec2,ke=e.bvec3,Ae=e.bvec4,Ge=e.bypass,Oe=e.cache,We=e.call,je=e.cameraFar,Ue=e.cameraIndex,ze=e.cameraNear,qe=e.cameraNormalMatrix,Ee=e.cameraPosition,Ze=e.cameraProjectionMatrix,Xe=e.cameraProjectionMatrixInverse,Ye=e.cameraViewMatrix,He=e.cameraWorldMatrix,Je=e.cbrt,Ke=e.cdl,Qe=e.ceil,$e=e.checker,er=e.cineonToneMapping,rr=e.clamp,tr=e.clearcoat,ar=e.clearcoatRoughness,or=e.code,ir=e.color,nr=e.colorSpaceToWorking,sr=e.colorToDirection,lr=e.compute,cr=e.cond,mr=e.Const,pr=e.context,dr=e.convert,ur=e.convertColorSpace,gr=e.convertToTexture,hr=e.cos,fr=e.cross,xr=e.cubeTexture,br=e.dFdx,wr=e.dFdy,vr=e.dashSize,Sr=e.defaultBuildStages,Tr=e.defaultShaderStages,_r=e.defined,Vr=e.degrees,yr=e.deltaTime,Dr=e.densityFog,Mr=e.densityFogFactor,Fr=e.depth,Cr=e.depthPass,Ir=e.difference,Nr=e.diffuseColor,Pr=e.directPointLight,Rr=e.directionToColor,Br=e.dispersion,Lr=e.distance,kr=e.div,Ar=e.dodge,Gr=e.dot,Or=e.drawIndex,Wr=e.dynamicBufferAttribute,jr=e.element,Ur=e.emissive,zr=e.equal,qr=e.equals,Er=e.equirectUV,Zr=e.exp,Xr=e.exp2,Yr=e.expression,Hr=e.faceDirection,Jr=e.faceForward,Kr=e.faceforward,Qr=e.float,$r=e.floor,et=e.fog,rt=e.fract,tt=e.frameGroup,at=e.frameId,ot=e.frontFacing,it=e.fwidth,nt=e.gain,st=e.gapSize,lt=e.getConstNodeType,ct=e.getCurrentStack,mt=e.getDirection,pt=e.getDistanceAttenuation,dt=e.getGeometryRoughness,ut=e.getNormalFromDepth,gt=e.getParallaxCorrectNormal,ht=e.getRoughness,ft=e.getScreenPosition,xt=e.getShIrradianceAt,bt=e.getTextureIndex,wt=e.getViewPosition,vt=e.glsl,St=e.glslFn,Tt=e.grayscale,_t=e.greaterThan,Vt=e.greaterThanEqual,yt=e.hash,Dt=e.highpModelNormalViewMatrix,Mt=e.highpModelViewMatrix,Ft=e.hue,Ct=e.instance,It=e.instanceIndex,Nt=e.instancedArray,Pt=e.instancedBufferAttribute,Rt=e.instancedDynamicBufferAttribute,Bt=e.instancedMesh,Lt=e.int,kt=e.inverseSqrt,At=e.inversesqrt,Gt=e.invocationLocalIndex,Ot=e.invocationSubgroupIndex,Wt=e.ior,jt=e.iridescence,Ut=e.iridescenceIOR,zt=e.iridescenceThickness,qt=e.ivec2,Et=e.ivec3,Zt=e.ivec4,Xt=e.js,Yt=e.label,Ht=e.length,Jt=e.lengthSq,Kt=e.lessThan,Qt=e.lessThanEqual,$t=e.lightPosition,ea=e.lightTargetDirection,ra=e.lightTargetPosition,ta=e.lightViewPosition,aa=e.lightingContext,oa=e.lights,ia=e.linearDepth,na=e.linearToneMapping,sa=e.localId,la=e.globalId,ca=e.log,ma=e.log2,pa=e.logarithmicDepthToViewZ,da=e.loop,ua=e.luminance,ga=e.mediumpModelViewMatrix,ha=e.mat2,fa=e.mat3,xa=e.mat4,ba=e.matcapUV,wa=e.materialAO,va=e.materialAlphaTest,Sa=e.materialAnisotropy,Ta=e.materialAnisotropyVector,_a=e.materialAttenuationColor,Va=e.materialAttenuationDistance,ya=e.materialClearcoat,Da=e.materialClearcoatNormal,Ma=e.materialClearcoatRoughness,Fa=e.materialColor,Ca=e.materialDispersion,Ia=e.materialEmissive,Na=e.materialIOR,Pa=e.materialIridescence,Ra=e.materialIridescenceIOR,Ba=e.materialIridescenceThickness,La=e.materialLightMap,ka=e.materialLineDashOffset,Aa=e.materialLineDashSize,Ga=e.materialLineGapSize,Oa=e.materialLineScale,Wa=e.materialLineWidth,ja=e.materialMetalness,Ua=e.materialNormal,za=e.materialOpacity,qa=e.materialPointSize,Ea=e.materialReference,Za=e.materialReflectivity,Xa=e.materialRefractionRatio,Ya=e.materialRotation,Ha=e.materialRoughness,Ja=e.materialSheen,Ka=e.materialSheenRoughness,Qa=e.materialShininess,$a=e.materialSpecular,eo=e.materialSpecularColor,ro=e.materialSpecularIntensity,to=e.materialSpecularStrength,ao=e.materialThickness,oo=e.materialTransmission,io=e.max,no=e.maxMipLevel,so=e.metalness,lo=e.min,co=e.mix,mo=e.mixElement,po=e.mod,uo=e.modInt,go=e.modelDirection,ho=e.modelNormalMatrix,fo=e.modelPosition,xo=e.modelScale,bo=e.modelViewMatrix,wo=e.modelViewPosition,vo=e.modelViewProjection,So=e.modelWorldMatrix,To=e.modelWorldMatrixInverse,_o=e.morphReference,Vo=e.mrt,yo=e.mul,Do=e.mx_aastep,Mo=e.mx_cell_noise_float,Fo=e.mx_contrast,Co=e.mx_fractal_noise_float,Io=e.mx_fractal_noise_vec2,No=e.mx_fractal_noise_vec3,Po=e.mx_fractal_noise_vec4,Ro=e.mx_hsvtorgb,Bo=e.mx_noise_float,Lo=e.mx_noise_vec3,ko=e.mx_noise_vec4,Ao=e.mx_ramplr,Go=e.mx_ramptb,Oo=e.mx_rgbtohsv,Wo=e.mx_safepower,jo=e.mx_splitlr,Uo=e.mx_splittb,zo=e.mx_srgb_texture_to_lin_rec709,qo=e.mx_transform_uv,Eo=e.mx_worley_noise_float,Zo=e.mx_worley_noise_vec2,Xo=e.mx_worley_noise_vec3,Yo=e.negate,Ho=e.neutralToneMapping,Jo=e.nodeArray,Ko=e.nodeImmutable,Qo=e.nodeObject,$o=e.nodeObjects,ei=e.nodeProxy,ri=e.normalFlat,ti=e.normalGeometry,ai=e.normalLocal,oi=e.normalMap,ii=e.normalView,ni=e.normalWorld,si=e.normalize,li=e.not,ci=e.notEqual,mi=e.numWorkgroups,pi=e.objectDirection,di=e.objectGroup,ui=e.objectPosition,gi=e.objectScale,hi=e.objectViewPosition,fi=e.objectWorldMatrix,xi=e.oneMinus,bi=e.or,wi=e.orthographicDepthToViewZ,vi=e.oscSawtooth,Si=e.oscSine,Ti=e.oscSquare,_i=e.oscTriangle,Vi=e.output,yi=e.outputStruct,Di=e.overlay,Mi=e.overloadingFn,Fi=e.parabola,Ci=e.parallaxDirection,Ii=e.parallaxUV,Ni=e.parameter,Pi=e.pass,Ri=e.passTexture,Bi=e.pcurve,Li=e.perspectiveDepthToViewZ,ki=e.pmremTexture,Ai=e.pointUV,Gi=e.pointWidth,Oi=e.positionGeometry,Wi=e.positionLocal,ji=e.positionPrevious,Ui=e.positionView,zi=e.positionViewDirection,qi=e.positionWorld,Ei=e.positionWorldDirection,Zi=e.posterize,Xi=e.pow,Yi=e.pow2,Hi=e.pow3,Ji=e.pow4,Ki=e.property,Qi=e.radians,$i=e.rand,en=e.range,rn=e.rangeFog,tn=e.rangeFogFactor,an=e.reciprocal,on=e.reference,nn=e.referenceBuffer,sn=e.reflect,ln=e.reflectVector,cn=e.reflectView,mn=e.reflector,pn=e.refract,dn=e.refractVector,un=e.refractView,gn=e.reinhardToneMapping,hn=e.remainder,fn=e.remap,xn=e.remapClamp,bn=e.renderGroup,wn=e.renderOutput,vn=e.rendererReference,Sn=e.rotate,Tn=e.rotateUV,_n=e.roughness,Vn=e.round,yn=e.rtt,Dn=e.sRGBTransferEOTF,Mn=e.sRGBTransferOETF,Fn=e.sampler,Cn=e.saturate,In=e.saturation,Nn=e.screen,Pn=e.screenCoordinate,Rn=e.screenSize,Bn=e.screenUV,Ln=e.scriptable,kn=e.scriptableValue,An=e.select,Gn=e.setCurrentStack,On=e.shaderStages,Wn=e.shadow,jn=e.shadowPositionWorld,Un=e.sharedUniformGroup,zn=e.shapeCircle,qn=e.sheen,En=e.sheenRoughness,Zn=e.shiftLeft,Xn=e.shiftRight,Yn=e.shininess,Hn=e.sign,Jn=e.sin,Kn=e.sinc,Qn=e.skinning,$n=e.skinningReference,es=e.smoothstep,rs=e.smoothstepElement,ts=e.specularColor,as=e.specularF90,os=e.spherizeUV,is=e.split,ns=e.spritesheetUV,ss=e.sqrt,ls=e.stack,cs=e.step,ms=e.storage,ps=e.storageBarrier,ds=e.storageObject,us=e.storageTexture,gs=e.string,hs=e.struct,fs=e.sub,xs=e.subgroupIndex,bs=e.subgroupSize,ws=e.tan,vs=e.tangentGeometry,Ss=e.tangentLocal,Ts=e.tangentView,_s=e.tangentWorld,Vs=e.temp,ys=e.texture,Ds=e.texture3D,Ms=e.textureBarrier,Fs=e.textureBicubic,Cs=e.textureCubeUV,Is=e.textureLoad,Ns=e.textureSize,Ps=e.textureStore,Rs=e.thickness,Bs=e.threshold,Ls=e.time,ks=e.timerDelta,As=e.timerGlobal,Gs=e.timerLocal,Os=e.toOutputColorSpace,Ws=e.toWorkingColorSpace,js=e.toneMapping,Us=e.toneMappingExposure,zs=e.toonOutlinePass,qs=e.transformDirection,Es=e.transformNormal,Zs=e.transformNormalToView,Xs=e.transformedBentNormalView,Ys=e.transformedBitangentView,Hs=e.transformedBitangentWorld,Js=e.transformedClearcoatNormalView,Ks=e.transformedNormalView,Qs=e.transformedNormalWorld,$s=e.transformedTangentView,el=e.transformedTangentWorld,rl=e.transmission,tl=e.transpose,al=e.tri,ol=e.tri3,il=e.triNoise3D,nl=e.triplanarTexture,sl=e.triplanarTextures,ll=e.trunc,cl=e.tslFn,ml=e.uint,pl=e.uniform,dl=e.uniformArray,ul=e.uniformGroup,gl=e.uniforms,hl=e.userData,fl=e.uv,xl=e.uvec2,bl=e.uvec3,wl=e.uvec4,vl=e.Var,Sl=e.varying,Tl=e.varyingProperty,_l=e.vec2,Vl=e.vec3,yl=e.vec4,Dl=e.vectorComponents,Ml=e.velocity,Fl=e.vertexColor,Cl=e.vertexIndex,Il=e.vibrance,Nl=e.viewZToLogarithmicDepth,Pl=e.viewZToOrthographicDepth,Rl=e.viewZToPerspectiveDepth,Bl=e.viewport,Ll=e.viewportBottomLeft,kl=e.viewportCoordinate,Al=e.viewportDepthTexture,Gl=e.viewportLinearDepth,Ol=e.viewportMipTexture,Wl=e.viewportResolution,jl=e.viewportSafeUV,Ul=e.viewportSharedTexture,zl=e.viewportSize,ql=e.viewportTexture,El=e.viewportTopLeft,Zl=e.viewportUV,Xl=e.wgsl,Yl=e.wgslFn,Hl=e.workgroupArray,Jl=e.workgroupBarrier,Kl=e.workgroupId,Ql=e.workingToColorSpace,$l=e.xor;export{r as BRDF_GGX,t as BRDF_Lambert,a as BasicShadowFilter,o as Break,mr as Const,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,vl as Var,I as abs,N as acesFilmicToneMapping,P as acos,R as add,B as addNodeElement,L as agxToneMapping,k as all,A as alphaT,G as and,O as anisotropy,W as anisotropyB,j as anisotropyT,U as any,z as append,q as array,E as arrayBuffer,Z as asin,X as assign,Y as atan,H as atan2,J as atomicAdd,K as atomicAnd,Q as atomicFunc,ie as atomicLoad,$ as atomicMax,ee as atomicMin,re as atomicOr,te as atomicStore,ae as atomicSub,oe as atomicXor,ne as attenuationColor,se as attenuationDistance,le as attribute,ce as attributeArray,me as backgroundBlurriness,pe as backgroundIntensity,de as backgroundRotation,ue as batch,ge as billboarding,he as bitAnd,fe as bitNot,xe as bitOr,be as bitXor,we as bitangentGeometry,ve as bitangentLocal,Se as bitangentView,Te as bitangentWorld,_e as bitcast,Ve as blendBurn,ye as blendColor,De as blendDodge,Me as blendOverlay,Fe as blendScreen,Ce as blur,Ie as bool,Ne as buffer,Pe as bufferAttribute,Re as bumpMap,Be as burn,Le as bvec2,ke as bvec3,Ae as bvec4,Ge as bypass,Oe as cache,We as call,je as cameraFar,Ue as cameraIndex,ze as cameraNear,qe as cameraNormalMatrix,Ee as cameraPosition,Ze as cameraProjectionMatrix,Xe as cameraProjectionMatrixInverse,Ye as cameraViewMatrix,He as cameraWorldMatrix,Je as cbrt,Ke as cdl,Qe as ceil,$e as checker,er as cineonToneMapping,rr as clamp,tr as clearcoat,ar as clearcoatRoughness,or as code,ir as color,nr as colorSpaceToWorking,sr as colorToDirection,lr as compute,cr as cond,pr as context,dr as convert,ur as convertColorSpace,gr as convertToTexture,hr as cos,fr as cross,xr as cubeTexture,br as dFdx,wr as dFdy,vr as dashSize,Sr as defaultBuildStages,Tr as defaultShaderStages,_r as defined,Vr as degrees,yr as deltaTime,Dr as densityFog,Mr as densityFogFactor,Fr as depth,Cr as depthPass,Ir as difference,Nr as diffuseColor,Pr as directPointLight,Rr as directionToColor,Br as dispersion,Lr as distance,kr as div,Ar as dodge,Gr as dot,Or as drawIndex,Wr as dynamicBufferAttribute,jr as element,Ur as emissive,zr as equal,qr as equals,Er as equirectUV,Zr as exp,Xr as exp2,Yr as expression,Hr as faceDirection,Jr as faceForward,Kr as faceforward,Qr as float,$r as floor,et as fog,rt as fract,tt as frameGroup,at as frameId,ot as frontFacing,it as fwidth,nt as gain,st as gapSize,lt as getConstNodeType,ct as getCurrentStack,mt as getDirection,pt as getDistanceAttenuation,dt as getGeometryRoughness,ut as getNormalFromDepth,gt as getParallaxCorrectNormal,ht as getRoughness,ft as getScreenPosition,xt as getShIrradianceAt,bt as getTextureIndex,wt as getViewPosition,la as globalId,vt as glsl,St as glslFn,Tt as grayscale,_t as greaterThan,Vt as greaterThanEqual,yt as hash,Dt as highpModelNormalViewMatrix,Mt as highpModelViewMatrix,Ft as hue,Ct as instance,It as instanceIndex,Nt as instancedArray,Pt as instancedBufferAttribute,Rt as instancedDynamicBufferAttribute,Bt as instancedMesh,Lt as int,kt as inverseSqrt,At as inversesqrt,Gt as invocationLocalIndex,Ot as invocationSubgroupIndex,Wt as ior,jt as iridescence,Ut as iridescenceIOR,zt as iridescenceThickness,qt as ivec2,Et as ivec3,Zt as ivec4,Xt as js,Yt as label,Ht as length,Jt as lengthSq,Kt as lessThan,Qt as lessThanEqual,$t as lightPosition,ea as lightTargetDirection,ra as lightTargetPosition,ta as lightViewPosition,aa as lightingContext,oa as lights,ia as linearDepth,na as linearToneMapping,sa as localId,ca as log,ma as log2,pa as logarithmicDepthToViewZ,da as loop,ua as luminance,ha as mat2,fa as mat3,xa as mat4,ba as matcapUV,wa as materialAO,va as materialAlphaTest,Sa as materialAnisotropy,Ta as materialAnisotropyVector,_a as materialAttenuationColor,Va as materialAttenuationDistance,ya as materialClearcoat,Da as materialClearcoatNormal,Ma as materialClearcoatRoughness,Fa as materialColor,Ca as materialDispersion,Ia as materialEmissive,Na as materialIOR,Pa as materialIridescence,Ra as materialIridescenceIOR,Ba as materialIridescenceThickness,La as materialLightMap,ka as materialLineDashOffset,Aa as materialLineDashSize,Ga as materialLineGapSize,Oa as materialLineScale,Wa as materialLineWidth,ja as materialMetalness,Ua as materialNormal,za as materialOpacity,qa as materialPointSize,Ea as materialReference,Za as materialReflectivity,Xa as materialRefractionRatio,Ya as materialRotation,Ha as materialRoughness,Ja as materialSheen,Ka as materialSheenRoughness,Qa as materialShininess,$a as materialSpecular,eo as materialSpecularColor,ro as materialSpecularIntensity,to as materialSpecularStrength,ao as materialThickness,oo as materialTransmission,io as max,no as maxMipLevel,ga as mediumpModelViewMatrix,so as metalness,lo as min,co as mix,mo as mixElement,po as mod,uo as modInt,go as modelDirection,ho as modelNormalMatrix,fo as modelPosition,xo as modelScale,bo as modelViewMatrix,wo as modelViewPosition,vo as modelViewProjection,So as modelWorldMatrix,To as modelWorldMatrixInverse,_o as morphReference,Vo as mrt,yo as mul,Do as mx_aastep,Mo as mx_cell_noise_float,Fo as mx_contrast,Co as mx_fractal_noise_float,Io as mx_fractal_noise_vec2,No as mx_fractal_noise_vec3,Po as mx_fractal_noise_vec4,Ro as mx_hsvtorgb,Bo as mx_noise_float,Lo as mx_noise_vec3,ko as mx_noise_vec4,Ao as mx_ramplr,Go as mx_ramptb,Oo as mx_rgbtohsv,Wo as mx_safepower,jo as mx_splitlr,Uo as mx_splittb,zo as mx_srgb_texture_to_lin_rec709,qo as mx_transform_uv,Eo as mx_worley_noise_float,Zo as mx_worley_noise_vec2,Xo as mx_worley_noise_vec3,Yo as negate,Ho as neutralToneMapping,Jo as nodeArray,Ko as nodeImmutable,Qo as nodeObject,$o as nodeObjects,ei as nodeProxy,ri as normalFlat,ti as normalGeometry,ai as normalLocal,oi as normalMap,ii as normalView,ni as normalWorld,si as normalize,li as not,ci as notEqual,mi as numWorkgroups,pi as objectDirection,di as objectGroup,ui as objectPosition,gi as objectScale,hi as objectViewPosition,fi as objectWorldMatrix,xi as oneMinus,bi as or,wi as orthographicDepthToViewZ,vi as oscSawtooth,Si as oscSine,Ti as oscSquare,_i as oscTriangle,Vi as output,yi as outputStruct,Di as overlay,Mi as overloadingFn,Fi as parabola,Ci as parallaxDirection,Ii as parallaxUV,Ni as parameter,Pi as pass,Ri as passTexture,Bi as pcurve,Li as perspectiveDepthToViewZ,ki as pmremTexture,Ai as pointUV,Gi as pointWidth,Oi as positionGeometry,Wi as positionLocal,ji as positionPrevious,Ui as positionView,zi as positionViewDirection,qi as positionWorld,Ei as positionWorldDirection,Zi as posterize,Xi as pow,Yi as pow2,Hi as pow3,Ji as pow4,Ki as property,Qi as radians,$i as rand,en as range,rn as rangeFog,tn as rangeFogFactor,an as reciprocal,on as reference,nn as referenceBuffer,sn as reflect,ln as reflectVector,cn as reflectView,mn as reflector,pn as refract,dn as refractVector,un as refractView,gn as reinhardToneMapping,hn as remainder,fn as remap,xn as remapClamp,bn as renderGroup,wn as renderOutput,vn as rendererReference,Sn as rotate,Tn as rotateUV,_n as roughness,Vn as round,yn as rtt,Dn as sRGBTransferEOTF,Mn as sRGBTransferOETF,Fn as sampler,Cn as saturate,In as saturation,Nn as screen,Pn as screenCoordinate,Rn as screenSize,Bn as screenUV,Ln as scriptable,kn as scriptableValue,An as select,Gn as setCurrentStack,On as shaderStages,Wn as shadow,jn as shadowPositionWorld,zn as shapeCircle,Un as sharedUniformGroup,qn as sheen,En as sheenRoughness,Zn as shiftLeft,Xn as shiftRight,Yn as shininess,Hn as sign,Jn as sin,Kn as sinc,Qn as skinning,$n as skinningReference,es as smoothstep,rs as smoothstepElement,ts as specularColor,as as specularF90,os as spherizeUV,is as split,ns as spritesheetUV,ss as sqrt,ls as stack,cs as step,ms as storage,ps as storageBarrier,ds as storageObject,us as storageTexture,gs as string,hs as struct,fs as sub,xs as subgroupIndex,bs as subgroupSize,ws as tan,vs as tangentGeometry,Ss as tangentLocal,Ts as tangentView,_s as tangentWorld,Vs as temp,ys as texture,Ds as texture3D,Ms as textureBarrier,Fs as textureBicubic,Cs as textureCubeUV,Is as textureLoad,Ns as textureSize,Ps as textureStore,Rs as thickness,Bs as threshold,Ls as time,ks as timerDelta,As as timerGlobal,Gs as timerLocal,Os as toOutputColorSpace,Ws as toWorkingColorSpace,js as toneMapping,Us as toneMappingExposure,zs as toonOutlinePass,qs as transformDirection,Es as transformNormal,Zs as transformNormalToView,Xs as transformedBentNormalView,Ys as transformedBitangentView,Hs as transformedBitangentWorld,Js as transformedClearcoatNormalView,Ks as transformedNormalView,Qs as transformedNormalWorld,$s as transformedTangentView,el as transformedTangentWorld,rl as transmission,tl as transpose,al as tri,ol as tri3,il as triNoise3D,nl as triplanarTexture,sl as triplanarTextures,ll as trunc,cl as tslFn,ml as uint,pl as uniform,dl as uniformArray,ul as uniformGroup,gl as uniforms,hl as userData,fl as uv,xl as uvec2,bl as uvec3,wl as uvec4,Sl as varying,Tl as varyingProperty,_l as vec2,Vl as vec3,yl as vec4,Dl as vectorComponents,Ml as velocity,Fl as vertexColor,Cl as vertexIndex,Il as vibrance,Nl as viewZToLogarithmicDepth,Pl as viewZToOrthographicDepth,Rl as viewZToPerspectiveDepth,Bl as viewport,Ll as viewportBottomLeft,kl as viewportCoordinate,Al as viewportDepthTexture,Gl as viewportLinearDepth,Ol as viewportMipTexture,Wl as viewportResolution,jl as viewportSafeUV,Ul as viewportSharedTexture,zl as viewportSize,ql as viewportTexture,El as viewportTopLeft,Zl as viewportUV,Xl as wgsl,Yl as wgslFn,Hl as workgroupArray,Jl as workgroupBarrier,Kl as workgroupId,Ql as workingToColorSpace,$l as xor};