@plastic-software/three 0.178.0 → 0.180.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 (245) hide show
  1. package/README.md +1 -1
  2. package/build/three.cjs +950 -230
  3. package/build/three.core.js +754 -138
  4. package/build/three.core.min.js +1 -1
  5. package/build/three.module.js +197 -96
  6. package/build/three.module.min.js +1 -1
  7. package/build/three.tsl.js +99 -25
  8. package/build/three.tsl.min.js +1 -1
  9. package/build/three.webgpu.js +4586 -1499
  10. package/build/three.webgpu.min.js +1 -1
  11. package/build/three.webgpu.nodes.js +4544 -1499
  12. package/build/three.webgpu.nodes.min.js +1 -1
  13. package/examples/jsm/Addons.js +2 -3
  14. package/examples/jsm/capabilities/WebGPU.js +1 -1
  15. package/examples/jsm/controls/ArcballControls.js +7 -7
  16. package/examples/jsm/controls/DragControls.js +6 -56
  17. package/examples/jsm/controls/FirstPersonControls.js +2 -2
  18. package/examples/jsm/controls/PointerLockControls.js +0 -8
  19. package/examples/jsm/csm/CSMShadowNode.js +4 -4
  20. package/examples/jsm/environments/RoomEnvironment.js +8 -3
  21. package/examples/jsm/exporters/GLTFExporter.js +30 -22
  22. package/examples/jsm/exporters/KTX2Exporter.js +4 -2
  23. package/examples/jsm/exporters/PLYExporter.js +1 -1
  24. package/examples/jsm/exporters/USDZExporter.js +676 -299
  25. package/examples/jsm/geometries/RoundedBoxGeometry.js +47 -8
  26. package/examples/jsm/interactive/HTMLMesh.js +5 -3
  27. package/examples/jsm/libs/ktx-parse.module.js +1 -1
  28. package/examples/jsm/libs/meshopt_decoder.module.js +75 -58
  29. package/examples/jsm/lights/LightProbeGenerator.js +14 -3
  30. package/examples/jsm/lines/Line2.js +3 -3
  31. package/examples/jsm/lines/LineGeometry.js +1 -1
  32. package/examples/jsm/lines/LineSegments2.js +2 -2
  33. package/examples/jsm/lines/Wireframe.js +2 -2
  34. package/examples/jsm/lines/WireframeGeometry2.js +1 -1
  35. package/examples/jsm/lines/webgpu/LineSegments2.js +1 -1
  36. package/examples/jsm/lines/webgpu/Wireframe.js +1 -1
  37. package/examples/jsm/loaders/ColladaLoader.js +1 -1
  38. package/examples/jsm/loaders/EXRLoader.js +210 -22
  39. package/examples/jsm/loaders/FBXLoader.js +1 -1
  40. package/examples/jsm/loaders/GLTFLoader.js +9 -5
  41. package/examples/jsm/loaders/HDRCubeTextureLoader.js +5 -5
  42. package/examples/jsm/loaders/HDRLoader.js +486 -0
  43. package/examples/jsm/loaders/KTX2Loader.js +112 -32
  44. package/examples/jsm/loaders/MaterialXLoader.js +212 -30
  45. package/examples/jsm/loaders/RGBELoader.js +7 -473
  46. package/examples/jsm/loaders/TTFLoader.js +13 -1
  47. package/examples/jsm/loaders/USDLoader.js +219 -0
  48. package/examples/jsm/loaders/USDZLoader.js +4 -892
  49. package/examples/jsm/loaders/UltraHDRLoader.js +1 -1
  50. package/examples/jsm/loaders/lwo/IFFParser.js +1 -1
  51. package/examples/jsm/loaders/usd/USDAParser.js +741 -0
  52. package/examples/jsm/loaders/usd/USDCParser.js +17 -0
  53. package/examples/jsm/materials/WoodNodeMaterial.js +533 -0
  54. package/examples/jsm/math/ColorSpaces.js +19 -1
  55. package/examples/jsm/math/ConvexHull.js +2 -2
  56. package/examples/jsm/math/Lut.js +2 -2
  57. package/examples/jsm/misc/MD2CharacterComplex.js +1 -1
  58. package/examples/jsm/misc/ProgressiveLightMap.js +1 -1
  59. package/examples/jsm/misc/Volume.js +1 -1
  60. package/examples/jsm/objects/LensflareMesh.js +3 -3
  61. package/examples/jsm/objects/SkyMesh.js +2 -2
  62. package/examples/jsm/physics/RapierPhysics.js +14 -5
  63. package/examples/jsm/postprocessing/GTAOPass.js +10 -9
  64. package/examples/jsm/postprocessing/OutlinePass.js +17 -17
  65. package/examples/jsm/postprocessing/SSAOPass.js +10 -9
  66. package/examples/jsm/postprocessing/SSRPass.js +37 -8
  67. package/examples/jsm/shaders/UnpackDepthRGBAShader.js +11 -2
  68. package/examples/jsm/transpiler/GLSLDecoder.js +23 -20
  69. package/examples/jsm/transpiler/TSLEncoder.js +2 -10
  70. package/examples/jsm/transpiler/WGSLEncoder.js +24 -0
  71. package/examples/jsm/tsl/display/AnamorphicNode.js +27 -4
  72. package/examples/jsm/tsl/display/BloomNode.js +7 -6
  73. package/examples/jsm/tsl/display/ChromaticAberrationNode.js +2 -1
  74. package/examples/jsm/tsl/display/DepthOfFieldNode.js +439 -90
  75. package/examples/jsm/tsl/display/GTAONode.js +8 -0
  76. package/examples/jsm/tsl/display/GaussianBlurNode.js +51 -41
  77. package/examples/jsm/tsl/display/OutlineNode.js +2 -2
  78. package/examples/jsm/tsl/display/SSRNode.js +180 -65
  79. package/examples/jsm/tsl/display/{TRAAPassNode.js → TRAANode.js} +181 -172
  80. package/examples/jsm/tsl/display/boxBlur.js +64 -0
  81. package/examples/jsm/tsl/display/hashBlur.js +15 -18
  82. package/examples/jsm/tsl/lighting/TiledLightsNode.js +1 -1
  83. package/examples/jsm/utils/BufferGeometryUtils.js +1 -1
  84. package/examples/jsm/utils/ShadowMapViewerGPU.js +12 -5
  85. package/examples/jsm/webxr/OculusHandModel.js +1 -1
  86. package/package.json +1 -1
  87. package/src/Three.Core.js +2 -0
  88. package/src/Three.TSL.js +98 -24
  89. package/src/animation/AnimationClip.js +17 -2
  90. package/src/animation/KeyframeTrack.js +1 -1
  91. package/src/animation/tracks/BooleanKeyframeTrack.js +1 -1
  92. package/src/animation/tracks/StringKeyframeTrack.js +1 -1
  93. package/src/cameras/Camera.js +14 -0
  94. package/src/cameras/OrthographicCamera.js +1 -1
  95. package/src/cameras/PerspectiveCamera.js +1 -1
  96. package/src/constants.js +11 -3
  97. package/src/core/BufferGeometry.js +2 -2
  98. package/{examples/jsm/misc → src/core}/Timer.js +4 -42
  99. package/src/extras/PMREMGenerator.js +11 -0
  100. package/src/extras/TextureUtils.js +2 -1
  101. package/src/extras/lib/earcut.js +1 -1
  102. package/src/helpers/CameraHelper.js +41 -11
  103. package/src/helpers/SkeletonHelper.js +35 -6
  104. package/src/lights/LightShadow.js +21 -8
  105. package/src/lights/PointLightShadow.js +1 -1
  106. package/src/lights/webgpu/ProjectorLight.js +1 -1
  107. package/src/loaders/FileLoader.js +25 -2
  108. package/src/loaders/ImageBitmapLoader.js +23 -0
  109. package/src/loaders/Loader.js +14 -0
  110. package/src/loaders/LoadingManager.js +23 -0
  111. package/src/materials/Material.js +12 -0
  112. package/src/materials/MeshBasicMaterial.js +1 -1
  113. package/src/materials/MeshDistanceMaterial.js +1 -1
  114. package/src/materials/nodes/Line2NodeMaterial.js +0 -8
  115. package/src/materials/nodes/NodeMaterial.js +1 -1
  116. package/src/materials/nodes/PointsNodeMaterial.js +86 -28
  117. package/src/materials/nodes/SpriteNodeMaterial.js +3 -15
  118. package/src/materials/nodes/manager/NodeMaterialObserver.js +87 -2
  119. package/src/math/ColorManagement.js +7 -1
  120. package/src/math/Frustum.js +19 -8
  121. package/src/math/FrustumArray.js +10 -5
  122. package/src/math/Line3.js +129 -2
  123. package/src/math/Matrix4.js +48 -27
  124. package/src/math/Spherical.js +2 -2
  125. package/src/nodes/Nodes.js +4 -0
  126. package/src/nodes/TSL.js +4 -0
  127. package/src/nodes/accessors/BufferNode.js +1 -1
  128. package/src/nodes/accessors/Camera.js +142 -16
  129. package/src/nodes/accessors/ClippingNode.js +6 -5
  130. package/src/nodes/accessors/CubeTextureNode.js +2 -2
  131. package/src/nodes/accessors/InstanceNode.js +3 -1
  132. package/src/nodes/accessors/Normal.js +11 -11
  133. package/src/nodes/accessors/Object3DNode.js +1 -1
  134. package/src/nodes/accessors/ReferenceBaseNode.js +1 -1
  135. package/src/nodes/accessors/ReferenceNode.js +19 -4
  136. package/src/nodes/accessors/SceneNode.js +1 -1
  137. package/src/nodes/accessors/StorageTextureNode.js +1 -1
  138. package/src/nodes/accessors/Texture3DNode.js +13 -0
  139. package/src/nodes/accessors/TextureNode.js +83 -19
  140. package/src/nodes/code/FunctionCallNode.js +19 -0
  141. package/src/nodes/code/FunctionNode.js +23 -0
  142. package/src/nodes/core/ArrayNode.js +12 -0
  143. package/src/nodes/core/AssignNode.js +6 -2
  144. package/src/nodes/core/ContextNode.js +44 -1
  145. package/src/nodes/core/Node.js +30 -22
  146. package/src/nodes/core/NodeBuilder.js +71 -32
  147. package/src/nodes/core/NodeFrame.js +1 -1
  148. package/src/nodes/core/NodeUniform.js +1 -1
  149. package/src/nodes/core/NodeUtils.js +5 -3
  150. package/src/nodes/core/StackNode.js +71 -4
  151. package/src/nodes/core/StructNode.js +5 -5
  152. package/src/nodes/core/StructTypeNode.js +1 -0
  153. package/src/nodes/core/SubBuildNode.js +2 -2
  154. package/src/nodes/core/UniformNode.js +79 -14
  155. package/src/nodes/core/VarNode.js +83 -15
  156. package/src/nodes/display/FrontFacingNode.js +4 -8
  157. package/src/nodes/display/PassNode.js +148 -2
  158. package/src/nodes/display/ScreenNode.js +42 -13
  159. package/src/nodes/display/ViewportDepthTextureNode.js +16 -4
  160. package/src/nodes/display/ViewportSharedTextureNode.js +12 -0
  161. package/src/nodes/display/ViewportTextureNode.js +94 -4
  162. package/src/nodes/functions/PhysicalLightingModel.js +2 -2
  163. package/src/nodes/gpgpu/AtomicFunctionNode.js +1 -1
  164. package/src/nodes/gpgpu/ComputeNode.js +67 -23
  165. package/src/nodes/gpgpu/SubgroupFunctionNode.js +430 -0
  166. package/src/nodes/gpgpu/WorkgroupInfoNode.js +28 -3
  167. package/src/nodes/lighting/LightsNode.js +1 -1
  168. package/src/nodes/lighting/ProjectorLightNode.js +19 -6
  169. package/src/nodes/lighting/ShadowFilterNode.js +1 -1
  170. package/src/nodes/materialx/MaterialXNodes.js +131 -2
  171. package/src/nodes/materialx/lib/mx_noise.js +165 -1
  172. package/src/nodes/math/BitcastNode.js +156 -0
  173. package/src/nodes/math/ConditionalNode.js +19 -3
  174. package/src/nodes/math/MathNode.js +72 -60
  175. package/src/nodes/math/OperatorNode.js +26 -25
  176. package/src/nodes/tsl/TSLCore.js +477 -142
  177. package/src/nodes/utils/DebugNode.js +1 -1
  178. package/src/nodes/utils/EventNode.js +83 -0
  179. package/src/nodes/utils/JoinNode.js +3 -1
  180. package/src/nodes/utils/MemberNode.js +58 -7
  181. package/src/nodes/utils/RTTNode.js +10 -1
  182. package/src/nodes/utils/ReflectorNode.js +51 -7
  183. package/src/nodes/utils/SampleNode.js +12 -2
  184. package/src/nodes/utils/SplitNode.js +11 -0
  185. package/src/nodes/utils/Timer.js +0 -47
  186. package/src/objects/BatchedMesh.js +6 -4
  187. package/src/objects/LOD.js +1 -1
  188. package/src/objects/Sprite.js +2 -2
  189. package/src/renderers/WebGLRenderer.js +21 -31
  190. package/src/renderers/common/Attributes.js +1 -1
  191. package/src/renderers/common/Backend.js +19 -1
  192. package/src/renderers/common/Bindings.js +21 -18
  193. package/src/renderers/common/ChainMap.js +1 -1
  194. package/src/renderers/common/Color4.js +2 -2
  195. package/src/renderers/common/DataMap.js +1 -1
  196. package/src/renderers/common/Pipelines.js +1 -1
  197. package/src/renderers/common/PostProcessing.js +60 -5
  198. package/src/renderers/common/RenderContext.js +2 -2
  199. package/src/renderers/common/RenderObject.js +14 -2
  200. package/src/renderers/common/Renderer.js +55 -32
  201. package/src/renderers/common/SampledTexture.js +4 -72
  202. package/src/renderers/common/Sampler.js +91 -0
  203. package/src/renderers/common/Storage3DTexture.js +21 -0
  204. package/src/renderers/common/StorageArrayTexture.js +21 -0
  205. package/src/renderers/common/StorageTexture.js +19 -0
  206. package/src/renderers/common/Textures.js +52 -14
  207. package/src/renderers/common/TimestampQueryPool.js +3 -3
  208. package/src/renderers/common/XRManager.js +51 -17
  209. package/src/renderers/common/nodes/NodeBuilderState.js +1 -1
  210. package/src/renderers/common/nodes/NodeLibrary.js +5 -5
  211. package/src/renderers/common/nodes/NodeSampledTexture.js +0 -12
  212. package/src/renderers/shaders/ShaderChunk/logdepthbuf_fragment.glsl.js +1 -1
  213. package/src/renderers/shaders/ShaderChunk/logdepthbuf_pars_fragment.glsl.js +1 -1
  214. package/src/renderers/shaders/ShaderChunk/logdepthbuf_pars_vertex.glsl.js +1 -1
  215. package/src/renderers/shaders/ShaderChunk/logdepthbuf_vertex.glsl.js +1 -1
  216. package/src/renderers/shaders/ShaderChunk/shadowmap_pars_fragment.glsl.js +21 -11
  217. package/src/renderers/shaders/ShaderLib/depth.glsl.js +11 -2
  218. package/src/renderers/webgl/WebGLCapabilities.js +2 -2
  219. package/src/renderers/webgl/WebGLMaterials.js +6 -6
  220. package/src/renderers/webgl/WebGLProgram.js +24 -18
  221. package/src/renderers/webgl/WebGLPrograms.js +4 -4
  222. package/src/renderers/webgl/WebGLShadowMap.js +11 -1
  223. package/src/renderers/webgl/WebGLTextures.js +20 -7
  224. package/src/renderers/webgl/WebGLUtils.js +3 -2
  225. package/src/renderers/webgl-fallback/WebGLBackend.js +207 -146
  226. package/src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js +112 -19
  227. package/src/renderers/webgl-fallback/utils/WebGLState.js +1 -1
  228. package/src/renderers/webgl-fallback/utils/WebGLTextureUtils.js +52 -3
  229. package/src/renderers/webgl-fallback/utils/WebGLTimestampQueryPool.js +9 -10
  230. package/src/renderers/webgl-fallback/utils/WebGLUtils.js +3 -2
  231. package/src/renderers/webgpu/WebGPUBackend.js +87 -44
  232. package/src/renderers/webgpu/nodes/WGSLNodeBuilder.js +169 -99
  233. package/src/renderers/webgpu/utils/WebGPUBindingUtils.js +35 -31
  234. package/src/renderers/webgpu/utils/WebGPUConstants.js +2 -2
  235. package/src/renderers/webgpu/utils/WebGPUPipelineUtils.js +10 -19
  236. package/src/renderers/webgpu/utils/WebGPUTextureUtils.js +120 -84
  237. package/src/renderers/webgpu/utils/WebGPUTimestampQueryPool.js +3 -3
  238. package/src/renderers/webgpu/utils/WebGPUUtils.js +2 -17
  239. package/src/renderers/webxr/WebXRDepthSensing.js +6 -10
  240. package/src/renderers/webxr/WebXRManager.js +86 -11
  241. package/src/textures/ExternalTexture.js +56 -0
  242. package/src/textures/FramebufferTexture.js +2 -2
  243. package/src/textures/Source.js +12 -2
  244. package/src/textures/VideoTexture.js +27 -2
  245. package/examples/jsm/loaders/RGBMLoader.js +0 -1148
