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