@@ -7,8 +7,10 @@ import { TSL } from 'three/webgpu';
7
7
 
8
8
  const BRDF_GGX = TSL.BRDF_GGX;
9
9
  const BRDF_Lambert = TSL.BRDF_Lambert;
10
+ const BasicPointShadowFilter = TSL.BasicPointShadowFilter;
10
11
  const BasicShadowFilter = TSL.BasicShadowFilter;
11
12
  const Break = TSL.Break;
13
+ const Const = TSL.Const;
12
14
  const Continue = TSL.Continue;
13
15
  const DFGApprox = TSL.DFGApprox;
14
16
  const D_GGX = TSL.D_GGX;
@@ -18,27 +20,32 @@ const F_Schlick = TSL.F_Schlick;
18
20
  const Fn = TSL.Fn;
19
21
  const INFINITY = TSL.INFINITY;
20
22
  const If = TSL.If;
21
- const Switch = TSL.Switch;
22
23
  const Loop = TSL.Loop;
24
+ const NodeAccess = TSL.NodeAccess;
23
25
  const NodeShaderStage = TSL.NodeShaderStage;
24
26
  const NodeType = TSL.NodeType;
25
27
  const NodeUpdateType = TSL.NodeUpdateType;
26
- const NodeAccess = TSL.NodeAccess;
27
28
  const PCFShadowFilter = TSL.PCFShadowFilter;
28
29
  const PCFSoftShadowFilter = TSL.PCFSoftShadowFilter;
29
30
  const PI = TSL.PI;
30
31
  const PI2 = TSL.PI2;
32
+ const PointShadowFilter = TSL.PointShadowFilter;
31
33
  const Return = TSL.Return;
32
34
  const Schlick_to_F0 = TSL.Schlick_to_F0;
33
35
  const ScriptableNodeResources = TSL.ScriptableNodeResources;
34
36
  const ShaderNode = TSL.ShaderNode;
37
+ const Stack = TSL.Stack;
38
+ const Switch = TSL.Switch;
35
39
  const TBNViewMatrix = TSL.TBNViewMatrix;
36
40
  const VSMShadowFilter = TSL.VSMShadowFilter;
37
41
  const V_GGX_SmithCorrelated = TSL.V_GGX_SmithCorrelated;
42
+ const Var = TSL.Var;
43
+ const VarIntent = TSL.VarIntent;
38
44
  const abs = TSL.abs;
39
45
  const acesFilmicToneMapping = TSL.acesFilmicToneMapping;
40
46
  const acos = TSL.acos;
41
47
  const add = TSL.add;
48
+ const addMethodChaining = TSL.addMethodChaining;
42
49
  const addNodeElement = TSL.addNodeElement;
43
50
  const agxToneMapping = TSL.agxToneMapping;
44
51
  const all = TSL.all;
@@ -58,13 +65,13 @@ const atan2 = TSL.atan2;
58
65
  const atomicAdd = TSL.atomicAdd;
59
66
  const atomicAnd = TSL.atomicAnd;
60
67
  const atomicFunc = TSL.atomicFunc;
68
+ const atomicLoad = TSL.atomicLoad;
61
69
  const atomicMax = TSL.atomicMax;
62
70
  const atomicMin = TSL.atomicMin;
63
71
  const atomicOr = TSL.atomicOr;
64
72
  const atomicStore = TSL.atomicStore;
65
73
  const atomicSub = TSL.atomicSub;
66
74
  const atomicXor = TSL.atomicXor;
67
- const atomicLoad = TSL.atomicLoad;
68
75
  const attenuationColor = TSL.attenuationColor;
69
76
  const attenuationDistance = TSL.attenuationDistance;
70
77
  const attribute = TSL.attribute;
@@ -95,6 +102,7 @@ const buffer = TSL.buffer;
95
102
  const bufferAttribute = TSL.bufferAttribute;
96
103
  const bumpMap = TSL.bumpMap;
97
104
  const burn = TSL.burn;
105
+ const builtin = TSL.builtin;
98
106
  const bvec2 = TSL.bvec2;
99
107
  const bvec3 = TSL.bvec3;
100
108
  const bvec4 = TSL.bvec4;
@@ -109,6 +117,7 @@ const cameraPosition = TSL.cameraPosition;
109
117
  const cameraProjectionMatrix = TSL.cameraProjectionMatrix;
110
118
  const cameraProjectionMatrixInverse = TSL.cameraProjectionMatrixInverse;
111
119
  const cameraViewMatrix = TSL.cameraViewMatrix;
120
+ const cameraViewport = TSL.cameraViewport;
112
121
  const cameraWorldMatrix = TSL.cameraWorldMatrix;
113
122
  const cbrt = TSL.cbrt;
114
123
  const cdl = TSL.cdl;
@@ -117,15 +126,15 @@ const checker = TSL.checker;
117
126
  const cineonToneMapping = TSL.cineonToneMapping;
118
127
  const clamp = TSL.clamp;
119
128
  const clearcoat = TSL.clearcoat;
129
+ const clearcoatNormalView = TSL.clearcoatNormalView;
120
130
  const clearcoatRoughness = TSL.clearcoatRoughness;
121
131
  const code = TSL.code;
122
132
  const color = TSL.color;
123
133
  const colorSpaceToWorking = TSL.colorSpaceToWorking;
124
134
  const colorToDirection = TSL.colorToDirection;
125
135
  const compute = TSL.compute;
136
+ const computeKernel = TSL.computeKernel;
126
137
  const computeSkinning = TSL.computeSkinning;
127
- const cond = TSL.cond;
128
- const Const = TSL.Const;
129
138
  const context = TSL.context;
130
139
  const convert = TSL.convert;
131
140
  const convertColorSpace = TSL.convertColorSpace;
@@ -133,6 +142,8 @@ const convertToTexture = TSL.convertToTexture;
133
142
  const cos = TSL.cos;
134
143
  const cross = TSL.cross;
135
144
  const cubeTexture = TSL.cubeTexture;
145
+ const cubeTextureBase = TSL.cubeTextureBase;
146
+ const cubeToUV = TSL.cubeToUV;
136
147
  const dFdx = TSL.dFdx;
137
148
  const dFdy = TSL.dFdy;
138
149
  const dashSize = TSL.dashSize;
@@ -148,10 +159,12 @@ const densityFog = TSL.densityFog;
148
159
  const densityFogFactor = TSL.densityFogFactor;
149
160
  const depth = TSL.depth;
150
161
  const depthPass = TSL.depthPass;
162
+ const determinant = TSL.determinant;
151
163
  const difference = TSL.difference;
152
164
  const diffuseColor = TSL.diffuseColor;
153
165
  const directPointLight = TSL.directPointLight;
154
166
  const directionToColor = TSL.directionToColor;
167
+ const directionToFaceDirection = TSL.directionToFaceDirection;
155
168
  const dispersion = TSL.dispersion;
156
169
  const distance = TSL.distance;
157
170
  const div = TSL.div;
@@ -171,6 +184,8 @@ const faceDirection = TSL.faceDirection;
171
184
  const faceForward = TSL.faceForward;
172
185
  const faceforward = TSL.faceforward;
173
186
  const float = TSL.float;
187
+ const floatBitsToInt = TSL.floatBitsToInt;
188
+ const floatBitsToUint = TSL.floatBitsToUint;
174
189
  const floor = TSL.floor;
175
190
  const fog = TSL.fog;
176
191
  const fract = TSL.fract;
@@ -190,10 +205,11 @@ const getParallaxCorrectNormal = TSL.getParallaxCorrectNormal;
190
205
  const getRoughness = TSL.getRoughness;
191
206
  const getScreenPosition = TSL.getScreenPosition;
192
207
  const getShIrradianceAt = TSL.getShIrradianceAt;
193
- const getTextureIndex = TSL.getTextureIndex;
194
- const getViewPosition = TSL.getViewPosition;
195
208
  const getShadowMaterial = TSL.getShadowMaterial;
196
209
  const getShadowRenderObjectFunction = TSL.getShadowRenderObjectFunction;
210
+ const getTextureIndex = TSL.getTextureIndex;
211
+ const getViewPosition = TSL.getViewPosition;
212
+ const globalId = TSL.globalId;
197
213
  const glsl = TSL.glsl;
198
214
  const glslFn = TSL.glslFn;
199
215
  const grayscale = TSL.grayscale;
@@ -212,6 +228,8 @@ const instancedBufferAttribute = TSL.instancedBufferAttribute;
212
228
  const instancedDynamicBufferAttribute = TSL.instancedDynamicBufferAttribute;
213
229
  const instancedMesh = TSL.instancedMesh;
214
230
  const int = TSL.int;
231
+ const intBitsToFloat = TSL.intBitsToFloat;
232
+ const inverse = TSL.inverse;
215
233
  const inverseSqrt = TSL.inverseSqrt;
216
234
  const inversesqrt = TSL.inversesqrt;
217
235
  const invocationLocalIndex = TSL.invocationLocalIndex;
@@ -230,6 +248,7 @@ const lengthSq = TSL.lengthSq;
230
248
  const lessThan = TSL.lessThan;
231
249
  const lessThanEqual = TSL.lessThanEqual;
232
250
  const lightPosition = TSL.lightPosition;
251
+ const lightProjectionUV = TSL.lightProjectionUV;
233
252
  const lightShadowMatrix = TSL.lightShadowMatrix;
234
253
  const lightTargetDirection = TSL.lightTargetDirection;
235
254
  const lightTargetPosition = TSL.lightTargetPosition;
@@ -239,13 +258,10 @@ const lights = TSL.lights;
239
258
  const linearDepth = TSL.linearDepth;
240
259
  const linearToneMapping = TSL.linearToneMapping;
241
260
  const localId = TSL.localId;
242
- const globalId = TSL.globalId;
243
261
  const log = TSL.log;
244
262
  const log2 = TSL.log2;
245
263
  const logarithmicDepthToViewZ = TSL.logarithmicDepthToViewZ;
246
- const loop = TSL.loop;
247
264
  const luminance = TSL.luminance;
248
- const mediumpModelViewMatrix = TSL.mediumpModelViewMatrix;
249
265
  const mat2 = TSL.mat2;
250
266
  const mat3 = TSL.mat3;
251
267
  const mat4 = TSL.mat4;
@@ -262,6 +278,8 @@ const materialClearcoatRoughness = TSL.materialClearcoatRoughness;
262
278
  const materialColor = TSL.materialColor;
263
279
  const materialDispersion = TSL.materialDispersion;
264
280
  const materialEmissive = TSL.materialEmissive;
281
+ const materialEnvIntensity = TSL.materialEnvIntensity;
282
+ const materialEnvRotation = TSL.materialEnvRotation;
265
283
  const materialIOR = TSL.materialIOR;
266
284
  const materialIridescence = TSL.materialIridescence;
267
285
  const materialIridescenceIOR = TSL.materialIridescenceIOR;
@@ -292,6 +310,7 @@ const materialThickness = TSL.materialThickness;
292
310
  const materialTransmission = TSL.materialTransmission;
293
311
  const max = TSL.max;
294
312
  const maxMipLevel = TSL.maxMipLevel;
313
+ const mediumpModelViewMatrix = TSL.mediumpModelViewMatrix;
295
314
  const metalness = TSL.metalness;
296
315
  const min = TSL.min;
297
316
  const mix = TSL.mix;
@@ -312,24 +331,45 @@ const morphReference = TSL.morphReference;
312
331
  const mrt = TSL.mrt;
313
332
  const mul = TSL.mul;
314
333
  const mx_aastep = TSL.mx_aastep;
334
+ const mx_add = TSL.mx_add;
335
+ const mx_atan2 = TSL.mx_atan2;
315
336
  const mx_cell_noise_float = TSL.mx_cell_noise_float;
316
337
  const mx_contrast = TSL.mx_contrast;
338
+ const mx_divide = TSL.mx_divide;
317
339
  const mx_fractal_noise_float = TSL.mx_fractal_noise_float;
318
340
  const mx_fractal_noise_vec2 = TSL.mx_fractal_noise_vec2;
319
341
  const mx_fractal_noise_vec3 = TSL.mx_fractal_noise_vec3;
320
342
  const mx_fractal_noise_vec4 = TSL.mx_fractal_noise_vec4;
343
+ const mx_frame = TSL.mx_frame;
344
+ const mx_heighttonormal = TSL.mx_heighttonormal;
321
345
  const mx_hsvtorgb = TSL.mx_hsvtorgb;
346
+ const mx_ifequal = TSL.mx_ifequal;
347
+ const mx_ifgreater = TSL.mx_ifgreater;
348
+ const mx_ifgreatereq = TSL.mx_ifgreatereq;
349
+ const mx_invert = TSL.mx_invert;
350
+ const mx_modulo = TSL.mx_modulo;
351
+ const mx_multiply = TSL.mx_multiply;
322
352
  const mx_noise_float = TSL.mx_noise_float;
323
353
  const mx_noise_vec3 = TSL.mx_noise_vec3;
324
354
  const mx_noise_vec4 = TSL.mx_noise_vec4;
355
+ const mx_place2d = TSL.mx_place2d;
356
+ const mx_power = TSL.mx_power;
357
+ const mx_ramp4 = TSL.mx_ramp4;
325
358
  const mx_ramplr = TSL.mx_ramplr;
326
359
  const mx_ramptb = TSL.mx_ramptb;
327
360
  const mx_rgbtohsv = TSL.mx_rgbtohsv;
361
+ const mx_rotate2d = TSL.mx_rotate2d;
362
+ const mx_rotate3d = TSL.mx_rotate3d;
328
363
  const mx_safepower = TSL.mx_safepower;
364
+ const mx_separate = TSL.mx_separate;
329
365
  const mx_splitlr = TSL.mx_splitlr;
330
366
  const mx_splittb = TSL.mx_splittb;
331
367
  const mx_srgb_texture_to_lin_rec709 = TSL.mx_srgb_texture_to_lin_rec709;
368
+ const mx_subtract = TSL.mx_subtract;
369
+ const mx_timer = TSL.mx_timer;
332
370
  const mx_transform_uv = TSL.mx_transform_uv;
371
+ const mx_unifiednoise2d = TSL.mx_unifiednoise2d;
372
+ const mx_unifiednoise3d = TSL.mx_unifiednoise3d;
333
373
  const mx_worley_noise_float = TSL.mx_worley_noise_float;
334
374
  const mx_worley_noise_vec2 = TSL.mx_worley_noise_vec2;
335
375
  const mx_worley_noise_vec3 = TSL.mx_worley_noise_vec3;
@@ -338,8 +378,10 @@ const neutralToneMapping = TSL.neutralToneMapping;
338
378
  const nodeArray = TSL.nodeArray;
339
379
  const nodeImmutable = TSL.nodeImmutable;
340
380
  const nodeObject = TSL.nodeObject;
381
+ const nodeObjectIntent = TSL.nodeObjectIntent;
341
382
  const nodeObjects = TSL.nodeObjects;
342
383
  const nodeProxy = TSL.nodeProxy;
384
+ const nodeProxyIntent = TSL.nodeProxyIntent;
343
385
  const normalFlat = TSL.normalFlat;
344
386
  const normalGeometry = TSL.normalGeometry;
345
387
  const normalLocal = TSL.normalLocal;
@@ -359,6 +401,8 @@ const objectRadius = TSL.objectRadius;
359
401
  const objectScale = TSL.objectScale;
360
402
  const objectViewPosition = TSL.objectViewPosition;
361
403
  const objectWorldMatrix = TSL.objectWorldMatrix;
404
+ const OnObjectUpdate = TSL.OnObjectUpdate;
405
+ const OnMaterialUpdate = TSL.OnMaterialUpdate;
362
406
  const oneMinus = TSL.oneMinus;
363
407
  const or = TSL.or;
364
408
  const orthographicDepthToViewZ = TSL.orthographicDepthToViewZ;
@@ -379,6 +423,7 @@ const passTexture = TSL.passTexture;
379
423
  const pcurve = TSL.pcurve;
380
424
  const perspectiveDepthToViewZ = TSL.perspectiveDepthToViewZ;
381
425
  const pmremTexture = TSL.pmremTexture;
426
+ const pointShadow = TSL.pointShadow;
382
427
  const pointUV = TSL.pointUV;
383
428
  const pointWidth = TSL.pointWidth;
384
429
  const positionGeometry = TSL.positionGeometry;
@@ -401,7 +446,6 @@ const range = TSL.range;
401
446
  const rangeFog = TSL.rangeFog;
402
447
  const rangeFogFactor = TSL.rangeFogFactor;
403
448
  const reciprocal = TSL.reciprocal;
404
- const lightProjectionUV = TSL.lightProjectionUV;
405
449
  const reference = TSL.reference;
406
450
  const referenceBuffer = TSL.referenceBuffer;
407
451
  const reflect = TSL.reflect;
@@ -412,7 +456,6 @@ const refract = TSL.refract;
412
456
  const refractVector = TSL.refractVector;
413
457
  const refractView = TSL.refractView;
414
458
  const reinhardToneMapping = TSL.reinhardToneMapping;
415
- const remainder = TSL.remainder;
416
459
  const remap = TSL.remap;
417
460
  const remapClamp = TSL.remapClamp;
418
461
  const renderGroup = TSL.renderGroup;
@@ -432,18 +475,19 @@ const saturate = TSL.saturate;
432
475
  const saturation = TSL.saturation;
433
476
  const screen = TSL.screen;
434
477
  const screenCoordinate = TSL.screenCoordinate;
478
+ const screenDPR = TSL.screenDPR;
435
479
  const screenSize = TSL.screenSize;
436
480
  const screenUV = TSL.screenUV;
437
481
  const scriptable = TSL.scriptable;
438
482
  const scriptableValue = TSL.scriptableValue;
439
483
  const select = TSL.select;
440
484
  const setCurrentStack = TSL.setCurrentStack;
485
+ const setName = TSL.setName;
441
486
  const shaderStages = TSL.shaderStages;
442
487
  const shadow = TSL.shadow;
443
- const pointShadow = TSL.pointShadow;
444
488
  const shadowPositionWorld = TSL.shadowPositionWorld;
445
- const sharedUniformGroup = TSL.sharedUniformGroup;
446
489
  const shapeCircle = TSL.shapeCircle;
490
+ const sharedUniformGroup = TSL.sharedUniformGroup;
447
491
  const sheen = TSL.sheen;
448
492
  const sheenRoughness = TSL.sheenRoughness;
449
493
  const shiftLeft = TSL.shiftLeft;
@@ -463,6 +507,7 @@ const spritesheetUV = TSL.spritesheetUV;
463
507
  const sqrt = TSL.sqrt;
464
508
  const stack = TSL.stack;
465
509
  const step = TSL.step;
510
+ const stepElement = TSL.stepElement;
466
511
  const storage = TSL.storage;
467
512
  const storageBarrier = TSL.storageBarrier;
468
513
  const storageObject = TSL.storageObject;
@@ -470,15 +515,35 @@ const storageTexture = TSL.storageTexture;
470
515
  const string = TSL.string;
471
516
  const struct = TSL.struct;
472
517
  const sub = TSL.sub;
518
+ const subgroupAdd = TSL.subgroupAdd;
519
+ const subgroupAll = TSL.subgroupAll;
520
+ const subgroupAnd = TSL.subgroupAnd;
521
+ const subgroupAny = TSL.subgroupAny;
522
+ const subgroupBallot = TSL.subgroupBallot;
523
+ const subgroupBroadcast = TSL.subgroupBroadcast;
524
+ const subgroupBroadcastFirst = TSL.subgroupBroadcastFirst;
473
525
  const subBuild = TSL.subBuild;
526
+ const subgroupElect = TSL.subgroupElect;
527
+ const subgroupExclusiveAdd = TSL.subgroupExclusiveAdd;
528
+ const subgroupExclusiveMul = TSL.subgroupExclusiveMul;
529
+ const subgroupInclusiveAdd = TSL.subgroupInclusiveAdd;
530
+ const subgroupInclusiveMul = TSL.subgroupInclusiveMul;
474
531
  const subgroupIndex = TSL.subgroupIndex;
532
+ const subgroupMax = TSL.subgroupMax;
533
+ const subgroupMin = TSL.subgroupMin;
534
+ const subgroupMul = TSL.subgroupMul;
535
+ const subgroupOr = TSL.subgroupOr;
536
+ const subgroupShuffle = TSL.subgroupShuffle;
537
+ const subgroupShuffleDown = TSL.subgroupShuffleDown;
538
+ const subgroupShuffleUp = TSL.subgroupShuffleUp;
539
+ const subgroupShuffleXor = TSL.subgroupShuffleXor;
475
540
  const subgroupSize = TSL.subgroupSize;
541
+ const subgroupXor = TSL.subgroupXor;
476
542
  const tan = TSL.tan;
477
543
  const tangentGeometry = TSL.tangentGeometry;
478
544
  const tangentLocal = TSL.tangentLocal;
479
545
  const tangentView = TSL.tangentView;
480
546
  const tangentWorld = TSL.tangentWorld;
481
- const temp = TSL.temp;
482
547
  const texture = TSL.texture;
483
548
  const texture3D = TSL.texture3D;
484
549
  const textureBarrier = TSL.textureBarrier;
@@ -490,9 +555,6 @@ const textureSize = TSL.textureSize;
490
555
  const textureStore = TSL.textureStore;
491
556
  const thickness = TSL.thickness;
492
557
  const time = TSL.time;
493
- const timerDelta = TSL.timerDelta;
494
- const timerGlobal = TSL.timerGlobal;
495
- const timerLocal = TSL.timerLocal;
496
558
  const toneMapping = TSL.toneMapping;
497
559
  const toneMappingExposure = TSL.toneMappingExposure;
498
560
  const toonOutlinePass = TSL.toonOutlinePass;
@@ -508,21 +570,20 @@ const triNoise3D = TSL.triNoise3D;
508
570
  const triplanarTexture = TSL.triplanarTexture;
509
571
  const triplanarTextures = TSL.triplanarTextures;
510
572
  const trunc = TSL.trunc;
511
- const tslFn = TSL.tslFn;
512
573
  const uint = TSL.uint;
574
+ const uintBitsToFloat = TSL.uintBitsToFloat;
513
575
  const uniform = TSL.uniform;
514
- const uniformCubeTexture = TSL.uniformCubeTexture;
515
576
  const uniformArray = TSL.uniformArray;
577
+ const uniformCubeTexture = TSL.uniformCubeTexture;
516
578
  const uniformGroup = TSL.uniformGroup;
579
+ const uniformFlow = TSL.uniformFlow;
517
580
  const uniformTexture = TSL.uniformTexture;
518
- const uniforms = TSL.uniforms;
519
581
  const unpremultiplyAlpha = TSL.unpremultiplyAlpha;
520
582
  const userData = TSL.userData;
521
583
  const uv = TSL.uv;
522
584
  const uvec2 = TSL.uvec2;
523
585
  const uvec3 = TSL.uvec3;
524
586
  const uvec4 = TSL.uvec4;
525
- const Var = TSL.Var;
526
587
  const varying = TSL.varying;
527
588
  const varyingProperty = TSL.varyingProperty;
528
589
  const vec2 = TSL.vec2;
@@ -532,12 +593,12 @@ const vectorComponents = TSL.vectorComponents;
532
593
  const velocity = TSL.velocity;
533
594
  const vertexColor = TSL.vertexColor;
534
595
  const vertexIndex = TSL.vertexIndex;
596
+ const vertexStage = TSL.vertexStage;
535
597
  const vibrance = TSL.vibrance;
536
598
  const viewZToLogarithmicDepth = TSL.viewZToLogarithmicDepth;
537
599
  const viewZToOrthographicDepth = TSL.viewZToOrthographicDepth;
538
600
  const viewZToPerspectiveDepth = TSL.viewZToPerspectiveDepth;
539
601
  const viewport = TSL.viewport;
540
- const viewportBottomLeft = TSL.viewportBottomLeft;
541
602
  const viewportCoordinate = TSL.viewportCoordinate;
542
603
  const viewportDepthTexture = TSL.viewportDepthTexture;
543
604
  const viewportLinearDepth = TSL.viewportLinearDepth;
@@ -547,7 +608,6 @@ const viewportSafeUV = TSL.viewportSafeUV;
547
608
  const viewportSharedTexture = TSL.viewportSharedTexture;
548
609
  const viewportSize = TSL.viewportSize;
549
610
  const viewportTexture = TSL.viewportTexture;
550
- const viewportTopLeft = TSL.viewportTopLeft;
551
611
  const viewportUV = TSL.viewportUV;
552
612
  const wgsl = TSL.wgsl;
553
613
  const wgslFn = TSL.wgslFn;
@@ -557,4 +617,18 @@ const workgroupId = TSL.workgroupId;
557
617
  const workingToColorSpace = TSL.workingToColorSpace;
558
618
  const xor = TSL.xor;
559
619
 
560
- 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, Switch, 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, bentNormalView, 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, computeSkinning, cond, context, convert, convertColorSpace, convertToTexture, cos, cross, cubeTexture, dFdx, dFdy, dashSize, debug, decrement, decrementBefore, 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, getShadowMaterial, getShadowRenderObjectFunction, getTextureIndex, getViewPosition, globalId, glsl, glslFn, grayscale, greaterThan, greaterThanEqual, hash, highpModelNormalViewMatrix, highpModelViewMatrix, hue, increment, incrementBefore, 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, lightProjectionUV, lightShadowMatrix, 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, modelRadius, 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, normalViewGeometry, normalWorld, normalWorldGeometry, normalize, not, notEqual, numWorkgroups, objectDirection, objectGroup, objectPosition, objectRadius, objectScale, objectViewPosition, objectWorldMatrix, oneMinus, or, orthographicDepthToViewZ, oscSawtooth, oscSine, oscSquare, oscTriangle, output, outputStruct, overlay, overloadingFn, parabola, parallaxDirection, parallaxUV, parameter, pass, passTexture, pcurve, perspectiveDepthToViewZ, pmremTexture, pointShadow, pointUV, pointWidth, positionGeometry, positionLocal, positionPrevious, positionView, positionViewDirection, positionWorld, positionWorldDirection, posterize, pow, pow2, pow3, pow4, premultiplyAlpha, 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, sample, sampler, samplerComparison, saturate, saturation, screen, screenCoordinate, screenSize, screenUV, scriptable, scriptableValue, select, setCurrentStack, shaderStages, shadow, shadowPositionWorld, shapeCircle, sharedUniformGroup, sheen, sheenRoughness, shiftLeft, shiftRight, shininess, sign, sin, sinc, skinning, smoothstep, smoothstepElement, specularColor, specularF90, spherizeUV, split, spritesheetUV, sqrt, stack, step, storage, storageBarrier, storageObject, storageTexture, string, struct, sub, subBuild, subgroupIndex, subgroupSize, tan, tangentGeometry, tangentLocal, tangentView, tangentWorld, temp, texture, texture3D, textureBarrier, textureBicubic, textureBicubicLevel, textureCubeUV, textureLoad, textureSize, textureStore, thickness, time, timerDelta, timerGlobal, timerLocal, toneMapping, toneMappingExposure, toonOutlinePass, transformDirection, transformNormal, transformNormalToView, transformedClearcoatNormalView, transformedNormalView, transformedNormalWorld, transmission, transpose, triNoise3D, triplanarTexture, triplanarTextures, trunc, tslFn, uint, uniform, uniformArray, uniformCubeTexture, uniformGroup, uniformTexture, uniforms, unpremultiplyAlpha, 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 };
620
+ /*
621
+ // Use this code to generate the export statements dynamically
622
+
623
+ let code = '';
624
+
625
+ for ( const key of Object.keys( THREE.TSL ) ) {
626
+
627
+ code += `export const ${ key } = TSL.${ key };\n`;
628
+
629
+ }
630
+
631
+ console.log( code );
632
+ //*/
633
+
634
+ export { BRDF_GGX, BRDF_Lambert, BasicPointShadowFilter, BasicShadowFilter, Break, Const, Continue, DFGApprox, D_GGX, Discard, EPSILON, F_Schlick, Fn, INFINITY, If, Loop, NodeAccess, NodeShaderStage, NodeType, NodeUpdateType, OnMaterialUpdate, OnObjectUpdate, PCFShadowFilter, PCFSoftShadowFilter, PI, PI2, PointShadowFilter, Return, Schlick_to_F0, ScriptableNodeResources, ShaderNode, Stack, Switch, TBNViewMatrix, VSMShadowFilter, V_GGX_SmithCorrelated, Var, VarIntent, abs, acesFilmicToneMapping, acos, add, addMethodChaining, 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, bentNormalView, billboarding, bitAnd, bitNot, bitOr, bitXor, bitangentGeometry, bitangentLocal, bitangentView, bitangentWorld, bitcast, blendBurn, blendColor, blendDodge, blendOverlay, blendScreen, blur, bool, buffer, bufferAttribute, builtin, bumpMap, burn, bvec2, bvec3, bvec4, bypass, cache, call, cameraFar, cameraIndex, cameraNear, cameraNormalMatrix, cameraPosition, cameraProjectionMatrix, cameraProjectionMatrixInverse, cameraViewMatrix, cameraViewport, cameraWorldMatrix, cbrt, cdl, ceil, checker, cineonToneMapping, clamp, clearcoat, clearcoatNormalView, clearcoatRoughness, code, color, colorSpaceToWorking, colorToDirection, compute, computeKernel, computeSkinning, context, convert, convertColorSpace, convertToTexture, cos, cross, cubeTexture, cubeTextureBase, cubeToUV, dFdx, dFdy, dashSize, debug, decrement, decrementBefore, defaultBuildStages, defaultShaderStages, defined, degrees, deltaTime, densityFog, densityFogFactor, depth, depthPass, determinant, difference, diffuseColor, directPointLight, directionToColor, directionToFaceDirection, dispersion, distance, div, dodge, dot, drawIndex, dynamicBufferAttribute, element, emissive, equal, equals, equirectUV, exp, exp2, expression, faceDirection, faceForward, faceforward, float, floatBitsToInt, floatBitsToUint, floor, fog, fract, frameGroup, frameId, frontFacing, fwidth, gain, gapSize, getConstNodeType, getCurrentStack, getDirection, getDistanceAttenuation, getGeometryRoughness, getNormalFromDepth, getParallaxCorrectNormal, getRoughness, getScreenPosition, getShIrradianceAt, getShadowMaterial, getShadowRenderObjectFunction, getTextureIndex, getViewPosition, globalId, glsl, glslFn, grayscale, greaterThan, greaterThanEqual, hash, highpModelNormalViewMatrix, highpModelViewMatrix, hue, increment, incrementBefore, instance, instanceIndex, instancedArray, instancedBufferAttribute, instancedDynamicBufferAttribute, instancedMesh, int, intBitsToFloat, inverse, inverseSqrt, inversesqrt, invocationLocalIndex, invocationSubgroupIndex, ior, iridescence, iridescenceIOR, iridescenceThickness, ivec2, ivec3, ivec4, js, label, length, lengthSq, lessThan, lessThanEqual, lightPosition, lightProjectionUV, lightShadowMatrix, lightTargetDirection, lightTargetPosition, lightViewPosition, lightingContext, lights, linearDepth, linearToneMapping, localId, log, log2, logarithmicDepthToViewZ, luminance, mat2, mat3, mat4, matcapUV, materialAO, materialAlphaTest, materialAnisotropy, materialAnisotropyVector, materialAttenuationColor, materialAttenuationDistance, materialClearcoat, materialClearcoatNormal, materialClearcoatRoughness, materialColor, materialDispersion, materialEmissive, materialEnvIntensity, materialEnvRotation, 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, modelRadius, modelScale, modelViewMatrix, modelViewPosition, modelViewProjection, modelWorldMatrix, modelWorldMatrixInverse, morphReference, mrt, mul, mx_aastep, mx_add, mx_atan2, mx_cell_noise_float, mx_contrast, mx_divide, mx_fractal_noise_float, mx_fractal_noise_vec2, mx_fractal_noise_vec3, mx_fractal_noise_vec4, mx_frame, mx_heighttonormal, mx_hsvtorgb, mx_ifequal, mx_ifgreater, mx_ifgreatereq, mx_invert, mx_modulo, mx_multiply, mx_noise_float, mx_noise_vec3, mx_noise_vec4, mx_place2d, mx_power, mx_ramp4, mx_ramplr, mx_ramptb, mx_rgbtohsv, mx_rotate2d, mx_rotate3d, mx_safepower, mx_separate, mx_splitlr, mx_splittb, mx_srgb_texture_to_lin_rec709, mx_subtract, mx_timer, mx_transform_uv, mx_unifiednoise2d, mx_unifiednoise3d, mx_worley_noise_float, mx_worley_noise_vec2, mx_worley_noise_vec3, negate, neutralToneMapping, nodeArray, nodeImmutable, nodeObject, nodeObjectIntent, nodeObjects, nodeProxy, nodeProxyIntent, normalFlat, normalGeometry, normalLocal, normalMap, normalView, normalViewGeometry, normalWorld, normalWorldGeometry, normalize, not, notEqual, numWorkgroups, objectDirection, objectGroup, objectPosition, objectRadius, objectScale, objectViewPosition, objectWorldMatrix, oneMinus, or, orthographicDepthToViewZ, oscSawtooth, oscSine, oscSquare, oscTriangle, output, outputStruct, overlay, overloadingFn, parabola, parallaxDirection, parallaxUV, parameter, pass, passTexture, pcurve, perspectiveDepthToViewZ, pmremTexture, pointShadow, pointUV, pointWidth, positionGeometry, positionLocal, positionPrevious, positionView, positionViewDirection, positionWorld, positionWorldDirection, posterize, pow, pow2, pow3, pow4, premultiplyAlpha, property, radians, rand, range, rangeFog, rangeFogFactor, reciprocal, reference, referenceBuffer, reflect, reflectVector, reflectView, reflector, refract, refractVector, refractView, reinhardToneMapping, remap, remapClamp, renderGroup, renderOutput, rendererReference, rotate, rotateUV, roughness, round, rtt, sRGBTransferEOTF, sRGBTransferOETF, sample, sampler, samplerComparison, saturate, saturation, screen, screenCoordinate, screenDPR, screenSize, screenUV, scriptable, scriptableValue, select, setCurrentStack, setName, shaderStages, shadow, shadowPositionWorld, shapeCircle, sharedUniformGroup, sheen, sheenRoughness, shiftLeft, shiftRight, shininess, sign, sin, sinc, skinning, smoothstep, smoothstepElement, specularColor, specularF90, spherizeUV, split, spritesheetUV, sqrt, stack, step, stepElement, storage, storageBarrier, storageObject, storageTexture, string, struct, sub, subBuild, subgroupAdd, subgroupAll, subgroupAnd, subgroupAny, subgroupBallot, subgroupBroadcast, subgroupBroadcastFirst, subgroupElect, subgroupExclusiveAdd, subgroupExclusiveMul, subgroupInclusiveAdd, subgroupInclusiveMul, subgroupIndex, subgroupMax, subgroupMin, subgroupMul, subgroupOr, subgroupShuffle, subgroupShuffleDown, subgroupShuffleUp, subgroupShuffleXor, subgroupSize, subgroupXor, tan, tangentGeometry, tangentLocal, tangentView, tangentWorld, texture, texture3D, textureBarrier, textureBicubic, textureBicubicLevel, textureCubeUV, textureLoad, textureSize, textureStore, thickness, time, toneMapping, toneMappingExposure, toonOutlinePass, transformDirection, transformNormal, transformNormalToView, transformedClearcoatNormalView, transformedNormalView, transformedNormalWorld, transmission, transpose, triNoise3D, triplanarTexture, triplanarTextures, trunc, uint, uintBitsToFloat, uniform, uniformArray, uniformCubeTexture, uniformFlow, uniformGroup, uniformTexture, unpremultiplyAlpha, userData, uv, uvec2, uvec3, uvec4, varying, varyingProperty, vec2, vec3, vec4, vectorComponents, velocity, vertexColor, vertexIndex, vertexStage, vibrance, viewZToLogarithmicDepth, viewZToOrthographicDepth, viewZToPerspectiveDepth, viewport, viewportCoordinate, viewportDepthTexture, viewportLinearDepth, viewportMipTexture, viewportResolution, viewportSafeUV, viewportSharedTexture, viewportSize, viewportTexture, viewportUV, wgsl, wgslFn, workgroupArray, workgroupBarrier, workgroupId, workingToColorSpace, xor };
@@ -3,4 +3,4 @@
3
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,l=e.D_GGX,s=e.Discard,c=e.EPSILON,m=e.F_Schlick,p=e.Fn,d=e.INFINITY,u=e.If,g=e.Switch,h=e.Loop,x=e.NodeShaderStage,f=e.NodeType,b=e.NodeUpdateType,w=e.NodeAccess,v=e.PCFShadowFilter,S=e.PCFSoftShadowFilter,T=e.PI,_=e.PI2,y=e.Return,V=e.Schlick_to_F0,M=e.ScriptableNodeResources,D=e.ShaderNode,F=e.TBNViewMatrix,C=e.VSMShadowFilter,I=e.V_GGX_SmithCorrelated,P=e.abs,R=e.acesFilmicToneMapping,N=e.acos,B=e.add,L=e.addNodeElement,A=e.agxToneMapping,G=e.all,k=e.alphaT,O=e.and,j=e.anisotropy,W=e.anisotropyB,U=e.anisotropyT,z=e.any,q=e.append,E=e.array,Z=e.arrayBuffer,X=e.asin,Y=e.assign,H=e.atan,J=e.atan2,K=e.atomicAdd,Q=e.atomicAnd,$=e.atomicFunc,ee=e.atomicMax,te=e.atomicMin,re=e.atomicOr,ae=e.atomicStore,oe=e.atomicSub,ie=e.atomicXor,ne=e.atomicLoad,le=e.attenuationColor,se=e.attenuationDistance,ce=e.attribute,me=e.attributeArray,pe=e.backgroundBlurriness,de=e.backgroundIntensity,ue=e.backgroundRotation,ge=e.batch,he=e.bentNormalView,xe=e.billboarding,fe=e.bitAnd,be=e.bitNot,we=e.bitOr,ve=e.bitXor,Se=e.bitangentGeometry,Te=e.bitangentLocal,_e=e.bitangentView,ye=e.bitangentWorld,Ve=e.bitcast,Me=e.blendBurn,De=e.blendColor,Fe=e.blendDodge,Ce=e.blendOverlay,Ie=e.blendScreen,Pe=e.blur,Re=e.bool,Ne=e.buffer,Be=e.bufferAttribute,Le=e.bumpMap,Ae=e.burn,Ge=e.bvec2,ke=e.bvec3,Oe=e.bvec4,je=e.bypass,We=e.cache,Ue=e.call,ze=e.cameraFar,qe=e.cameraIndex,Ee=e.cameraNear,Ze=e.cameraNormalMatrix,Xe=e.cameraPosition,Ye=e.cameraProjectionMatrix,He=e.cameraProjectionMatrixInverse,Je=e.cameraViewMatrix,Ke=e.cameraWorldMatrix,Qe=e.cbrt,$e=e.cdl,et=e.ceil,tt=e.checker,rt=e.cineonToneMapping,at=e.clamp,ot=e.clearcoat,it=e.clearcoatRoughness,nt=e.code,lt=e.color,st=e.colorSpaceToWorking,ct=e.colorToDirection,mt=e.compute,pt=e.computeSkinning,dt=e.cond,ut=e.Const,gt=e.context,ht=e.convert,xt=e.convertColorSpace,ft=e.convertToTexture,bt=e.cos,wt=e.cross,vt=e.cubeTexture,St=e.dFdx,Tt=e.dFdy,_t=e.dashSize,yt=e.debug,Vt=e.decrement,Mt=e.decrementBefore,Dt=e.defaultBuildStages,Ft=e.defaultShaderStages,Ct=e.defined,It=e.degrees,Pt=e.deltaTime,Rt=e.densityFog,Nt=e.densityFogFactor,Bt=e.depth,Lt=e.depthPass,At=e.difference,Gt=e.diffuseColor,kt=e.directPointLight,Ot=e.directionToColor,jt=e.dispersion,Wt=e.distance,Ut=e.div,zt=e.dodge,qt=e.dot,Et=e.drawIndex,Zt=e.dynamicBufferAttribute,Xt=e.element,Yt=e.emissive,Ht=e.equal,Jt=e.equals,Kt=e.equirectUV,Qt=e.exp,$t=e.exp2,er=e.expression,tr=e.faceDirection,rr=e.faceForward,ar=e.faceforward,or=e.float,ir=e.floor,nr=e.fog,lr=e.fract,sr=e.frameGroup,cr=e.frameId,mr=e.frontFacing,pr=e.fwidth,dr=e.gain,ur=e.gapSize,gr=e.getConstNodeType,hr=e.getCurrentStack,xr=e.getDirection,fr=e.getDistanceAttenuation,br=e.getGeometryRoughness,wr=e.getNormalFromDepth,vr=e.getParallaxCorrectNormal,Sr=e.getRoughness,Tr=e.getScreenPosition,_r=e.getShIrradianceAt,yr=e.getTextureIndex,Vr=e.getViewPosition,Mr=e.getShadowMaterial,Dr=e.getShadowRenderObjectFunction,Fr=e.glsl,Cr=e.glslFn,Ir=e.grayscale,Pr=e.greaterThan,Rr=e.greaterThanEqual,Nr=e.hash,Br=e.highpModelNormalViewMatrix,Lr=e.highpModelViewMatrix,Ar=e.hue,Gr=e.increment,kr=e.incrementBefore,Or=e.instance,jr=e.instanceIndex,Wr=e.instancedArray,Ur=e.instancedBufferAttribute,zr=e.instancedDynamicBufferAttribute,qr=e.instancedMesh,Er=e.int,Zr=e.inverseSqrt,Xr=e.inversesqrt,Yr=e.invocationLocalIndex,Hr=e.invocationSubgroupIndex,Jr=e.ior,Kr=e.iridescence,Qr=e.iridescenceIOR,$r=e.iridescenceThickness,ea=e.ivec2,ta=e.ivec3,ra=e.ivec4,aa=e.js,oa=e.label,ia=e.length,na=e.lengthSq,la=e.lessThan,sa=e.lessThanEqual,ca=e.lightPosition,ma=e.lightShadowMatrix,pa=e.lightTargetDirection,da=e.lightTargetPosition,ua=e.lightViewPosition,ga=e.lightingContext,ha=e.lights,xa=e.linearDepth,fa=e.linearToneMapping,ba=e.localId,wa=e.globalId,va=e.log,Sa=e.log2,Ta=e.logarithmicDepthToViewZ,_a=e.loop,ya=e.luminance,Va=e.mediumpModelViewMatrix,Ma=e.mat2,Da=e.mat3,Fa=e.mat4,Ca=e.matcapUV,Ia=e.materialAO,Pa=e.materialAlphaTest,Ra=e.materialAnisotropy,Na=e.materialAnisotropyVector,Ba=e.materialAttenuationColor,La=e.materialAttenuationDistance,Aa=e.materialClearcoat,Ga=e.materialClearcoatNormal,ka=e.materialClearcoatRoughness,Oa=e.materialColor,ja=e.materialDispersion,Wa=e.materialEmissive,Ua=e.materialIOR,za=e.materialIridescence,qa=e.materialIridescenceIOR,Ea=e.materialIridescenceThickness,Za=e.materialLightMap,Xa=e.materialLineDashOffset,Ya=e.materialLineDashSize,Ha=e.materialLineGapSize,Ja=e.materialLineScale,Ka=e.materialLineWidth,Qa=e.materialMetalness,$a=e.materialNormal,eo=e.materialOpacity,to=e.materialPointSize,ro=e.materialReference,ao=e.materialReflectivity,oo=e.materialRefractionRatio,io=e.materialRotation,no=e.materialRoughness,lo=e.materialSheen,so=e.materialSheenRoughness,co=e.materialShininess,mo=e.materialSpecular,po=e.materialSpecularColor,uo=e.materialSpecularIntensity,go=e.materialSpecularStrength,ho=e.materialThickness,xo=e.materialTransmission,fo=e.max,bo=e.maxMipLevel,wo=e.metalness,vo=e.min,So=e.mix,To=e.mixElement,_o=e.mod,yo=e.modInt,Vo=e.modelDirection,Mo=e.modelNormalMatrix,Do=e.modelPosition,Fo=e.modelRadius,Co=e.modelScale,Io=e.modelViewMatrix,Po=e.modelViewPosition,Ro=e.modelViewProjection,No=e.modelWorldMatrix,Bo=e.modelWorldMatrixInverse,Lo=e.morphReference,Ao=e.mrt,Go=e.mul,ko=e.mx_aastep,Oo=e.mx_cell_noise_float,jo=e.mx_contrast,Wo=e.mx_fractal_noise_float,Uo=e.mx_fractal_noise_vec2,zo=e.mx_fractal_noise_vec3,qo=e.mx_fractal_noise_vec4,Eo=e.mx_hsvtorgb,Zo=e.mx_noise_float,Xo=e.mx_noise_vec3,Yo=e.mx_noise_vec4,Ho=e.mx_ramplr,Jo=e.mx_ramptb,Ko=e.mx_rgbtohsv,Qo=e.mx_safepower,$o=e.mx_splitlr,ei=e.mx_splittb,ti=e.mx_srgb_texture_to_lin_rec709,ri=e.mx_transform_uv,ai=e.mx_worley_noise_float,oi=e.mx_worley_noise_vec2,ii=e.mx_worley_noise_vec3,ni=e.negate,li=e.neutralToneMapping,si=e.nodeArray,ci=e.nodeImmutable,mi=e.nodeObject,pi=e.nodeObjects,di=e.nodeProxy,ui=e.normalFlat,gi=e.normalGeometry,hi=e.normalLocal,xi=e.normalMap,fi=e.normalView,bi=e.normalViewGeometry,wi=e.normalWorld,vi=e.normalWorldGeometry,Si=e.normalize,Ti=e.not,_i=e.notEqual,yi=e.numWorkgroups,Vi=e.objectDirection,Mi=e.objectGroup,Di=e.objectPosition,Fi=e.objectRadius,Ci=e.objectScale,Ii=e.objectViewPosition,Pi=e.objectWorldMatrix,Ri=e.oneMinus,Ni=e.or,Bi=e.orthographicDepthToViewZ,Li=e.oscSawtooth,Ai=e.oscSine,Gi=e.oscSquare,ki=e.oscTriangle,Oi=e.output,ji=e.outputStruct,Wi=e.overlay,Ui=e.overloadingFn,zi=e.parabola,qi=e.parallaxDirection,Ei=e.parallaxUV,Zi=e.parameter,Xi=e.pass,Yi=e.passTexture,Hi=e.pcurve,Ji=e.perspectiveDepthToViewZ,Ki=e.pmremTexture,Qi=e.pointUV,$i=e.pointWidth,en=e.positionGeometry,tn=e.positionLocal,rn=e.positionPrevious,an=e.positionView,on=e.positionViewDirection,nn=e.positionWorld,ln=e.positionWorldDirection,sn=e.posterize,cn=e.pow,mn=e.pow2,pn=e.pow3,dn=e.pow4,un=e.premultiplyAlpha,gn=e.property,hn=e.radians,xn=e.rand,fn=e.range,bn=e.rangeFog,wn=e.rangeFogFactor,vn=e.reciprocal,Sn=e.lightProjectionUV,Tn=e.reference,_n=e.referenceBuffer,yn=e.reflect,Vn=e.reflectVector,Mn=e.reflectView,Dn=e.reflector,Fn=e.refract,Cn=e.refractVector,In=e.refractView,Pn=e.reinhardToneMapping,Rn=e.remainder,Nn=e.remap,Bn=e.remapClamp,Ln=e.renderGroup,An=e.renderOutput,Gn=e.rendererReference,kn=e.rotate,On=e.rotateUV,jn=e.roughness,Wn=e.round,Un=e.rtt,zn=e.sRGBTransferEOTF,qn=e.sRGBTransferOETF,En=e.sample,Zn=e.sampler,Xn=e.samplerComparison,Yn=e.saturate,Hn=e.saturation,Jn=e.screen,Kn=e.screenCoordinate,Qn=e.screenSize,$n=e.screenUV,el=e.scriptable,tl=e.scriptableValue,rl=e.select,al=e.setCurrentStack,ol=e.shaderStages,il=e.shadow,nl=e.pointShadow,ll=e.shadowPositionWorld,sl=e.sharedUniformGroup,cl=e.shapeCircle,ml=e.sheen,pl=e.sheenRoughness,dl=e.shiftLeft,ul=e.shiftRight,gl=e.shininess,hl=e.sign,xl=e.sin,fl=e.sinc,bl=e.skinning,wl=e.smoothstep,vl=e.smoothstepElement,Sl=e.specularColor,Tl=e.specularF90,_l=e.spherizeUV,yl=e.split,Vl=e.spritesheetUV,Ml=e.sqrt,Dl=e.stack,Fl=e.step,Cl=e.storage,Il=e.storageBarrier,Pl=e.storageObject,Rl=e.storageTexture,Nl=e.string,Bl=e.struct,Ll=e.sub,Al=e.subBuild,Gl=e.subgroupIndex,kl=e.subgroupSize,Ol=e.tan,jl=e.tangentGeometry,Wl=e.tangentLocal,Ul=e.tangentView,zl=e.tangentWorld,ql=e.temp,El=e.texture,Zl=e.texture3D,Xl=e.textureBarrier,Yl=e.textureBicubic,Hl=e.textureBicubicLevel,Jl=e.textureCubeUV,Kl=e.textureLoad,Ql=e.textureSize,$l=e.textureStore,es=e.thickness,ts=e.time,rs=e.timerDelta,as=e.timerGlobal,os=e.timerLocal,is=e.toneMapping,ns=e.toneMappingExposure,ls=e.toonOutlinePass,ss=e.transformDirection,cs=e.transformNormal,ms=e.transformNormalToView,ps=e.transformedClearcoatNormalView,ds=e.transformedNormalView,us=e.transformedNormalWorld,gs=e.transmission,hs=e.transpose,xs=e.triNoise3D,fs=e.triplanarTexture,bs=e.triplanarTextures,ws=e.trunc,vs=e.tslFn,Ss=e.uint,Ts=e.uniform,_s=e.uniformCubeTexture,ys=e.uniformArray,Vs=e.uniformGroup,Ms=e.uniformTexture,Ds=e.uniforms,Fs=e.unpremultiplyAlpha,Cs=e.userData,Is=e.uv,Ps=e.uvec2,Rs=e.uvec3,Ns=e.uvec4,Bs=e.Var,Ls=e.varying,As=e.varyingProperty,Gs=e.vec2,ks=e.vec3,Os=e.vec4,js=e.vectorComponents,Ws=e.velocity,Us=e.vertexColor,zs=e.vertexIndex,qs=e.vibrance,Es=e.viewZToLogarithmicDepth,Zs=e.viewZToOrthographicDepth,Xs=e.viewZToPerspectiveDepth,Ys=e.viewport,Hs=e.viewportBottomLeft,Js=e.viewportCoordinate,Ks=e.viewportDepthTexture,Qs=e.viewportLinearDepth,$s=e.viewportMipTexture,ec=e.viewportResolution,tc=e.viewportSafeUV,rc=e.viewportSharedTexture,ac=e.viewportSize,oc=e.viewportTexture,ic=e.viewportTopLeft,nc=e.viewportUV,lc=e.wgsl,sc=e.wgslFn,cc=e.workgroupArray,mc=e.workgroupBarrier,pc=e.workgroupId,dc=e.workingToColorSpace,uc=e.xor;export{t as BRDF_GGX,r as BRDF_Lambert,a as BasicShadowFilter,o as Break,ut as Const,i as Continue,n as DFGApprox,l as D_GGX,s as Discard,c as EPSILON,m as F_Schlick,p as Fn,d as INFINITY,u as If,h as Loop,w as NodeAccess,x as NodeShaderStage,f as NodeType,b as NodeUpdateType,v as PCFShadowFilter,S as PCFSoftShadowFilter,T as PI,_ as PI2,y as Return,V as Schlick_to_F0,M as ScriptableNodeResources,D as ShaderNode,g as Switch,F as TBNViewMatrix,C as VSMShadowFilter,I as V_GGX_SmithCorrelated,Bs as Var,P as abs,R as acesFilmicToneMapping,N as acos,B as add,L as addNodeElement,A as agxToneMapping,G as all,k as alphaT,O as and,j as anisotropy,W as anisotropyB,U as anisotropyT,z as any,q as append,E as array,Z as arrayBuffer,X as asin,Y as assign,H as atan,J as atan2,K as atomicAdd,Q as atomicAnd,$ as atomicFunc,ne as atomicLoad,ee as atomicMax,te as atomicMin,re as atomicOr,ae as atomicStore,oe as atomicSub,ie as atomicXor,le as attenuationColor,se as attenuationDistance,ce as attribute,me as attributeArray,pe as backgroundBlurriness,de as backgroundIntensity,ue as backgroundRotation,ge as batch,he as bentNormalView,xe as billboarding,fe as bitAnd,be as bitNot,we as bitOr,ve as bitXor,Se as bitangentGeometry,Te as bitangentLocal,_e as bitangentView,ye as bitangentWorld,Ve as bitcast,Me as blendBurn,De as blendColor,Fe as blendDodge,Ce as blendOverlay,Ie as blendScreen,Pe as blur,Re as bool,Ne as buffer,Be as bufferAttribute,Le as bumpMap,Ae as burn,Ge as bvec2,ke as bvec3,Oe as bvec4,je as bypass,We as cache,Ue as call,ze as cameraFar,qe as cameraIndex,Ee as cameraNear,Ze as cameraNormalMatrix,Xe as cameraPosition,Ye as cameraProjectionMatrix,He as cameraProjectionMatrixInverse,Je as cameraViewMatrix,Ke as cameraWorldMatrix,Qe as cbrt,$e as cdl,et as ceil,tt as checker,rt as cineonToneMapping,at as clamp,ot as clearcoat,it as clearcoatRoughness,nt as code,lt as color,st as colorSpaceToWorking,ct as colorToDirection,mt as compute,pt as computeSkinning,dt as cond,gt as context,ht as convert,xt as convertColorSpace,ft as convertToTexture,bt as cos,wt as cross,vt as cubeTexture,St as dFdx,Tt as dFdy,_t as dashSize,yt as debug,Vt as decrement,Mt as decrementBefore,Dt as defaultBuildStages,Ft as defaultShaderStages,Ct as defined,It as degrees,Pt as deltaTime,Rt as densityFog,Nt as densityFogFactor,Bt as depth,Lt as depthPass,At as difference,Gt as diffuseColor,kt as directPointLight,Ot as directionToColor,jt as dispersion,Wt as distance,Ut as div,zt as dodge,qt as dot,Et as drawIndex,Zt as dynamicBufferAttribute,Xt as element,Yt as emissive,Ht as equal,Jt as equals,Kt as equirectUV,Qt as exp,$t as exp2,er as expression,tr as faceDirection,rr as faceForward,ar as faceforward,or as float,ir as floor,nr as fog,lr as fract,sr as frameGroup,cr as frameId,mr as frontFacing,pr as fwidth,dr as gain,ur as gapSize,gr as getConstNodeType,hr as getCurrentStack,xr as getDirection,fr as getDistanceAttenuation,br as getGeometryRoughness,wr as getNormalFromDepth,vr as getParallaxCorrectNormal,Sr as getRoughness,Tr as getScreenPosition,_r as getShIrradianceAt,Mr as getShadowMaterial,Dr as getShadowRenderObjectFunction,yr as getTextureIndex,Vr as getViewPosition,wa as globalId,Fr as glsl,Cr as glslFn,Ir as grayscale,Pr as greaterThan,Rr as greaterThanEqual,Nr as hash,Br as highpModelNormalViewMatrix,Lr as highpModelViewMatrix,Ar as hue,Gr as increment,kr as incrementBefore,Or as instance,jr as instanceIndex,Wr as instancedArray,Ur as instancedBufferAttribute,zr as instancedDynamicBufferAttribute,qr as instancedMesh,Er as int,Zr as inverseSqrt,Xr as inversesqrt,Yr as invocationLocalIndex,Hr as invocationSubgroupIndex,Jr as ior,Kr as iridescence,Qr as iridescenceIOR,$r as iridescenceThickness,ea as ivec2,ta as ivec3,ra as ivec4,aa as js,oa as label,ia as length,na as lengthSq,la as lessThan,sa as lessThanEqual,ca as lightPosition,Sn as lightProjectionUV,ma as lightShadowMatrix,pa as lightTargetDirection,da as lightTargetPosition,ua as lightViewPosition,ga as lightingContext,ha as lights,xa as linearDepth,fa as linearToneMapping,ba as localId,va as log,Sa as log2,Ta as logarithmicDepthToViewZ,_a as loop,ya as luminance,Ma as mat2,Da as mat3,Fa as mat4,Ca as matcapUV,Ia as materialAO,Pa as materialAlphaTest,Ra as materialAnisotropy,Na as materialAnisotropyVector,Ba as materialAttenuationColor,La as materialAttenuationDistance,Aa as materialClearcoat,Ga as materialClearcoatNormal,ka as materialClearcoatRoughness,Oa as materialColor,ja as materialDispersion,Wa as materialEmissive,Ua as materialIOR,za as materialIridescence,qa as materialIridescenceIOR,Ea as materialIridescenceThickness,Za as materialLightMap,Xa as materialLineDashOffset,Ya as materialLineDashSize,Ha as materialLineGapSize,Ja as materialLineScale,Ka as materialLineWidth,Qa as materialMetalness,$a as materialNormal,eo as materialOpacity,to as materialPointSize,ro as materialReference,ao as materialReflectivity,oo as materialRefractionRatio,io as materialRotation,no as materialRoughness,lo as materialSheen,so as materialSheenRoughness,co as materialShininess,mo as materialSpecular,po as materialSpecularColor,uo as materialSpecularIntensity,go as materialSpecularStrength,ho as materialThickness,xo as materialTransmission,fo as max,bo as maxMipLevel,Va as mediumpModelViewMatrix,wo as metalness,vo as min,So as mix,To as mixElement,_o as mod,yo as modInt,Vo as modelDirection,Mo as modelNormalMatrix,Do as modelPosition,Fo as modelRadius,Co as modelScale,Io as modelViewMatrix,Po as modelViewPosition,Ro as modelViewProjection,No as modelWorldMatrix,Bo as modelWorldMatrixInverse,Lo as morphReference,Ao as mrt,Go as mul,ko as mx_aastep,Oo as mx_cell_noise_float,jo as mx_contrast,Wo as mx_fractal_noise_float,Uo as mx_fractal_noise_vec2,zo as mx_fractal_noise_vec3,qo as mx_fractal_noise_vec4,Eo as mx_hsvtorgb,Zo as mx_noise_float,Xo as mx_noise_vec3,Yo as mx_noise_vec4,Ho as mx_ramplr,Jo as mx_ramptb,Ko as mx_rgbtohsv,Qo as mx_safepower,$o as mx_splitlr,ei as mx_splittb,ti as mx_srgb_texture_to_lin_rec709,ri as mx_transform_uv,ai as mx_worley_noise_float,oi as mx_worley_noise_vec2,ii as mx_worley_noise_vec3,ni as negate,li as neutralToneMapping,si as nodeArray,ci as nodeImmutable,mi as nodeObject,pi as nodeObjects,di as nodeProxy,ui as normalFlat,gi as normalGeometry,hi as normalLocal,xi as normalMap,fi as normalView,bi as normalViewGeometry,wi as normalWorld,vi as normalWorldGeometry,Si as normalize,Ti as not,_i as notEqual,yi as numWorkgroups,Vi as objectDirection,Mi as objectGroup,Di as objectPosition,Fi as objectRadius,Ci as objectScale,Ii as objectViewPosition,Pi as objectWorldMatrix,Ri as oneMinus,Ni as or,Bi as orthographicDepthToViewZ,Li as oscSawtooth,Ai as oscSine,Gi as oscSquare,ki as oscTriangle,Oi as output,ji as outputStruct,Wi as overlay,Ui as overloadingFn,zi as parabola,qi as parallaxDirection,Ei as parallaxUV,Zi as parameter,Xi as pass,Yi as passTexture,Hi as pcurve,Ji as perspectiveDepthToViewZ,Ki as pmremTexture,nl as pointShadow,Qi as pointUV,$i as pointWidth,en as positionGeometry,tn as positionLocal,rn as positionPrevious,an as positionView,on as positionViewDirection,nn as positionWorld,ln as positionWorldDirection,sn as posterize,cn as pow,mn as pow2,pn as pow3,dn as pow4,un as premultiplyAlpha,gn as property,hn as radians,xn as rand,fn as range,bn as rangeFog,wn as rangeFogFactor,vn as reciprocal,Tn as reference,_n as referenceBuffer,yn as reflect,Vn as reflectVector,Mn as reflectView,Dn as reflector,Fn as refract,Cn as refractVector,In as refractView,Pn as reinhardToneMapping,Rn as remainder,Nn as remap,Bn as remapClamp,Ln as renderGroup,An as renderOutput,Gn as rendererReference,kn as rotate,On as rotateUV,jn as roughness,Wn as round,Un as rtt,zn as sRGBTransferEOTF,qn as sRGBTransferOETF,En as sample,Zn as sampler,Xn as samplerComparison,Yn as saturate,Hn as saturation,Jn as screen,Kn as screenCoordinate,Qn as screenSize,$n as screenUV,el as scriptable,tl as scriptableValue,rl as select,al as setCurrentStack,ol as shaderStages,il as shadow,ll as shadowPositionWorld,cl as shapeCircle,sl as sharedUniformGroup,ml as sheen,pl as sheenRoughness,dl as shiftLeft,ul as shiftRight,gl as shininess,hl as sign,xl as sin,fl as sinc,bl as skinning,wl as smoothstep,vl as smoothstepElement,Sl as specularColor,Tl as specularF90,_l as spherizeUV,yl as split,Vl as spritesheetUV,Ml as sqrt,Dl as stack,Fl as step,Cl as storage,Il as storageBarrier,Pl as storageObject,Rl as storageTexture,Nl as string,Bl as struct,Ll as sub,Al as subBuild,Gl as subgroupIndex,kl as subgroupSize,Ol as tan,jl as tangentGeometry,Wl as tangentLocal,Ul as tangentView,zl as tangentWorld,ql as temp,El as texture,Zl as texture3D,Xl as textureBarrier,Yl as textureBicubic,Hl as textureBicubicLevel,Jl as textureCubeUV,Kl as textureLoad,Ql as textureSize,$l as textureStore,es as thickness,ts as time,rs as timerDelta,as as timerGlobal,os as timerLocal,is as toneMapping,ns as toneMappingExposure,ls as toonOutlinePass,ss as transformDirection,cs as transformNormal,ms as transformNormalToView,ps as transformedClearcoatNormalView,ds as transformedNormalView,us as transformedNormalWorld,gs as transmission,hs as transpose,xs as triNoise3D,fs as triplanarTexture,bs as triplanarTextures,ws as trunc,vs as tslFn,Ss as uint,Ts as uniform,ys as uniformArray,_s as uniformCubeTexture,Vs as uniformGroup,Ms as uniformTexture,Ds as uniforms,Fs as unpremultiplyAlpha,Cs as userData,Is as uv,Ps as uvec2,Rs as uvec3,Ns as uvec4,Ls as varying,As as varyingProperty,Gs as vec2,ks as vec3,Os as vec4,js as vectorComponents,Ws as velocity,Us as vertexColor,zs as vertexIndex,qs as vibrance,Es as viewZToLogarithmicDepth,Zs as viewZToOrthographicDepth,Xs as viewZToPerspectiveDepth,Ys as viewport,Hs as viewportBottomLeft,Js as viewportCoordinate,Ks as viewportDepthTexture,Qs as viewportLinearDepth,$s as viewportMipTexture,ec as viewportResolution,tc as viewportSafeUV,rc as viewportSharedTexture,ac as viewportSize,oc as viewportTexture,ic as viewportTopLeft,nc as viewportUV,lc as wgsl,sc as wgslFn,cc as workgroupArray,mc as workgroupBarrier,pc as workgroupId,dc as workingToColorSpace,uc as xor};
6
+ import{TSL as e}from"three/webgpu";const t=e.BRDF_GGX,r=e.BRDF_Lambert,a=e.BasicPointShadowFilter,o=e.BasicShadowFilter,i=e.Break,n=e.Const,l=e.Continue,s=e.DFGApprox,c=e.D_GGX,m=e.Discard,u=e.EPSILON,p=e.F_Schlick,d=e.Fn,g=e.INFINITY,h=e.If,x=e.Loop,b=e.NodeAccess,f=e.NodeShaderStage,w=e.NodeType,v=e.NodeUpdateType,_=e.PCFShadowFilter,S=e.PCFSoftShadowFilter,T=e.PI,y=e.PI2,V=e.PointShadowFilter,M=e.Return,F=e.Schlick_to_F0,D=e.ScriptableNodeResources,I=e.ShaderNode,C=e.Stack,B=e.Switch,P=e.TBNViewMatrix,R=e.VSMShadowFilter,A=e.V_GGX_SmithCorrelated,N=e.Var,O=e.VarIntent,k=e.abs,G=e.acesFilmicToneMapping,L=e.acos,U=e.add,j=e.addMethodChaining,E=e.addNodeElement,W=e.agxToneMapping,q=e.all,z=e.alphaT,X=e.and,Z=e.anisotropy,K=e.anisotropyB,Y=e.anisotropyT,H=e.any,J=e.append,Q=e.array,$=e.arrayBuffer,ee=e.asin,te=e.assign,re=e.atan,ae=e.atan2,oe=e.atomicAdd,ie=e.atomicAnd,ne=e.atomicFunc,le=e.atomicLoad,se=e.atomicMax,ce=e.atomicMin,me=e.atomicOr,ue=e.atomicStore,pe=e.atomicSub,de=e.atomicXor,ge=e.attenuationColor,he=e.attenuationDistance,xe=e.attribute,be=e.attributeArray,fe=e.backgroundBlurriness,we=e.backgroundIntensity,ve=e.backgroundRotation,_e=e.batch,Se=e.bentNormalView,Te=e.billboarding,ye=e.bitAnd,Ve=e.bitNot,Me=e.bitOr,Fe=e.bitXor,De=e.bitangentGeometry,Ie=e.bitangentLocal,Ce=e.bitangentView,Be=e.bitangentWorld,Pe=e.bitcast,Re=e.blendBurn,Ae=e.blendColor,Ne=e.blendDodge,Oe=e.blendOverlay,ke=e.blendScreen,Ge=e.blur,Le=e.bool,Ue=e.buffer,je=e.bufferAttribute,Ee=e.bumpMap,We=e.burn,qe=e.builtin,ze=e.bvec2,Xe=e.bvec3,Ze=e.bvec4,Ke=e.bypass,Ye=e.cache,He=e.call,Je=e.cameraFar,Qe=e.cameraIndex,$e=e.cameraNear,et=e.cameraNormalMatrix,tt=e.cameraPosition,rt=e.cameraProjectionMatrix,at=e.cameraProjectionMatrixInverse,ot=e.cameraViewMatrix,it=e.cameraViewport,nt=e.cameraWorldMatrix,lt=e.cbrt,st=e.cdl,ct=e.ceil,mt=e.checker,ut=e.cineonToneMapping,pt=e.clamp,dt=e.clearcoat,gt=e.clearcoatNormalView,ht=e.clearcoatRoughness,xt=e.code,bt=e.color,ft=e.colorSpaceToWorking,wt=e.colorToDirection,vt=e.compute,_t=e.computeKernel,St=e.computeSkinning,Tt=e.context,yt=e.convert,Vt=e.convertColorSpace,Mt=e.convertToTexture,Ft=e.cos,Dt=e.cross,It=e.cubeTexture,Ct=e.cubeTextureBase,Bt=e.cubeToUV,Pt=e.dFdx,Rt=e.dFdy,At=e.dashSize,Nt=e.debug,Ot=e.decrement,kt=e.decrementBefore,Gt=e.defaultBuildStages,Lt=e.defaultShaderStages,Ut=e.defined,jt=e.degrees,Et=e.deltaTime,Wt=e.densityFog,qt=e.densityFogFactor,zt=e.depth,Xt=e.depthPass,Zt=e.determinant,Kt=e.difference,Yt=e.diffuseColor,Ht=e.directPointLight,Jt=e.directionToColor,Qt=e.directionToFaceDirection,$t=e.dispersion,er=e.distance,tr=e.div,rr=e.dodge,ar=e.dot,or=e.drawIndex,ir=e.dynamicBufferAttribute,nr=e.element,lr=e.emissive,sr=e.equal,cr=e.equals,mr=e.equirectUV,ur=e.exp,pr=e.exp2,dr=e.expression,gr=e.faceDirection,hr=e.faceForward,xr=e.faceforward,br=e.float,fr=e.floatBitsToInt,wr=e.floatBitsToUint,vr=e.floor,_r=e.fog,Sr=e.fract,Tr=e.frameGroup,yr=e.frameId,Vr=e.frontFacing,Mr=e.fwidth,Fr=e.gain,Dr=e.gapSize,Ir=e.getConstNodeType,Cr=e.getCurrentStack,Br=e.getDirection,Pr=e.getDistanceAttenuation,Rr=e.getGeometryRoughness,Ar=e.getNormalFromDepth,Nr=e.getParallaxCorrectNormal,Or=e.getRoughness,kr=e.getScreenPosition,Gr=e.getShIrradianceAt,Lr=e.getShadowMaterial,Ur=e.getShadowRenderObjectFunction,jr=e.getTextureIndex,Er=e.getViewPosition,Wr=e.globalId,qr=e.glsl,zr=e.glslFn,Xr=e.grayscale,Zr=e.greaterThan,Kr=e.greaterThanEqual,Yr=e.hash,Hr=e.highpModelNormalViewMatrix,Jr=e.highpModelViewMatrix,Qr=e.hue,$r=e.increment,ea=e.incrementBefore,ta=e.instance,ra=e.instanceIndex,aa=e.instancedArray,oa=e.instancedBufferAttribute,ia=e.instancedDynamicBufferAttribute,na=e.instancedMesh,la=e.int,sa=e.intBitsToFloat,ca=e.inverse,ma=e.inverseSqrt,ua=e.inversesqrt,pa=e.invocationLocalIndex,da=e.invocationSubgroupIndex,ga=e.ior,ha=e.iridescence,xa=e.iridescenceIOR,ba=e.iridescenceThickness,fa=e.ivec2,wa=e.ivec3,va=e.ivec4,_a=e.js,Sa=e.label,Ta=e.length,ya=e.lengthSq,Va=e.lessThan,Ma=e.lessThanEqual,Fa=e.lightPosition,Da=e.lightProjectionUV,Ia=e.lightShadowMatrix,Ca=e.lightTargetDirection,Ba=e.lightTargetPosition,Pa=e.lightViewPosition,Ra=e.lightingContext,Aa=e.lights,Na=e.linearDepth,Oa=e.linearToneMapping,ka=e.localId,Ga=e.log,La=e.log2,Ua=e.logarithmicDepthToViewZ,ja=e.luminance,Ea=e.mat2,Wa=e.mat3,qa=e.mat4,za=e.matcapUV,Xa=e.materialAO,Za=e.materialAlphaTest,Ka=e.materialAnisotropy,Ya=e.materialAnisotropyVector,Ha=e.materialAttenuationColor,Ja=e.materialAttenuationDistance,Qa=e.materialClearcoat,$a=e.materialClearcoatNormal,eo=e.materialClearcoatRoughness,to=e.materialColor,ro=e.materialDispersion,ao=e.materialEmissive,oo=e.materialEnvIntensity,io=e.materialEnvRotation,no=e.materialIOR,lo=e.materialIridescence,so=e.materialIridescenceIOR,co=e.materialIridescenceThickness,mo=e.materialLightMap,uo=e.materialLineDashOffset,po=e.materialLineDashSize,go=e.materialLineGapSize,ho=e.materialLineScale,xo=e.materialLineWidth,bo=e.materialMetalness,fo=e.materialNormal,wo=e.materialOpacity,vo=e.materialPointSize,_o=e.materialReference,So=e.materialReflectivity,To=e.materialRefractionRatio,yo=e.materialRotation,Vo=e.materialRoughness,Mo=e.materialSheen,Fo=e.materialSheenRoughness,Do=e.materialShininess,Io=e.materialSpecular,Co=e.materialSpecularColor,Bo=e.materialSpecularIntensity,Po=e.materialSpecularStrength,Ro=e.materialThickness,Ao=e.materialTransmission,No=e.max,Oo=e.maxMipLevel,ko=e.mediumpModelViewMatrix,Go=e.metalness,Lo=e.min,Uo=e.mix,jo=e.mixElement,Eo=e.mod,Wo=e.modInt,qo=e.modelDirection,zo=e.modelNormalMatrix,Xo=e.modelPosition,Zo=e.modelRadius,Ko=e.modelScale,Yo=e.modelViewMatrix,Ho=e.modelViewPosition,Jo=e.modelViewProjection,Qo=e.modelWorldMatrix,$o=e.modelWorldMatrixInverse,ei=e.morphReference,ti=e.mrt,ri=e.mul,ai=e.mx_aastep,oi=e.mx_add,ii=e.mx_atan2,ni=e.mx_cell_noise_float,li=e.mx_contrast,si=e.mx_divide,ci=e.mx_fractal_noise_float,mi=e.mx_fractal_noise_vec2,ui=e.mx_fractal_noise_vec3,pi=e.mx_fractal_noise_vec4,di=e.mx_frame,gi=e.mx_heighttonormal,hi=e.mx_hsvtorgb,xi=e.mx_ifequal,bi=e.mx_ifgreater,fi=e.mx_ifgreatereq,wi=e.mx_invert,vi=e.mx_modulo,_i=e.mx_multiply,Si=e.mx_noise_float,Ti=e.mx_noise_vec3,yi=e.mx_noise_vec4,Vi=e.mx_place2d,Mi=e.mx_power,Fi=e.mx_ramp4,Di=e.mx_ramplr,Ii=e.mx_ramptb,Ci=e.mx_rgbtohsv,Bi=e.mx_rotate2d,Pi=e.mx_rotate3d,Ri=e.mx_safepower,Ai=e.mx_separate,Ni=e.mx_splitlr,Oi=e.mx_splittb,ki=e.mx_srgb_texture_to_lin_rec709,Gi=e.mx_subtract,Li=e.mx_timer,Ui=e.mx_transform_uv,ji=e.mx_unifiednoise2d,Ei=e.mx_unifiednoise3d,Wi=e.mx_worley_noise_float,qi=e.mx_worley_noise_vec2,zi=e.mx_worley_noise_vec3,Xi=e.negate,Zi=e.neutralToneMapping,Ki=e.nodeArray,Yi=e.nodeImmutable,Hi=e.nodeObject,Ji=e.nodeObjectIntent,Qi=e.nodeObjects,$i=e.nodeProxy,en=e.nodeProxyIntent,tn=e.normalFlat,rn=e.normalGeometry,an=e.normalLocal,on=e.normalMap,nn=e.normalView,ln=e.normalViewGeometry,sn=e.normalWorld,cn=e.normalWorldGeometry,mn=e.normalize,un=e.not,pn=e.notEqual,dn=e.numWorkgroups,gn=e.objectDirection,hn=e.objectGroup,xn=e.objectPosition,bn=e.objectRadius,fn=e.objectScale,wn=e.objectViewPosition,vn=e.objectWorldMatrix,_n=e.OnObjectUpdate,Sn=e.OnMaterialUpdate,Tn=e.oneMinus,yn=e.or,Vn=e.orthographicDepthToViewZ,Mn=e.oscSawtooth,Fn=e.oscSine,Dn=e.oscSquare,In=e.oscTriangle,Cn=e.output,Bn=e.outputStruct,Pn=e.overlay,Rn=e.overloadingFn,An=e.parabola,Nn=e.parallaxDirection,On=e.parallaxUV,kn=e.parameter,Gn=e.pass,Ln=e.passTexture,Un=e.pcurve,jn=e.perspectiveDepthToViewZ,En=e.pmremTexture,Wn=e.pointShadow,qn=e.pointUV,zn=e.pointWidth,Xn=e.positionGeometry,Zn=e.positionLocal,Kn=e.positionPrevious,Yn=e.positionView,Hn=e.positionViewDirection,Jn=e.positionWorld,Qn=e.positionWorldDirection,$n=e.posterize,el=e.pow,tl=e.pow2,rl=e.pow3,al=e.pow4,ol=e.premultiplyAlpha,il=e.property,nl=e.radians,ll=e.rand,sl=e.range,cl=e.rangeFog,ml=e.rangeFogFactor,ul=e.reciprocal,pl=e.reference,dl=e.referenceBuffer,gl=e.reflect,hl=e.reflectVector,xl=e.reflectView,bl=e.reflector,fl=e.refract,wl=e.refractVector,vl=e.refractView,_l=e.reinhardToneMapping,Sl=e.remap,Tl=e.remapClamp,yl=e.renderGroup,Vl=e.renderOutput,Ml=e.rendererReference,Fl=e.rotate,Dl=e.rotateUV,Il=e.roughness,Cl=e.round,Bl=e.rtt,Pl=e.sRGBTransferEOTF,Rl=e.sRGBTransferOETF,Al=e.sample,Nl=e.sampler,Ol=e.samplerComparison,kl=e.saturate,Gl=e.saturation,Ll=e.screen,Ul=e.screenCoordinate,jl=e.screenDPR,El=e.screenSize,Wl=e.screenUV,ql=e.scriptable,zl=e.scriptableValue,Xl=e.select,Zl=e.setCurrentStack,Kl=e.setName,Yl=e.shaderStages,Hl=e.shadow,Jl=e.shadowPositionWorld,Ql=e.shapeCircle,$l=e.sharedUniformGroup,es=e.sheen,ts=e.sheenRoughness,rs=e.shiftLeft,as=e.shiftRight,os=e.shininess,is=e.sign,ns=e.sin,ls=e.sinc,ss=e.skinning,cs=e.smoothstep,ms=e.smoothstepElement,us=e.specularColor,ps=e.specularF90,ds=e.spherizeUV,gs=e.split,hs=e.spritesheetUV,xs=e.sqrt,bs=e.stack,fs=e.step,ws=e.stepElement,vs=e.storage,_s=e.storageBarrier,Ss=e.storageObject,Ts=e.storageTexture,ys=e.string,Vs=e.struct,Ms=e.sub,Fs=e.subgroupAdd,Ds=e.subgroupAll,Is=e.subgroupAnd,Cs=e.subgroupAny,Bs=e.subgroupBallot,Ps=e.subgroupBroadcast,Rs=e.subgroupBroadcastFirst,As=e.subBuild,Ns=e.subgroupElect,Os=e.subgroupExclusiveAdd,ks=e.subgroupExclusiveMul,Gs=e.subgroupInclusiveAdd,Ls=e.subgroupInclusiveMul,Us=e.subgroupIndex,js=e.subgroupMax,Es=e.subgroupMin,Ws=e.subgroupMul,qs=e.subgroupOr,zs=e.subgroupShuffle,Xs=e.subgroupShuffleDown,Zs=e.subgroupShuffleUp,Ks=e.subgroupShuffleXor,Ys=e.subgroupSize,Hs=e.subgroupXor,Js=e.tan,Qs=e.tangentGeometry,$s=e.tangentLocal,ec=e.tangentView,tc=e.tangentWorld,rc=e.texture,ac=e.texture3D,oc=e.textureBarrier,ic=e.textureBicubic,nc=e.textureBicubicLevel,lc=e.textureCubeUV,sc=e.textureLoad,cc=e.textureSize,mc=e.textureStore,uc=e.thickness,pc=e.time,dc=e.toneMapping,gc=e.toneMappingExposure,hc=e.toonOutlinePass,xc=e.transformDirection,bc=e.transformNormal,fc=e.transformNormalToView,wc=e.transformedClearcoatNormalView,vc=e.transformedNormalView,_c=e.transformedNormalWorld,Sc=e.transmission,Tc=e.transpose,yc=e.triNoise3D,Vc=e.triplanarTexture,Mc=e.triplanarTextures,Fc=e.trunc,Dc=e.uint,Ic=e.uintBitsToFloat,Cc=e.uniform,Bc=e.uniformArray,Pc=e.uniformCubeTexture,Rc=e.uniformGroup,Ac=e.uniformFlow,Nc=e.uniformTexture,Oc=e.unpremultiplyAlpha,kc=e.userData,Gc=e.uv,Lc=e.uvec2,Uc=e.uvec3,jc=e.uvec4,Ec=e.varying,Wc=e.varyingProperty,qc=e.vec2,zc=e.vec3,Xc=e.vec4,Zc=e.vectorComponents,Kc=e.velocity,Yc=e.vertexColor,Hc=e.vertexIndex,Jc=e.vertexStage,Qc=e.vibrance,$c=e.viewZToLogarithmicDepth,em=e.viewZToOrthographicDepth,tm=e.viewZToPerspectiveDepth,rm=e.viewport,am=e.viewportCoordinate,om=e.viewportDepthTexture,im=e.viewportLinearDepth,nm=e.viewportMipTexture,lm=e.viewportResolution,sm=e.viewportSafeUV,cm=e.viewportSharedTexture,mm=e.viewportSize,um=e.viewportTexture,pm=e.viewportUV,dm=e.wgsl,gm=e.wgslFn,hm=e.workgroupArray,xm=e.workgroupBarrier,bm=e.workgroupId,fm=e.workingToColorSpace,wm=e.xor;export{t as BRDF_GGX,r as BRDF_Lambert,a as BasicPointShadowFilter,o as BasicShadowFilter,i as Break,n as Const,l as Continue,s as DFGApprox,c as D_GGX,m as Discard,u as EPSILON,p as F_Schlick,d as Fn,g as INFINITY,h as If,x as Loop,b as NodeAccess,f as NodeShaderStage,w as NodeType,v as NodeUpdateType,Sn as OnMaterialUpdate,_n as OnObjectUpdate,_ as PCFShadowFilter,S as PCFSoftShadowFilter,T as PI,y as PI2,V as PointShadowFilter,M as Return,F as Schlick_to_F0,D as ScriptableNodeResources,I as ShaderNode,C as Stack,B as Switch,P as TBNViewMatrix,R as VSMShadowFilter,A as V_GGX_SmithCorrelated,N as Var,O as VarIntent,k as abs,G as acesFilmicToneMapping,L as acos,U as add,j as addMethodChaining,E as addNodeElement,W as agxToneMapping,q as all,z as alphaT,X as and,Z as anisotropy,K as anisotropyB,Y as anisotropyT,H as any,J as append,Q as array,$ as arrayBuffer,ee as asin,te as assign,re as atan,ae as atan2,oe as atomicAdd,ie as atomicAnd,ne as atomicFunc,le as atomicLoad,se as atomicMax,ce as atomicMin,me as atomicOr,ue as atomicStore,pe as atomicSub,de as atomicXor,ge as attenuationColor,he as attenuationDistance,xe as attribute,be as attributeArray,fe as backgroundBlurriness,we as backgroundIntensity,ve as backgroundRotation,_e as batch,Se as bentNormalView,Te as billboarding,ye as bitAnd,Ve as bitNot,Me as bitOr,Fe as bitXor,De as bitangentGeometry,Ie as bitangentLocal,Ce as bitangentView,Be as bitangentWorld,Pe as bitcast,Re as blendBurn,Ae as blendColor,Ne as blendDodge,Oe as blendOverlay,ke as blendScreen,Ge as blur,Le as bool,Ue as buffer,je as bufferAttribute,qe as builtin,Ee as bumpMap,We as burn,ze as bvec2,Xe as bvec3,Ze as bvec4,Ke as bypass,Ye as cache,He as call,Je as cameraFar,Qe as cameraIndex,$e as cameraNear,et as cameraNormalMatrix,tt as cameraPosition,rt as cameraProjectionMatrix,at as cameraProjectionMatrixInverse,ot as cameraViewMatrix,it as cameraViewport,nt as cameraWorldMatrix,lt as cbrt,st as cdl,ct as ceil,mt as checker,ut as cineonToneMapping,pt as clamp,dt as clearcoat,gt as clearcoatNormalView,ht as clearcoatRoughness,xt as code,bt as color,ft as colorSpaceToWorking,wt as colorToDirection,vt as compute,_t as computeKernel,St as computeSkinning,Tt as context,yt as convert,Vt as convertColorSpace,Mt as convertToTexture,Ft as cos,Dt as cross,It as cubeTexture,Ct as cubeTextureBase,Bt as cubeToUV,Pt as dFdx,Rt as dFdy,At as dashSize,Nt as debug,Ot as decrement,kt as decrementBefore,Gt as defaultBuildStages,Lt as defaultShaderStages,Ut as defined,jt as degrees,Et as deltaTime,Wt as densityFog,qt as densityFogFactor,zt as depth,Xt as depthPass,Zt as determinant,Kt as difference,Yt as diffuseColor,Ht as directPointLight,Jt as directionToColor,Qt as directionToFaceDirection,$t as dispersion,er as distance,tr as div,rr as dodge,ar as dot,or as drawIndex,ir as dynamicBufferAttribute,nr as element,lr as emissive,sr as equal,cr as equals,mr as equirectUV,ur as exp,pr as exp2,dr as expression,gr as faceDirection,hr as faceForward,xr as faceforward,br as float,fr as floatBitsToInt,wr as floatBitsToUint,vr as floor,_r as fog,Sr as fract,Tr as frameGroup,yr as frameId,Vr as frontFacing,Mr as fwidth,Fr as gain,Dr as gapSize,Ir as getConstNodeType,Cr as getCurrentStack,Br as getDirection,Pr as getDistanceAttenuation,Rr as getGeometryRoughness,Ar as getNormalFromDepth,Nr as getParallaxCorrectNormal,Or as getRoughness,kr as getScreenPosition,Gr as getShIrradianceAt,Lr as getShadowMaterial,Ur as getShadowRenderObjectFunction,jr as getTextureIndex,Er as getViewPosition,Wr as globalId,qr as glsl,zr as glslFn,Xr as grayscale,Zr as greaterThan,Kr as greaterThanEqual,Yr as hash,Hr as highpModelNormalViewMatrix,Jr as highpModelViewMatrix,Qr as hue,$r as increment,ea as incrementBefore,ta as instance,ra as instanceIndex,aa as instancedArray,oa as instancedBufferAttribute,ia as instancedDynamicBufferAttribute,na as instancedMesh,la as int,sa as intBitsToFloat,ca as inverse,ma as inverseSqrt,ua as inversesqrt,pa as invocationLocalIndex,da as invocationSubgroupIndex,ga as ior,ha as iridescence,xa as iridescenceIOR,ba as iridescenceThickness,fa as ivec2,wa as ivec3,va as ivec4,_a as js,Sa as label,Ta as length,ya as lengthSq,Va as lessThan,Ma as lessThanEqual,Fa as lightPosition,Da as lightProjectionUV,Ia as lightShadowMatrix,Ca as lightTargetDirection,Ba as lightTargetPosition,Pa as lightViewPosition,Ra as lightingContext,Aa as lights,Na as linearDepth,Oa as linearToneMapping,ka as localId,Ga as log,La as log2,Ua as logarithmicDepthToViewZ,ja as luminance,Ea as mat2,Wa as mat3,qa as mat4,za as matcapUV,Xa as materialAO,Za as materialAlphaTest,Ka as materialAnisotropy,Ya as materialAnisotropyVector,Ha as materialAttenuationColor,Ja as materialAttenuationDistance,Qa as materialClearcoat,$a as materialClearcoatNormal,eo as materialClearcoatRoughness,to as materialColor,ro as materialDispersion,ao as materialEmissive,oo as materialEnvIntensity,io as materialEnvRotation,no as materialIOR,lo as materialIridescence,so as materialIridescenceIOR,co as materialIridescenceThickness,mo as materialLightMap,uo as materialLineDashOffset,po as materialLineDashSize,go as materialLineGapSize,ho as materialLineScale,xo as materialLineWidth,bo as materialMetalness,fo as materialNormal,wo as materialOpacity,vo as materialPointSize,_o as materialReference,So as materialReflectivity,To as materialRefractionRatio,yo as materialRotation,Vo as materialRoughness,Mo as materialSheen,Fo as materialSheenRoughness,Do as materialShininess,Io as materialSpecular,Co as materialSpecularColor,Bo as materialSpecularIntensity,Po as materialSpecularStrength,Ro as materialThickness,Ao as materialTransmission,No as max,Oo as maxMipLevel,ko as mediumpModelViewMatrix,Go as metalness,Lo as min,Uo as mix,jo as mixElement,Eo as mod,Wo as modInt,qo as modelDirection,zo as modelNormalMatrix,Xo as modelPosition,Zo as modelRadius,Ko as modelScale,Yo as modelViewMatrix,Ho as modelViewPosition,Jo as modelViewProjection,Qo as modelWorldMatrix,$o as modelWorldMatrixInverse,ei as morphReference,ti as mrt,ri as mul,ai as mx_aastep,oi as mx_add,ii as mx_atan2,ni as mx_cell_noise_float,li as mx_contrast,si as mx_divide,ci as mx_fractal_noise_float,mi as mx_fractal_noise_vec2,ui as mx_fractal_noise_vec3,pi as mx_fractal_noise_vec4,di as mx_frame,gi as mx_heighttonormal,hi as mx_hsvtorgb,xi as mx_ifequal,bi as mx_ifgreater,fi as mx_ifgreatereq,wi as mx_invert,vi as mx_modulo,_i as mx_multiply,Si as mx_noise_float,Ti as mx_noise_vec3,yi as mx_noise_vec4,Vi as mx_place2d,Mi as mx_power,Fi as mx_ramp4,Di as mx_ramplr,Ii as mx_ramptb,Ci as mx_rgbtohsv,Bi as mx_rotate2d,Pi as mx_rotate3d,Ri as mx_safepower,Ai as mx_separate,Ni as mx_splitlr,Oi as mx_splittb,ki as mx_srgb_texture_to_lin_rec709,Gi as mx_subtract,Li as mx_timer,Ui as mx_transform_uv,ji as mx_unifiednoise2d,Ei as mx_unifiednoise3d,Wi as mx_worley_noise_float,qi as mx_worley_noise_vec2,zi as mx_worley_noise_vec3,Xi as negate,Zi as neutralToneMapping,Ki as nodeArray,Yi as nodeImmutable,Hi as nodeObject,Ji as nodeObjectIntent,Qi as nodeObjects,$i as nodeProxy,en as nodeProxyIntent,tn as normalFlat,rn as normalGeometry,an as normalLocal,on as normalMap,nn as normalView,ln as normalViewGeometry,sn as normalWorld,cn as normalWorldGeometry,mn as normalize,un as not,pn as notEqual,dn as numWorkgroups,gn as objectDirection,hn as objectGroup,xn as objectPosition,bn as objectRadius,fn as objectScale,wn as objectViewPosition,vn as objectWorldMatrix,Tn as oneMinus,yn as or,Vn as orthographicDepthToViewZ,Mn as oscSawtooth,Fn as oscSine,Dn as oscSquare,In as oscTriangle,Cn as output,Bn as outputStruct,Pn as overlay,Rn as overloadingFn,An as parabola,Nn as parallaxDirection,On as parallaxUV,kn as parameter,Gn as pass,Ln as passTexture,Un as pcurve,jn as perspectiveDepthToViewZ,En as pmremTexture,Wn as pointShadow,qn as pointUV,zn as pointWidth,Xn as positionGeometry,Zn as positionLocal,Kn as positionPrevious,Yn as positionView,Hn as positionViewDirection,Jn as positionWorld,Qn as positionWorldDirection,$n as posterize,el as pow,tl as pow2,rl as pow3,al as pow4,ol as premultiplyAlpha,il as property,nl as radians,ll as rand,sl as range,cl as rangeFog,ml as rangeFogFactor,ul as reciprocal,pl as reference,dl as referenceBuffer,gl as reflect,hl as reflectVector,xl as reflectView,bl as reflector,fl as refract,wl as refractVector,vl as refractView,_l as reinhardToneMapping,Sl as remap,Tl as remapClamp,yl as renderGroup,Vl as renderOutput,Ml as rendererReference,Fl as rotate,Dl as rotateUV,Il as roughness,Cl as round,Bl as rtt,Pl as sRGBTransferEOTF,Rl as sRGBTransferOETF,Al as sample,Nl as sampler,Ol as samplerComparison,kl as saturate,Gl as saturation,Ll as screen,Ul as screenCoordinate,jl as screenDPR,El as screenSize,Wl as screenUV,ql as scriptable,zl as scriptableValue,Xl as select,Zl as setCurrentStack,Kl as setName,Yl as shaderStages,Hl as shadow,Jl as shadowPositionWorld,Ql as shapeCircle,$l as sharedUniformGroup,es as sheen,ts as sheenRoughness,rs as shiftLeft,as as shiftRight,os as shininess,is as sign,ns as sin,ls as sinc,ss as skinning,cs as smoothstep,ms as smoothstepElement,us as specularColor,ps as specularF90,ds as spherizeUV,gs as split,hs as spritesheetUV,xs as sqrt,bs as stack,fs as step,ws as stepElement,vs as storage,_s as storageBarrier,Ss as storageObject,Ts as storageTexture,ys as string,Vs as struct,Ms as sub,As as subBuild,Fs as subgroupAdd,Ds as subgroupAll,Is as subgroupAnd,Cs as subgroupAny,Bs as subgroupBallot,Ps as subgroupBroadcast,Rs as subgroupBroadcastFirst,Ns as subgroupElect,Os as subgroupExclusiveAdd,ks as subgroupExclusiveMul,Gs as subgroupInclusiveAdd,Ls as subgroupInclusiveMul,Us as subgroupIndex,js as subgroupMax,Es as subgroupMin,Ws as subgroupMul,qs as subgroupOr,zs as subgroupShuffle,Xs as subgroupShuffleDown,Zs as subgroupShuffleUp,Ks as subgroupShuffleXor,Ys as subgroupSize,Hs as subgroupXor,Js as tan,Qs as tangentGeometry,$s as tangentLocal,ec as tangentView,tc as tangentWorld,rc as texture,ac as texture3D,oc as textureBarrier,ic as textureBicubic,nc as textureBicubicLevel,lc as textureCubeUV,sc as textureLoad,cc as textureSize,mc as textureStore,uc as thickness,pc as time,dc as toneMapping,gc as toneMappingExposure,hc as toonOutlinePass,xc as transformDirection,bc as transformNormal,fc as transformNormalToView,wc as transformedClearcoatNormalView,vc as transformedNormalView,_c as transformedNormalWorld,Sc as transmission,Tc as transpose,yc as triNoise3D,Vc as triplanarTexture,Mc as triplanarTextures,Fc as trunc,Dc as uint,Ic as uintBitsToFloat,Cc as uniform,Bc as uniformArray,Pc as uniformCubeTexture,Ac as uniformFlow,Rc as uniformGroup,Nc as uniformTexture,Oc as unpremultiplyAlpha,kc as userData,Gc as uv,Lc as uvec2,Uc as uvec3,jc as uvec4,Ec as varying,Wc as varyingProperty,qc as vec2,zc as vec3,Xc as vec4,Zc as vectorComponents,Kc as velocity,Yc as vertexColor,Hc as vertexIndex,Jc as vertexStage,Qc as vibrance,$c as viewZToLogarithmicDepth,em as viewZToOrthographicDepth,tm as viewZToPerspectiveDepth,rm as viewport,am as viewportCoordinate,om as viewportDepthTexture,im as viewportLinearDepth,nm as viewportMipTexture,lm as viewportResolution,sm as viewportSafeUV,cm as viewportSharedTexture,mm as viewportSize,um as viewportTexture,pm as viewportUV,dm as wgsl,gm as wgslFn,hm as workgroupArray,xm as workgroupBarrier,bm as workgroupId,fm as workingToColorSpace,wm as xor};