super-three 0.181.0 → 0.184.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 (539) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -4
  3. package/build/three.cjs +13152 -11354
  4. package/build/three.core.js +12319 -11539
  5. package/build/three.core.min.js +2 -2
  6. package/build/three.module.js +1808 -781
  7. package/build/three.module.min.js +2 -2
  8. package/build/three.tsl.js +27 -13
  9. package/build/three.tsl.min.js +2 -2
  10. package/build/three.webgpu.js +10523 -6263
  11. package/build/three.webgpu.min.js +2 -2
  12. package/build/three.webgpu.nodes.js +10484 -6262
  13. package/build/three.webgpu.nodes.min.js +2 -2
  14. package/examples/jsm/Addons.js +11 -3
  15. package/examples/jsm/animation/CCDIKSolver.js +7 -3
  16. package/examples/jsm/controls/ArcballControls.js +7 -4
  17. package/examples/jsm/controls/DragControls.js +2 -2
  18. package/examples/jsm/controls/FirstPersonControls.js +58 -54
  19. package/examples/jsm/controls/FlyControls.js +4 -0
  20. package/examples/jsm/controls/MapControls.js +55 -1
  21. package/examples/jsm/controls/OrbitControls.js +111 -8
  22. package/examples/jsm/controls/TrackballControls.js +8 -8
  23. package/examples/jsm/controls/TransformControls.js +34 -2
  24. package/examples/jsm/csm/CSM.js +2 -1
  25. package/examples/jsm/csm/CSMShadowNode.js +6 -2
  26. package/examples/jsm/effects/AnaglyphEffect.js +102 -7
  27. package/examples/jsm/environments/ColorEnvironment.js +59 -0
  28. package/examples/jsm/environments/RoomEnvironment.js +3 -0
  29. package/examples/jsm/exporters/EXRExporter.js +1 -1
  30. package/examples/jsm/exporters/GLTFExporter.js +152 -9
  31. package/examples/jsm/exporters/USDZExporter.js +22 -3
  32. package/examples/jsm/geometries/DecalGeometry.js +1 -1
  33. package/examples/jsm/geometries/TextGeometry.js +18 -0
  34. package/examples/jsm/helpers/AnimationPathHelper.js +302 -0
  35. package/examples/jsm/helpers/LightProbeGridHelper.js +221 -0
  36. package/examples/jsm/helpers/LightProbeHelperGPU.js +1 -1
  37. package/examples/jsm/helpers/TextureHelperGPU.js +1 -1
  38. package/examples/jsm/helpers/ViewHelper.js +67 -8
  39. package/examples/jsm/inspector/Extension.js +13 -0
  40. package/examples/jsm/inspector/Inspector.js +203 -88
  41. package/examples/jsm/inspector/RendererInspector.js +14 -4
  42. package/examples/jsm/inspector/extensions/extensions.json +6 -0
  43. package/examples/jsm/inspector/extensions/tsl-graph/TSLGraphEditor.js +916 -0
  44. package/examples/jsm/inspector/extensions/tsl-graph/TSLGraphLoader.js +281 -0
  45. package/examples/jsm/inspector/tabs/Console.js +41 -7
  46. package/examples/jsm/inspector/tabs/Memory.js +128 -0
  47. package/examples/jsm/inspector/tabs/Parameters.js +51 -3
  48. package/examples/jsm/inspector/tabs/Performance.js +4 -4
  49. package/examples/jsm/inspector/tabs/Settings.js +264 -0
  50. package/examples/jsm/inspector/tabs/Timeline.js +1611 -0
  51. package/examples/jsm/inspector/tabs/Viewer.js +107 -5
  52. package/examples/jsm/inspector/ui/Graph.js +2 -2
  53. package/examples/jsm/inspector/ui/List.js +1 -1
  54. package/examples/jsm/inspector/ui/Profiler.js +1936 -34
  55. package/examples/jsm/inspector/ui/Style.js +1044 -31
  56. package/examples/jsm/inspector/ui/Tab.js +222 -3
  57. package/examples/jsm/inspector/ui/Values.js +55 -2
  58. package/examples/jsm/inspector/ui/utils.js +13 -0
  59. package/examples/jsm/interaction/InteractionManager.js +226 -0
  60. package/examples/jsm/libs/meshopt_decoder.module.js +9 -8
  61. package/examples/jsm/lighting/DynamicLighting.js +82 -0
  62. package/examples/jsm/lighting/LightProbeGrid.js +651 -0
  63. package/examples/jsm/lines/LineMaterial.js +7 -1
  64. package/examples/jsm/loaders/3DMLoader.js +5 -4
  65. package/examples/jsm/loaders/3MFLoader.js +2 -2
  66. package/examples/jsm/loaders/AMFLoader.js +2 -2
  67. package/examples/jsm/loaders/ColladaLoader.js +24 -4026
  68. package/examples/jsm/loaders/DRACOLoader.js +5 -5
  69. package/examples/jsm/loaders/EXRLoader.js +687 -48
  70. package/examples/jsm/loaders/FBXLoader.js +235 -37
  71. package/examples/jsm/loaders/GCodeLoader.js +34 -8
  72. package/examples/jsm/loaders/GLTFLoader.js +146 -178
  73. package/examples/jsm/loaders/HDRLoader.js +1 -2
  74. package/examples/jsm/loaders/KMZLoader.js +5 -5
  75. package/examples/jsm/loaders/KTX2Loader.js +27 -5
  76. package/examples/jsm/loaders/LDrawLoader.js +41 -50
  77. package/examples/jsm/loaders/LWOLoader.js +7 -39
  78. package/examples/jsm/loaders/NRRDLoader.js +2 -2
  79. package/examples/jsm/loaders/PCDLoader.js +4 -2
  80. package/examples/jsm/loaders/SVGLoader.js +2 -2
  81. package/examples/jsm/loaders/TDSLoader.js +0 -2
  82. package/examples/jsm/loaders/TGALoader.js +0 -2
  83. package/examples/jsm/loaders/USDLoader.js +100 -40
  84. package/examples/jsm/loaders/UltraHDRLoader.js +285 -160
  85. package/examples/jsm/loaders/VOXLoader.js +660 -117
  86. package/examples/jsm/loaders/VRMLLoader.js +79 -2
  87. package/examples/jsm/loaders/VTKLoader.js +42 -25
  88. package/examples/jsm/loaders/collada/ColladaComposer.js +3044 -0
  89. package/examples/jsm/loaders/collada/ColladaParser.js +1977 -0
  90. package/examples/jsm/loaders/usd/USDAParser.js +450 -363
  91. package/examples/jsm/loaders/usd/USDCParser.js +1867 -6
  92. package/examples/jsm/loaders/usd/USDComposer.js +4594 -0
  93. package/examples/jsm/materials/LDrawConditionalLineNodeMaterial.js +2 -2
  94. package/examples/jsm/materials/WoodNodeMaterial.js +11 -11
  95. package/examples/jsm/math/Octree.js +131 -1
  96. package/examples/jsm/misc/GPUComputationRenderer.js +2 -0
  97. package/examples/jsm/misc/RollerCoaster.js +42 -4
  98. package/examples/jsm/misc/Volume.js +0 -1
  99. package/examples/jsm/misc/VolumeSlice.js +0 -1
  100. package/examples/jsm/modifiers/TessellateModifier.js +1 -1
  101. package/examples/jsm/objects/LensflareMesh.js +1 -1
  102. package/examples/jsm/objects/Reflector.js +73 -25
  103. package/examples/jsm/objects/Sky.js +90 -6
  104. package/examples/jsm/objects/SkyMesh.js +150 -16
  105. package/examples/jsm/objects/Water.js +4 -3
  106. package/examples/jsm/objects/Water2.js +5 -3
  107. package/examples/jsm/objects/WaterMesh.js +5 -7
  108. package/examples/jsm/physics/AmmoPhysics.js +12 -7
  109. package/examples/jsm/physics/JoltPhysics.js +10 -6
  110. package/examples/jsm/physics/RapierPhysics.js +9 -5
  111. package/examples/jsm/postprocessing/EffectComposer.js +7 -5
  112. package/examples/jsm/postprocessing/OutputPass.js +9 -0
  113. package/examples/jsm/postprocessing/RenderPass.js +10 -0
  114. package/examples/jsm/postprocessing/RenderTransitionPass.js +1 -1
  115. package/examples/jsm/postprocessing/UnrealBloomPass.js +48 -18
  116. package/examples/jsm/renderers/CSS3DRenderer.js +1 -1
  117. package/examples/jsm/renderers/Projector.js +246 -28
  118. package/examples/jsm/renderers/SVGRenderer.js +174 -60
  119. package/examples/jsm/shaders/GTAOShader.js +19 -6
  120. package/examples/jsm/shaders/HalftoneShader.js +12 -1
  121. package/examples/jsm/shaders/PoissonDenoiseShader.js +6 -2
  122. package/examples/jsm/shaders/SAOShader.js +17 -4
  123. package/examples/jsm/shaders/SSAOShader.js +11 -1
  124. package/examples/jsm/shaders/SSRShader.js +6 -5
  125. package/examples/jsm/shaders/UnpackDepthRGBAShader.js +2 -4
  126. package/examples/jsm/shaders/VignetteShader.js +1 -1
  127. package/examples/jsm/transpiler/AST.js +44 -0
  128. package/examples/jsm/transpiler/GLSLDecoder.js +63 -6
  129. package/examples/jsm/transpiler/ShaderToyDecoder.js +2 -0
  130. package/examples/jsm/transpiler/TSLEncoder.js +46 -3
  131. package/examples/jsm/transpiler/TranspilerUtils.js +3 -3
  132. package/examples/jsm/transpiler/WGSLEncoder.js +27 -0
  133. package/examples/jsm/tsl/WebGLNodesHandler.js +605 -0
  134. package/examples/jsm/tsl/display/AfterImageNode.js +11 -1
  135. package/examples/jsm/tsl/display/AnaglyphPassNode.js +458 -16
  136. package/examples/jsm/tsl/display/AnamorphicNode.js +12 -1
  137. package/examples/jsm/tsl/display/BilateralBlurNode.js +374 -0
  138. package/examples/jsm/tsl/display/BloomNode.js +16 -6
  139. package/examples/jsm/tsl/display/CRT.js +150 -0
  140. package/examples/jsm/tsl/display/ChromaticAberrationNode.js +3 -36
  141. package/examples/jsm/tsl/display/DenoiseNode.js +1 -1
  142. package/examples/jsm/tsl/display/DepthOfFieldNode.js +1 -1
  143. package/examples/jsm/tsl/display/DotScreenNode.js +1 -1
  144. package/examples/jsm/tsl/display/FSR1Node.js +477 -0
  145. package/examples/jsm/tsl/display/FXAANode.js +2 -2
  146. package/examples/jsm/tsl/display/GTAONode.js +6 -4
  147. package/examples/jsm/tsl/display/GaussianBlurNode.js +21 -2
  148. package/examples/jsm/tsl/display/GodraysNode.js +615 -0
  149. package/examples/jsm/tsl/display/LensflareNode.js +1 -1
  150. package/examples/jsm/tsl/display/Lut3DNode.js +1 -1
  151. package/examples/jsm/tsl/display/OutlineNode.js +69 -19
  152. package/examples/jsm/tsl/display/ParallaxBarrierPassNode.js +2 -2
  153. package/examples/jsm/tsl/display/PixelationPassNode.js +7 -6
  154. package/examples/jsm/tsl/display/RGBShiftNode.js +2 -2
  155. package/examples/jsm/tsl/display/RetroPassNode.js +263 -0
  156. package/examples/jsm/tsl/display/SMAANode.js +2 -2
  157. package/examples/jsm/tsl/display/SSAAPassNode.js +2 -2
  158. package/examples/jsm/tsl/display/SSGINode.js +8 -24
  159. package/examples/jsm/tsl/display/SSRNode.js +8 -8
  160. package/examples/jsm/tsl/display/SSSNode.js +6 -4
  161. package/examples/jsm/tsl/display/Shape.js +29 -0
  162. package/examples/jsm/tsl/display/SharpenNode.js +283 -0
  163. package/examples/jsm/tsl/display/SobelOperatorNode.js +2 -2
  164. package/examples/jsm/tsl/display/StereoCompositePassNode.js +8 -1
  165. package/examples/jsm/tsl/display/StereoPassNode.js +1 -2
  166. package/examples/jsm/tsl/display/TAAUNode.js +835 -0
  167. package/examples/jsm/tsl/display/TRAANode.js +315 -126
  168. package/examples/jsm/tsl/display/TransitionNode.js +1 -1
  169. package/examples/jsm/tsl/display/depthAwareBlend.js +80 -0
  170. package/examples/jsm/tsl/display/radialBlur.js +68 -0
  171. package/examples/jsm/tsl/lighting/DynamicLightsNode.js +300 -0
  172. package/examples/jsm/tsl/lighting/data/AmbientLightDataNode.js +61 -0
  173. package/examples/jsm/tsl/lighting/data/DirectionalLightDataNode.js +111 -0
  174. package/examples/jsm/tsl/lighting/data/HemisphereLightDataNode.js +99 -0
  175. package/examples/jsm/tsl/lighting/data/PointLightDataNode.js +134 -0
  176. package/examples/jsm/tsl/lighting/data/SpotLightDataNode.js +161 -0
  177. package/examples/jsm/tsl/math/Bayer.js +53 -3
  178. package/examples/jsm/utils/BufferGeometryUtils.js +2 -3
  179. package/examples/jsm/utils/ColorUtils.js +76 -0
  180. package/examples/jsm/utils/LDrawUtils.js +1 -1
  181. package/examples/jsm/utils/ShadowMapViewer.js +24 -10
  182. package/examples/jsm/utils/ShadowMapViewerGPU.js +1 -1
  183. package/examples/jsm/utils/SkeletonUtils.js +14 -8
  184. package/examples/jsm/utils/WebGPUTextureUtils.js +1 -1
  185. package/examples/jsm/webxr/XRHandMeshModel.js +36 -10
  186. package/examples/jsm/webxr/XRHandModelFactory.js +2 -1
  187. package/package.json +24 -30
  188. package/src/Three.Core.js +3 -1
  189. package/src/Three.TSL.js +25 -11
  190. package/src/Three.WebGPU.Nodes.js +5 -0
  191. package/src/Three.WebGPU.js +9 -0
  192. package/src/Three.js +1 -0
  193. package/src/animation/AnimationAction.js +12 -2
  194. package/src/animation/AnimationClip.js +1 -1
  195. package/src/animation/AnimationMixer.js +6 -0
  196. package/src/animation/AnimationUtils.js +1 -12
  197. package/src/animation/KeyframeTrack.js +47 -8
  198. package/src/animation/PropertyMixer.js +4 -4
  199. package/src/animation/tracks/BooleanKeyframeTrack.js +1 -1
  200. package/src/animation/tracks/ColorKeyframeTrack.js +1 -1
  201. package/src/animation/tracks/NumberKeyframeTrack.js +1 -1
  202. package/src/animation/tracks/QuaternionKeyframeTrack.js +1 -1
  203. package/src/animation/tracks/StringKeyframeTrack.js +1 -1
  204. package/src/animation/tracks/VectorKeyframeTrack.js +1 -1
  205. package/src/audio/Audio.js +1 -1
  206. package/src/audio/AudioContext.js +2 -2
  207. package/src/audio/AudioListener.js +5 -3
  208. package/src/cameras/Camera.js +32 -2
  209. package/src/cameras/CubeCamera.js +20 -0
  210. package/src/constants.js +90 -5
  211. package/src/core/BufferAttribute.js +13 -1
  212. package/src/core/BufferGeometry.js +14 -2
  213. package/src/core/Clock.js +7 -0
  214. package/src/core/Object3D.js +52 -4
  215. package/src/core/Raycaster.js +2 -2
  216. package/src/core/RenderTarget.js +4 -4
  217. package/src/extras/PMREMGenerator.js +7 -18
  218. package/src/extras/TextureUtils.js +5 -1
  219. package/src/extras/curves/CatmullRomCurve3.js +3 -2
  220. package/src/geometries/ExtrudeGeometry.js +2 -2
  221. package/src/geometries/PolyhedronGeometry.js +1 -1
  222. package/src/geometries/TorusGeometry.js +8 -3
  223. package/src/helpers/CameraHelper.js +3 -0
  224. package/src/helpers/DirectionalLightHelper.js +4 -1
  225. package/src/helpers/HemisphereLightHelper.js +3 -0
  226. package/src/helpers/PointLightHelper.js +1 -25
  227. package/src/helpers/SpotLightHelper.js +3 -0
  228. package/src/lights/DirectionalLight.js +13 -0
  229. package/src/lights/HemisphereLight.js +10 -0
  230. package/src/lights/Light.js +1 -11
  231. package/src/lights/LightProbe.js +0 -15
  232. package/src/lights/LightShadow.js +15 -6
  233. package/src/lights/PointLight.js +15 -0
  234. package/src/lights/PointLightShadow.js +0 -86
  235. package/src/lights/SpotLight.js +22 -1
  236. package/src/lights/webgpu/IESSpotLight.js +2 -1
  237. package/src/loaders/AudioLoader.js +11 -1
  238. package/src/loaders/Cache.js +28 -0
  239. package/src/loaders/DataTextureLoader.js +6 -4
  240. package/src/loaders/FileLoader.js +2 -3
  241. package/src/loaders/ImageBitmapLoader.js +12 -9
  242. package/src/loaders/Loader.js +6 -0
  243. package/src/loaders/MaterialLoader.js +3 -2
  244. package/src/loaders/ObjectLoader.js +46 -6
  245. package/src/loaders/nodes/NodeLoader.js +2 -2
  246. package/src/loaders/nodes/NodeObjectLoader.js +18 -0
  247. package/src/materials/Material.js +2 -0
  248. package/src/materials/MeshLambertMaterial.js +9 -0
  249. package/src/materials/MeshPhongMaterial.js +9 -0
  250. package/src/materials/MeshToonMaterial.js +1 -1
  251. package/src/materials/ShaderMaterial.js +20 -1
  252. package/src/materials/nodes/Line2NodeMaterial.js +34 -7
  253. package/src/materials/nodes/MeshPhysicalNodeMaterial.js +5 -2
  254. package/src/materials/nodes/MeshStandardNodeMaterial.js +5 -4
  255. package/src/materials/nodes/NodeMaterial.js +45 -25
  256. package/src/materials/nodes/manager/NodeMaterialObserver.js +191 -86
  257. package/src/math/Line3.js +6 -5
  258. package/src/math/MathUtils.js +10 -10
  259. package/src/math/Matrix2.js +13 -9
  260. package/src/math/Matrix3.js +13 -9
  261. package/src/math/Matrix4.js +87 -74
  262. package/src/math/Plane.js +4 -3
  263. package/src/math/Quaternion.js +3 -29
  264. package/src/math/Sphere.js +1 -1
  265. package/src/math/Triangle.js +1 -1
  266. package/src/math/Vector2.js +11 -7
  267. package/src/math/Vector3.js +15 -13
  268. package/src/math/Vector4.js +13 -9
  269. package/src/math/interpolants/BezierInterpolant.js +108 -0
  270. package/src/nodes/Nodes.js +86 -68
  271. package/src/nodes/TSL.js +7 -7
  272. package/src/nodes/accessors/Arrays.js +1 -1
  273. package/src/nodes/accessors/BatchNode.js +10 -10
  274. package/src/nodes/accessors/Bitangent.js +5 -5
  275. package/src/nodes/accessors/BufferAttributeNode.js +107 -15
  276. package/src/nodes/accessors/BufferNode.js +29 -2
  277. package/src/nodes/accessors/Camera.js +149 -28
  278. package/src/nodes/accessors/ClippingNode.js +4 -4
  279. package/src/nodes/accessors/CubeTextureNode.js +27 -2
  280. package/src/nodes/accessors/InstanceNode.js +148 -43
  281. package/src/nodes/accessors/MaterialNode.js +9 -1
  282. package/src/nodes/accessors/MaterialProperties.js +2 -5
  283. package/src/nodes/accessors/MaterialReferenceNode.js +1 -2
  284. package/src/nodes/accessors/ModelNode.js +1 -1
  285. package/src/nodes/accessors/Normal.js +11 -11
  286. package/src/nodes/accessors/Object3DNode.js +1 -1
  287. package/src/nodes/accessors/Position.js +34 -2
  288. package/src/nodes/accessors/ReferenceBaseNode.js +6 -6
  289. package/src/nodes/accessors/ReferenceNode.js +8 -8
  290. package/src/nodes/accessors/RendererReferenceNode.js +1 -2
  291. package/src/nodes/accessors/SceneProperties.js +47 -0
  292. package/src/nodes/accessors/SkinningNode.js +27 -26
  293. package/src/nodes/accessors/StorageBufferNode.js +14 -25
  294. package/src/nodes/accessors/StorageTextureNode.js +40 -9
  295. package/src/nodes/accessors/Tangent.js +4 -14
  296. package/src/nodes/accessors/Texture3DNode.js +32 -35
  297. package/src/nodes/accessors/TextureNode.js +67 -23
  298. package/src/nodes/accessors/UniformArrayNode.js +6 -4
  299. package/src/nodes/accessors/UserDataNode.js +1 -2
  300. package/src/nodes/accessors/VertexColorNode.js +1 -2
  301. package/src/nodes/code/FunctionCallNode.js +1 -1
  302. package/src/nodes/code/FunctionNode.js +2 -3
  303. package/src/nodes/core/ArrayNode.js +21 -2
  304. package/src/nodes/core/AssignNode.js +3 -3
  305. package/src/nodes/core/AttributeNode.js +3 -3
  306. package/src/nodes/core/BypassNode.js +1 -1
  307. package/src/nodes/core/ContextNode.js +104 -5
  308. package/src/nodes/core/IndexNode.js +2 -1
  309. package/src/nodes/core/InputNode.js +1 -1
  310. package/src/nodes/core/InspectorNode.js +1 -1
  311. package/src/nodes/core/IsolateNode.js +1 -1
  312. package/src/nodes/core/MRTNode.js +48 -2
  313. package/src/nodes/core/Node.js +112 -15
  314. package/src/nodes/core/NodeBuilder.js +284 -66
  315. package/src/nodes/core/NodeError.js +28 -0
  316. package/src/nodes/core/NodeFrame.js +12 -4
  317. package/src/nodes/core/NodeUtils.js +11 -9
  318. package/src/nodes/core/OutputStructNode.js +12 -10
  319. package/src/nodes/core/ParameterNode.js +4 -4
  320. package/src/nodes/core/PropertyNode.js +19 -3
  321. package/src/nodes/core/StackNode.js +66 -17
  322. package/src/nodes/core/StackTrace.js +139 -0
  323. package/src/nodes/core/StructNode.js +17 -3
  324. package/src/nodes/core/StructTypeNode.js +12 -18
  325. package/src/nodes/core/SubBuildNode.js +2 -2
  326. package/src/nodes/core/UniformGroupNode.js +36 -6
  327. package/src/nodes/core/UniformNode.js +21 -5
  328. package/src/nodes/core/VarNode.js +48 -23
  329. package/src/nodes/core/VaryingNode.js +2 -19
  330. package/src/nodes/display/BlendModes.js +0 -64
  331. package/src/nodes/display/ColorAdjustment.js +17 -0
  332. package/src/nodes/display/ColorSpaceNode.js +3 -3
  333. package/src/nodes/display/NormalMapNode.js +39 -4
  334. package/src/nodes/display/PassNode.js +125 -16
  335. package/src/nodes/display/RenderOutputNode.js +7 -7
  336. package/src/nodes/display/ScreenNode.js +4 -2
  337. package/src/nodes/display/ToneMappingNode.js +1 -1
  338. package/src/nodes/display/ToonOutlinePassNode.js +2 -2
  339. package/src/nodes/display/ViewportDepthNode.js +52 -4
  340. package/src/nodes/display/ViewportDepthTextureNode.js +11 -15
  341. package/src/nodes/display/ViewportTextureNode.js +39 -11
  342. package/src/nodes/fog/Fog.js +18 -35
  343. package/src/nodes/functions/BSDF/BRDF_GGX_Multiscatter.js +3 -3
  344. package/src/nodes/functions/BSDF/DFGLUT.js +56 -0
  345. package/src/nodes/functions/BSDF/EnvironmentBRDF.js +2 -2
  346. package/src/nodes/functions/BSDF/V_GGX_SmithCorrelated_Anisotropic.js +2 -2
  347. package/src/nodes/functions/PhysicalLightingModel.js +126 -45
  348. package/src/nodes/geometry/RangeNode.js +5 -3
  349. package/src/nodes/gpgpu/AtomicFunctionNode.js +1 -1
  350. package/src/nodes/gpgpu/BarrierNode.js +9 -0
  351. package/src/nodes/gpgpu/ComputeBuiltinNode.js +2 -3
  352. package/src/nodes/gpgpu/ComputeNode.js +74 -48
  353. package/src/nodes/gpgpu/SubgroupFunctionNode.js +2 -2
  354. package/src/nodes/gpgpu/WorkgroupInfoNode.js +4 -4
  355. package/src/nodes/lighting/AnalyticLightNode.js +53 -0
  356. package/src/nodes/lighting/EnvironmentNode.js +28 -3
  357. package/src/nodes/lighting/LightsNode.js +7 -28
  358. package/src/nodes/lighting/PointShadowNode.js +162 -149
  359. package/src/nodes/lighting/ShadowFilterNode.js +53 -65
  360. package/src/nodes/lighting/ShadowNode.js +120 -42
  361. package/src/nodes/math/BitcastNode.js +1 -1
  362. package/src/nodes/math/BitcountNode.js +433 -0
  363. package/src/nodes/math/ConditionalNode.js +3 -3
  364. package/src/nodes/math/MathNode.js +76 -41
  365. package/src/nodes/math/OperatorNode.js +3 -2
  366. package/src/nodes/math/PackFloatNode.js +98 -0
  367. package/src/nodes/math/UnpackFloatNode.js +96 -0
  368. package/src/nodes/pmrem/PMREMNode.js +1 -1
  369. package/src/nodes/pmrem/PMREMUtils.js +9 -15
  370. package/src/nodes/tsl/TSLBase.js +1 -1
  371. package/src/nodes/tsl/TSLCore.js +38 -17
  372. package/src/nodes/utils/ArrayElementNode.js +14 -1
  373. package/src/nodes/utils/ConvertNode.js +1 -1
  374. package/src/nodes/utils/DebugNode.js +12 -12
  375. package/src/nodes/utils/EventNode.js +31 -2
  376. package/src/nodes/utils/FlipNode.js +1 -1
  377. package/src/nodes/utils/FunctionOverloadingNode.js +1 -1
  378. package/src/nodes/utils/JoinNode.js +3 -3
  379. package/src/nodes/utils/LoopNode.js +1 -1
  380. package/src/nodes/utils/MemberNode.js +2 -2
  381. package/src/nodes/utils/Packing.js +13 -1
  382. package/src/nodes/utils/PostProcessingUtils.js +33 -1
  383. package/src/nodes/utils/RTTNode.js +1 -1
  384. package/src/nodes/utils/ReflectorNode.js +3 -4
  385. package/src/nodes/utils/Remap.js +48 -0
  386. package/src/nodes/utils/RotateNode.js +1 -1
  387. package/src/nodes/utils/SampleNode.js +1 -1
  388. package/src/nodes/utils/SetNode.js +1 -1
  389. package/src/nodes/utils/SplitNode.js +1 -1
  390. package/src/nodes/utils/SpriteSheetUV.js +35 -0
  391. package/src/nodes/utils/UVUtils.js +28 -0
  392. package/src/objects/BatchedMesh.js +44 -16
  393. package/src/objects/InstancedMesh.js +30 -3
  394. package/src/objects/Line.js +1 -1
  395. package/src/objects/Mesh.js +1 -1
  396. package/src/objects/Points.js +1 -1
  397. package/src/objects/Skeleton.js +9 -0
  398. package/src/objects/SkinnedMesh.js +26 -9
  399. package/src/renderers/WebGLRenderer.js +329 -145
  400. package/src/renderers/common/Animation.js +3 -3
  401. package/src/renderers/common/Attributes.js +15 -1
  402. package/src/renderers/common/Backend.js +29 -8
  403. package/src/renderers/common/Background.js +26 -13
  404. package/src/renderers/common/BindGroup.js +1 -16
  405. package/src/renderers/common/Binding.js +11 -0
  406. package/src/renderers/common/Bindings.js +29 -14
  407. package/src/renderers/common/BlendMode.js +143 -0
  408. package/src/renderers/common/Buffer.js +40 -0
  409. package/src/renderers/common/BundleGroup.js +1 -1
  410. package/src/renderers/common/ChainMap.js +30 -6
  411. package/src/renderers/common/ComputePipeline.js +1 -1
  412. package/src/renderers/common/CubeRenderTarget.js +51 -7
  413. package/src/renderers/common/Geometries.js +29 -3
  414. package/src/renderers/common/Info.js +333 -4
  415. package/src/renderers/common/InspectorBase.js +6 -1
  416. package/src/renderers/common/Lighting.js +5 -21
  417. package/src/renderers/common/Pipelines.js +40 -7
  418. package/src/renderers/common/PostProcessing.js +8 -206
  419. package/src/renderers/common/ReadbackBuffer.js +78 -0
  420. package/src/renderers/common/RenderBundle.js +3 -1
  421. package/src/renderers/common/RenderBundles.js +7 -3
  422. package/src/renderers/common/RenderContext.js +16 -0
  423. package/src/renderers/common/RenderContexts.js +33 -49
  424. package/src/renderers/common/RenderLists.js +2 -1
  425. package/src/renderers/common/RenderObject.js +17 -5
  426. package/src/renderers/common/RenderObjectPipeline.js +40 -0
  427. package/src/renderers/common/RenderObjects.js +21 -5
  428. package/src/renderers/common/RenderPipeline.js +232 -17
  429. package/src/renderers/common/Renderer.js +481 -117
  430. package/src/renderers/common/Sampler.js +4 -4
  431. package/src/renderers/common/StorageBuffer.js +13 -1
  432. package/src/renderers/common/Textures.js +89 -4
  433. package/src/renderers/common/TimestampQueryPool.js +5 -3
  434. package/src/renderers/common/Uniform.js +8 -0
  435. package/src/renderers/common/UniformsGroup.js +62 -1
  436. package/src/renderers/common/XRManager.js +37 -29
  437. package/src/renderers/common/extras/PMREMGenerator.js +25 -23
  438. package/src/renderers/common/nodes/NodeBuilderState.js +1 -1
  439. package/src/renderers/common/nodes/{Nodes.js → NodeManager.js} +242 -99
  440. package/src/renderers/common/nodes/NodeStorageBuffer.js +13 -2
  441. package/src/renderers/common/nodes/NodeUniformBuffer.js +52 -0
  442. package/src/renderers/shaders/DFGLUTData.js +19 -34
  443. package/src/renderers/shaders/ShaderChunk/batching_pars_vertex.glsl.js +2 -2
  444. package/src/renderers/shaders/ShaderChunk/color_fragment.glsl.js +1 -5
  445. package/src/renderers/shaders/ShaderChunk/color_pars_fragment.glsl.js +1 -5
  446. package/src/renderers/shaders/ShaderChunk/color_pars_vertex.glsl.js +1 -5
  447. package/src/renderers/shaders/ShaderChunk/color_vertex.glsl.js +8 -10
  448. package/src/renderers/shaders/ShaderChunk/envmap_common_pars_fragment.glsl.js +0 -1
  449. package/src/renderers/shaders/ShaderChunk/envmap_fragment.glsl.js +8 -12
  450. package/src/renderers/shaders/ShaderChunk/lightprobes_pars_fragment.glsl.js +80 -0
  451. package/src/renderers/shaders/ShaderChunk/lights_fragment_begin.glsl.js +13 -2
  452. package/src/renderers/shaders/ShaderChunk/lights_fragment_end.glsl.js +6 -0
  453. package/src/renderers/shaders/ShaderChunk/lights_fragment_maps.glsl.js +6 -2
  454. package/src/renderers/shaders/ShaderChunk/lights_pars_begin.glsl.js +2 -0
  455. package/src/renderers/shaders/ShaderChunk/lights_physical_fragment.glsl.js +8 -4
  456. package/src/renderers/shaders/ShaderChunk/lights_physical_pars_fragment.glsl.js +112 -53
  457. package/src/renderers/shaders/ShaderChunk/normal_fragment_maps.glsl.js +7 -0
  458. package/src/renderers/shaders/ShaderChunk/packing.glsl.js +20 -4
  459. package/src/renderers/shaders/ShaderChunk/premultiplied_alpha_fragment.glsl.js +0 -1
  460. package/src/renderers/shaders/ShaderChunk/shadowmap_pars_fragment.glsl.js +225 -186
  461. package/src/renderers/shaders/ShaderChunk/shadowmap_vertex.glsl.js +12 -2
  462. package/src/renderers/shaders/ShaderChunk/shadowmask_pars_fragment.glsl.js +1 -1
  463. package/src/renderers/shaders/ShaderChunk/transmission_fragment.glsl.js +1 -1
  464. package/src/renderers/shaders/ShaderChunk.js +5 -3
  465. package/src/renderers/shaders/ShaderLib/backgroundCube.glsl.js +1 -2
  466. package/src/renderers/shaders/ShaderLib/depth.glsl.js +3 -0
  467. package/src/renderers/shaders/ShaderLib/{distanceRGBA.glsl.js → distance.glsl.js} +1 -2
  468. package/src/renderers/shaders/ShaderLib/meshlambert.glsl.js +2 -1
  469. package/src/renderers/shaders/ShaderLib/meshnormal.glsl.js +1 -2
  470. package/src/renderers/shaders/ShaderLib/meshphong.glsl.js +2 -1
  471. package/src/renderers/shaders/ShaderLib/meshphysical.glsl.js +4 -9
  472. package/src/renderers/shaders/ShaderLib/meshtoon.glsl.js +0 -1
  473. package/src/renderers/shaders/ShaderLib/shadow.glsl.js +1 -1
  474. package/src/renderers/shaders/ShaderLib/vsm.glsl.js +4 -6
  475. package/src/renderers/shaders/ShaderLib.js +7 -6
  476. package/src/renderers/shaders/UniformsLib.js +7 -5
  477. package/src/renderers/shaders/UniformsUtils.js +27 -5
  478. package/src/renderers/webgl/WebGLAnimation.js +2 -1
  479. package/src/renderers/webgl/WebGLBackground.js +15 -15
  480. package/src/renderers/webgl/WebGLBindingStates.js +99 -27
  481. package/src/renderers/webgl/WebGLBufferRenderer.js +0 -32
  482. package/src/renderers/webgl/WebGLCapabilities.js +9 -4
  483. package/src/renderers/webgl/WebGLEnvironments.js +228 -0
  484. package/src/renderers/webgl/WebGLGeometries.js +10 -7
  485. package/src/renderers/webgl/WebGLIndexedBufferRenderer.js +0 -32
  486. package/src/renderers/webgl/WebGLLights.js +18 -1
  487. package/src/renderers/webgl/WebGLMaterials.js +24 -13
  488. package/src/renderers/webgl/WebGLObjects.js +3 -1
  489. package/src/renderers/webgl/WebGLOutput.js +270 -0
  490. package/src/renderers/webgl/WebGLProgram.js +49 -109
  491. package/src/renderers/webgl/WebGLPrograms.js +63 -51
  492. package/src/renderers/webgl/WebGLRenderLists.js +15 -0
  493. package/src/renderers/webgl/WebGLRenderStates.js +13 -2
  494. package/src/renderers/webgl/WebGLShadowMap.js +188 -24
  495. package/src/renderers/webgl/WebGLState.js +75 -37
  496. package/src/renderers/webgl/WebGLTextures.js +215 -54
  497. package/src/renderers/webgl/WebGLUniforms.js +40 -3
  498. package/src/renderers/webgl/WebGLUniformsGroups.js +19 -0
  499. package/src/renderers/webgl/WebGLUtils.js +6 -2
  500. package/src/renderers/webgl-fallback/WebGLBackend.js +253 -82
  501. package/src/renderers/webgl-fallback/WebGLBufferRenderer.js +0 -41
  502. package/src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js +173 -74
  503. package/src/renderers/webgl-fallback/utils/WebGLAttributeUtils.js +53 -19
  504. package/src/renderers/webgl-fallback/utils/WebGLCapabilities.js +25 -0
  505. package/src/renderers/webgl-fallback/utils/WebGLState.js +223 -6
  506. package/src/renderers/webgl-fallback/utils/WebGLTextureUtils.js +68 -53
  507. package/src/renderers/webgl-fallback/utils/WebGLTimestampQueryPool.js +10 -10
  508. package/src/renderers/webgl-fallback/utils/WebGLUtils.js +6 -2
  509. package/src/renderers/webgpu/WebGPUBackend.js +260 -140
  510. package/src/renderers/webgpu/WebGPURenderer.js +2 -1
  511. package/src/renderers/webgpu/nodes/WGSLNodeBuilder.js +366 -90
  512. package/src/renderers/webgpu/utils/WebGPUAttributeUtils.js +107 -34
  513. package/src/renderers/webgpu/utils/WebGPUBindingUtils.js +357 -200
  514. package/src/renderers/webgpu/utils/WebGPUCapabilities.js +48 -0
  515. package/src/renderers/webgpu/utils/WebGPUConstants.js +10 -0
  516. package/src/renderers/webgpu/utils/WebGPUPipelineUtils.js +61 -23
  517. package/src/renderers/webgpu/utils/WebGPUTexturePassUtils.js +152 -200
  518. package/src/renderers/webgpu/utils/WebGPUTextureUtils.js +156 -59
  519. package/src/renderers/webgpu/utils/WebGPUTimestampQueryPool.js +7 -7
  520. package/src/renderers/webgpu/utils/WebGPUUtils.js +33 -11
  521. package/src/renderers/webxr/WebXRController.js +12 -0
  522. package/src/renderers/webxr/WebXRManager.js +4 -2
  523. package/src/textures/CubeDepthTexture.js +76 -0
  524. package/src/textures/HTMLTexture.js +74 -0
  525. package/src/textures/Source.js +2 -2
  526. package/src/textures/Texture.js +16 -5
  527. package/src/utils.js +280 -3
  528. package/examples/jsm/materials/MeshGouraudMaterial.js +0 -434
  529. package/examples/jsm/materials/MeshPostProcessingMaterial.js +0 -167
  530. package/examples/jsm/shaders/GodRaysShader.js +0 -333
  531. package/src/nodes/accessors/SceneNode.js +0 -145
  532. package/src/nodes/code/ScriptableNode.js +0 -726
  533. package/src/nodes/code/ScriptableValueNode.js +0 -253
  534. package/src/nodes/display/PosterizeNode.js +0 -65
  535. package/src/nodes/functions/BSDF/DFGApprox.js +0 -71
  536. package/src/nodes/utils/RemapNode.js +0 -125
  537. package/src/nodes/utils/SpriteSheetUVNode.js +0 -90
  538. package/src/renderers/webgl/WebGLCubeMaps.js +0 -99
  539. package/src/renderers/webgl/WebGLCubeUVMaps.js +0 -134
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright 2010-2025 Three.js Authors
3
+ * Copyright 2010-2026 Three.js Authors
4
4
  * SPDX-License-Identifier: MIT
5
5
  */
6
6
  import { TSL } from 'three/webgpu';
@@ -12,7 +12,7 @@ const BasicShadowFilter = TSL.BasicShadowFilter;
12
12
  const Break = TSL.Break;
13
13
  const Const = TSL.Const;
14
14
  const Continue = TSL.Continue;
15
- const DFGApprox = TSL.DFGApprox;
15
+ const DFGLUT = TSL.DFGLUT;
16
16
  const D_GGX = TSL.D_GGX;
17
17
  const Discard = TSL.Discard;
18
18
  const EPSILON = TSL.EPSILON;
@@ -34,7 +34,6 @@ const HALF_PI = TSL.HALF_PI;
34
34
  const PointShadowFilter = TSL.PointShadowFilter;
35
35
  const Return = TSL.Return;
36
36
  const Schlick_to_F0 = TSL.Schlick_to_F0;
37
- const ScriptableNodeResources = TSL.ScriptableNodeResources;
38
37
  const ShaderNode = TSL.ShaderNode;
39
38
  const Stack = TSL.Stack;
40
39
  const Switch = TSL.Switch;
@@ -46,6 +45,7 @@ const VarIntent = TSL.VarIntent;
46
45
  const abs = TSL.abs;
47
46
  const acesFilmicToneMapping = TSL.acesFilmicToneMapping;
48
47
  const acos = TSL.acos;
48
+ const acosh = TSL.acosh;
49
49
  const add = TSL.add;
50
50
  const addMethodChaining = TSL.addMethodChaining;
51
51
  const addNodeElement = TSL.addNodeElement;
@@ -61,9 +61,10 @@ const append = TSL.append;
61
61
  const array = TSL.array;
62
62
  const arrayBuffer = TSL.arrayBuffer;
63
63
  const asin = TSL.asin;
64
+ const asinh = TSL.asinh;
64
65
  const assign = TSL.assign;
65
66
  const atan = TSL.atan;
66
- const atan2 = TSL.atan2;
67
+ const atanh = TSL.atanh;
67
68
  const atomicAdd = TSL.atomicAdd;
68
69
  const atomicAnd = TSL.atomicAnd;
69
70
  const atomicFunc = TSL.atomicFunc;
@@ -103,8 +104,9 @@ const bool = TSL.bool;
103
104
  const buffer = TSL.buffer;
104
105
  const bufferAttribute = TSL.bufferAttribute;
105
106
  const bumpMap = TSL.bumpMap;
106
- const burn = TSL.burn;
107
107
  const builtin = TSL.builtin;
108
+ const builtinAOContext = TSL.builtinAOContext;
109
+ const builtinShadowContext = TSL.builtinShadowContext;
108
110
  const bvec2 = TSL.bvec2;
109
111
  const bvec3 = TSL.bvec3;
110
112
  const bvec4 = TSL.bvec4;
@@ -130,6 +132,7 @@ const clamp = TSL.clamp;
130
132
  const clearcoat = TSL.clearcoat;
131
133
  const clearcoatNormalView = TSL.clearcoatNormalView;
132
134
  const clearcoatRoughness = TSL.clearcoatRoughness;
135
+ const clipSpace = TSL.clipSpace;
133
136
  const code = TSL.code;
134
137
  const color = TSL.color;
135
138
  const colorSpaceToWorking = TSL.colorSpaceToWorking;
@@ -141,11 +144,14 @@ const context = TSL.context;
141
144
  const convert = TSL.convert;
142
145
  const convertColorSpace = TSL.convertColorSpace;
143
146
  const convertToTexture = TSL.convertToTexture;
147
+ const countLeadingZeros = TSL.countLeadingZeros;
148
+ const countOneBits = TSL.countOneBits;
149
+ const countTrailingZeros = TSL.countTrailingZeros;
144
150
  const cos = TSL.cos;
151
+ const cosh = TSL.cosh;
145
152
  const cross = TSL.cross;
146
153
  const cubeTexture = TSL.cubeTexture;
147
154
  const cubeTextureBase = TSL.cubeTextureBase;
148
- const cubeToUV = TSL.cubeToUV;
149
155
  const dFdx = TSL.dFdx;
150
156
  const dFdy = TSL.dFdy;
151
157
  const dashSize = TSL.dashSize;
@@ -170,17 +176,16 @@ const directionToFaceDirection = TSL.directionToFaceDirection;
170
176
  const dispersion = TSL.dispersion;
171
177
  const distance = TSL.distance;
172
178
  const div = TSL.div;
173
- const dodge = TSL.dodge;
174
179
  const dot = TSL.dot;
175
180
  const drawIndex = TSL.drawIndex;
176
181
  const dynamicBufferAttribute = TSL.dynamicBufferAttribute;
177
182
  const element = TSL.element;
178
183
  const emissive = TSL.emissive;
179
184
  const equal = TSL.equal;
180
- const equals = TSL.equals;
181
185
  const equirectUV = TSL.equirectUV;
182
186
  const exp = TSL.exp;
183
187
  const exp2 = TSL.exp2;
188
+ const exponentialHeightFogFactor = TSL.exponentialHeightFogFactor;
184
189
  const expression = TSL.expression;
185
190
  const faceDirection = TSL.faceDirection;
186
191
  const faceForward = TSL.faceForward;
@@ -204,6 +209,7 @@ const getDistanceAttenuation = TSL.getDistanceAttenuation;
204
209
  const getGeometryRoughness = TSL.getGeometryRoughness;
205
210
  const getNormalFromDepth = TSL.getNormalFromDepth;
206
211
  const interleavedGradientNoise = TSL.interleavedGradientNoise;
212
+ const vogelDiskSample = TSL.vogelDiskSample;
207
213
  const getParallaxCorrectNormal = TSL.getParallaxCorrectNormal;
208
214
  const getRoughness = TSL.getRoughness;
209
215
  const getScreenPosition = TSL.getScreenPosition;
@@ -417,8 +423,10 @@ const oscSquare = TSL.oscSquare;
417
423
  const oscTriangle = TSL.oscTriangle;
418
424
  const output = TSL.output;
419
425
  const outputStruct = TSL.outputStruct;
420
- const overlay = TSL.overlay;
421
426
  const overloadingFn = TSL.overloadingFn;
427
+ const packHalf2x16 = TSL.packHalf2x16;
428
+ const packSnorm2x16 = TSL.packSnorm2x16;
429
+ const packUnorm2x16 = TSL.packUnorm2x16;
422
430
  const parabola = TSL.parabola;
423
431
  const parallaxDirection = TSL.parallaxDirection;
424
432
  const parallaxUV = TSL.parallaxUV;
@@ -466,6 +474,7 @@ const remapClamp = TSL.remapClamp;
466
474
  const renderGroup = TSL.renderGroup;
467
475
  const renderOutput = TSL.renderOutput;
468
476
  const rendererReference = TSL.rendererReference;
477
+ const replaceDefaultUV = TSL.replaceDefaultUV;
469
478
  const rotate = TSL.rotate;
470
479
  const rotateUV = TSL.rotateUV;
471
480
  const roughness = TSL.roughness;
@@ -483,8 +492,6 @@ const screenCoordinate = TSL.screenCoordinate;
483
492
  const screenDPR = TSL.screenDPR;
484
493
  const screenSize = TSL.screenSize;
485
494
  const screenUV = TSL.screenUV;
486
- const scriptable = TSL.scriptable;
487
- const scriptableValue = TSL.scriptableValue;
488
495
  const select = TSL.select;
489
496
  const setCurrentStack = TSL.setCurrentStack;
490
497
  const setName = TSL.setName;
@@ -500,6 +507,7 @@ const shiftRight = TSL.shiftRight;
500
507
  const shininess = TSL.shininess;
501
508
  const sign = TSL.sign;
502
509
  const sin = TSL.sin;
510
+ const sinh = TSL.sinh;
503
511
  const sinc = TSL.sinc;
504
512
  const skinning = TSL.skinning;
505
513
  const smoothstep = TSL.smoothstep;
@@ -515,7 +523,6 @@ const step = TSL.step;
515
523
  const stepElement = TSL.stepElement;
516
524
  const storage = TSL.storage;
517
525
  const storageBarrier = TSL.storageBarrier;
518
- const storageObject = TSL.storageObject;
519
526
  const storageTexture = TSL.storageTexture;
520
527
  const string = TSL.string;
521
528
  const struct = TSL.struct;
@@ -545,6 +552,7 @@ const subgroupShuffleXor = TSL.subgroupShuffleXor;
545
552
  const subgroupSize = TSL.subgroupSize;
546
553
  const subgroupXor = TSL.subgroupXor;
547
554
  const tan = TSL.tan;
555
+ const tanh = TSL.tanh;
548
556
  const tangentGeometry = TSL.tangentGeometry;
549
557
  const tangentLocal = TSL.tangentLocal;
550
558
  const tangentView = TSL.tangentView;
@@ -584,6 +592,9 @@ const uniformCubeTexture = TSL.uniformCubeTexture;
584
592
  const uniformGroup = TSL.uniformGroup;
585
593
  const uniformFlow = TSL.uniformFlow;
586
594
  const uniformTexture = TSL.uniformTexture;
595
+ const unpackHalf2x16 = TSL.unpackHalf2x16;
596
+ const unpackSnorm2x16 = TSL.unpackSnorm2x16;
597
+ const unpackUnorm2x16 = TSL.unpackUnorm2x16;
587
598
  const unpremultiplyAlpha = TSL.unpremultiplyAlpha;
588
599
  const userData = TSL.userData;
589
600
  const uv = TSL.uv;
@@ -604,11 +615,14 @@ const vibrance = TSL.vibrance;
604
615
  const viewZToLogarithmicDepth = TSL.viewZToLogarithmicDepth;
605
616
  const viewZToOrthographicDepth = TSL.viewZToOrthographicDepth;
606
617
  const viewZToPerspectiveDepth = TSL.viewZToPerspectiveDepth;
618
+ const viewZToReversedOrthographicDepth = TSL.viewZToReversedOrthographicDepth;
619
+ const viewZToReversedPerspectiveDepth = TSL.viewZToReversedPerspectiveDepth;
607
620
  const viewport = TSL.viewport;
608
621
  const viewportCoordinate = TSL.viewportCoordinate;
609
622
  const viewportDepthTexture = TSL.viewportDepthTexture;
610
623
  const viewportLinearDepth = TSL.viewportLinearDepth;
611
624
  const viewportMipTexture = TSL.viewportMipTexture;
625
+ const viewportOpaqueMipTexture = TSL.viewportOpaqueMipTexture;
612
626
  const viewportResolution = TSL.viewportResolution;
613
627
  const viewportSafeUV = TSL.viewportSafeUV;
614
628
  const viewportSharedTexture = TSL.viewportSharedTexture;
@@ -637,4 +651,4 @@ for ( const key of Object.keys( THREE.TSL ) ) {
637
651
  log( code );
638
652
  //*/
639
653
 
640
- export { BRDF_GGX, BRDF_Lambert, BasicPointShadowFilter, BasicShadowFilter, Break, Const, Continue, DFGApprox, D_GGX, Discard, EPSILON, F_Schlick, Fn, HALF_PI, INFINITY, If, Loop, NodeAccess, NodeShaderStage, NodeType, NodeUpdateType, OnBeforeMaterialUpdate, OnBeforeObjectUpdate, OnMaterialUpdate, OnObjectUpdate, PCFShadowFilter, PCFSoftShadowFilter, PI, PI2, PointShadowFilter, Return, Schlick_to_F0, ScriptableNodeResources, ShaderNode, Stack, Switch, TBNViewMatrix, TWO_PI, 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, interleavedGradientNoise, 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, textureLevel, 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 };
654
+ export { BRDF_GGX, BRDF_Lambert, BasicPointShadowFilter, BasicShadowFilter, Break, Const, Continue, DFGLUT, D_GGX, Discard, EPSILON, F_Schlick, Fn, HALF_PI, INFINITY, If, Loop, NodeAccess, NodeShaderStage, NodeType, NodeUpdateType, OnBeforeMaterialUpdate, OnBeforeObjectUpdate, OnMaterialUpdate, OnObjectUpdate, PCFShadowFilter, PCFSoftShadowFilter, PI, PI2, PointShadowFilter, Return, Schlick_to_F0, ShaderNode, Stack, Switch, TBNViewMatrix, TWO_PI, VSMShadowFilter, V_GGX_SmithCorrelated, Var, VarIntent, abs, acesFilmicToneMapping, acos, acosh, add, addMethodChaining, addNodeElement, agxToneMapping, all, alphaT, and, anisotropy, anisotropyB, anisotropyT, any, append, array, arrayBuffer, asin, asinh, assign, atan, atanh, 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, builtinAOContext, builtinShadowContext, bumpMap, 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, clipSpace, code, color, colorSpaceToWorking, colorToDirection, compute, computeKernel, computeSkinning, context, convert, convertColorSpace, convertToTexture, cos, cosh, countLeadingZeros, countOneBits, countTrailingZeros, cross, cubeTexture, cubeTextureBase, dFdx, dFdy, dashSize, debug, decrement, decrementBefore, defaultBuildStages, defaultShaderStages, defined, degrees, deltaTime, densityFog, densityFogFactor, depth, depthPass, determinant, difference, diffuseColor, directPointLight, directionToColor, directionToFaceDirection, dispersion, distance, div, dot, drawIndex, dynamicBufferAttribute, element, emissive, equal, equirectUV, exp, exp2, exponentialHeightFogFactor, 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, interleavedGradientNoise, 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, overloadingFn, packHalf2x16, packSnorm2x16, packUnorm2x16, 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, replaceDefaultUV, rotate, rotateUV, roughness, round, rtt, sRGBTransferEOTF, sRGBTransferOETF, sample, sampler, samplerComparison, saturate, saturation, screen, screenCoordinate, screenDPR, screenSize, screenUV, select, setCurrentStack, setName, shaderStages, shadow, shadowPositionWorld, shapeCircle, sharedUniformGroup, sheen, sheenRoughness, shiftLeft, shiftRight, shininess, sign, sin, sinc, sinh, skinning, smoothstep, smoothstepElement, specularColor, specularF90, spherizeUV, split, spritesheetUV, sqrt, stack, step, stepElement, storage, storageBarrier, 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, tanh, texture, texture3D, textureBarrier, textureBicubic, textureBicubicLevel, textureCubeUV, textureLevel, 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, unpackHalf2x16, unpackSnorm2x16, unpackUnorm2x16, unpremultiplyAlpha, userData, uv, uvec2, uvec3, uvec4, varying, varyingProperty, vec2, vec3, vec4, vectorComponents, velocity, vertexColor, vertexIndex, vertexStage, vibrance, viewZToLogarithmicDepth, viewZToOrthographicDepth, viewZToPerspectiveDepth, viewZToReversedOrthographicDepth, viewZToReversedPerspectiveDepth, viewport, viewportCoordinate, viewportDepthTexture, viewportLinearDepth, viewportMipTexture, viewportOpaqueMipTexture, viewportResolution, viewportSafeUV, viewportSharedTexture, viewportSize, viewportTexture, viewportUV, vogelDiskSample, wgsl, wgslFn, workgroupArray, workgroupBarrier, workgroupId, workingToColorSpace, xor };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright 2010-2025 Three.js Authors
3
+ * Copyright 2010-2026 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.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,v=e.NodeType,w=e.NodeUpdateType,_=e.PCFShadowFilter,S=e.PCFSoftShadowFilter,T=e.PI,y=e.PI2,V=e.TWO_PI,M=e.HALF_PI,F=e.PointShadowFilter,I=e.Return,D=e.Schlick_to_F0,B=e.ScriptableNodeResources,P=e.ShaderNode,C=e.Stack,A=e.Switch,N=e.TBNViewMatrix,R=e.VSMShadowFilter,O=e.V_GGX_SmithCorrelated,L=e.Var,k=e.VarIntent,G=e.abs,U=e.acesFilmicToneMapping,j=e.acos,E=e.add,W=e.addMethodChaining,q=e.addNodeElement,z=e.agxToneMapping,X=e.all,Z=e.alphaT,H=e.and,K=e.anisotropy,Y=e.anisotropyB,J=e.anisotropyT,Q=e.any,$=e.append,ee=e.array,te=e.arrayBuffer,re=e.asin,ae=e.assign,oe=e.atan,ie=e.atan2,ne=e.atomicAdd,le=e.atomicAnd,se=e.atomicFunc,ce=e.atomicLoad,me=e.atomicMax,ue=e.atomicMin,pe=e.atomicOr,de=e.atomicStore,ge=e.atomicSub,he=e.atomicXor,xe=e.attenuationColor,be=e.attenuationDistance,fe=e.attribute,ve=e.attributeArray,we=e.backgroundBlurriness,_e=e.backgroundIntensity,Se=e.backgroundRotation,Te=e.batch,ye=e.bentNormalView,Ve=e.billboarding,Me=e.bitAnd,Fe=e.bitNot,Ie=e.bitOr,De=e.bitXor,Be=e.bitangentGeometry,Pe=e.bitangentLocal,Ce=e.bitangentView,Ae=e.bitangentWorld,Ne=e.bitcast,Re=e.blendBurn,Oe=e.blendColor,Le=e.blendDodge,ke=e.blendOverlay,Ge=e.blendScreen,Ue=e.blur,je=e.bool,Ee=e.buffer,We=e.bufferAttribute,qe=e.bumpMap,ze=e.burn,Xe=e.builtin,Ze=e.bvec2,He=e.bvec3,Ke=e.bvec4,Ye=e.bypass,Je=e.cache,Qe=e.call,$e=e.cameraFar,et=e.cameraIndex,tt=e.cameraNear,rt=e.cameraNormalMatrix,at=e.cameraPosition,ot=e.cameraProjectionMatrix,it=e.cameraProjectionMatrixInverse,nt=e.cameraViewMatrix,lt=e.cameraViewport,st=e.cameraWorldMatrix,ct=e.cbrt,mt=e.cdl,ut=e.ceil,pt=e.checker,dt=e.cineonToneMapping,gt=e.clamp,ht=e.clearcoat,xt=e.clearcoatNormalView,bt=e.clearcoatRoughness,ft=e.code,vt=e.color,wt=e.colorSpaceToWorking,_t=e.colorToDirection,St=e.compute,Tt=e.computeKernel,yt=e.computeSkinning,Vt=e.context,Mt=e.convert,Ft=e.convertColorSpace,It=e.convertToTexture,Dt=e.cos,Bt=e.cross,Pt=e.cubeTexture,Ct=e.cubeTextureBase,At=e.cubeToUV,Nt=e.dFdx,Rt=e.dFdy,Ot=e.dashSize,Lt=e.debug,kt=e.decrement,Gt=e.decrementBefore,Ut=e.defaultBuildStages,jt=e.defaultShaderStages,Et=e.defined,Wt=e.degrees,qt=e.deltaTime,zt=e.densityFog,Xt=e.densityFogFactor,Zt=e.depth,Ht=e.depthPass,Kt=e.determinant,Yt=e.difference,Jt=e.diffuseColor,Qt=e.directPointLight,$t=e.directionToColor,er=e.directionToFaceDirection,tr=e.dispersion,rr=e.distance,ar=e.div,or=e.dodge,ir=e.dot,nr=e.drawIndex,lr=e.dynamicBufferAttribute,sr=e.element,cr=e.emissive,mr=e.equal,ur=e.equals,pr=e.equirectUV,dr=e.exp,gr=e.exp2,hr=e.expression,xr=e.faceDirection,br=e.faceForward,fr=e.faceforward,vr=e.float,wr=e.floatBitsToInt,_r=e.floatBitsToUint,Sr=e.floor,Tr=e.fog,yr=e.fract,Vr=e.frameGroup,Mr=e.frameId,Fr=e.frontFacing,Ir=e.fwidth,Dr=e.gain,Br=e.gapSize,Pr=e.getConstNodeType,Cr=e.getCurrentStack,Ar=e.getDirection,Nr=e.getDistanceAttenuation,Rr=e.getGeometryRoughness,Or=e.getNormalFromDepth,Lr=e.interleavedGradientNoise,kr=e.getParallaxCorrectNormal,Gr=e.getRoughness,Ur=e.getScreenPosition,jr=e.getShIrradianceAt,Er=e.getShadowMaterial,Wr=e.getShadowRenderObjectFunction,qr=e.getTextureIndex,zr=e.getViewPosition,Xr=e.globalId,Zr=e.glsl,Hr=e.glslFn,Kr=e.grayscale,Yr=e.greaterThan,Jr=e.greaterThanEqual,Qr=e.hash,$r=e.highpModelNormalViewMatrix,ea=e.highpModelViewMatrix,ta=e.hue,ra=e.increment,aa=e.incrementBefore,oa=e.instance,ia=e.instanceIndex,na=e.instancedArray,la=e.instancedBufferAttribute,sa=e.instancedDynamicBufferAttribute,ca=e.instancedMesh,ma=e.int,ua=e.intBitsToFloat,pa=e.inverse,da=e.inverseSqrt,ga=e.inversesqrt,ha=e.invocationLocalIndex,xa=e.invocationSubgroupIndex,ba=e.ior,fa=e.iridescence,va=e.iridescenceIOR,wa=e.iridescenceThickness,_a=e.ivec2,Sa=e.ivec3,Ta=e.ivec4,ya=e.js,Va=e.label,Ma=e.length,Fa=e.lengthSq,Ia=e.lessThan,Da=e.lessThanEqual,Ba=e.lightPosition,Pa=e.lightProjectionUV,Ca=e.lightShadowMatrix,Aa=e.lightTargetDirection,Na=e.lightTargetPosition,Ra=e.lightViewPosition,Oa=e.lightingContext,La=e.lights,ka=e.linearDepth,Ga=e.linearToneMapping,Ua=e.localId,ja=e.log,Ea=e.log2,Wa=e.logarithmicDepthToViewZ,qa=e.luminance,za=e.mat2,Xa=e.mat3,Za=e.mat4,Ha=e.matcapUV,Ka=e.materialAO,Ya=e.materialAlphaTest,Ja=e.materialAnisotropy,Qa=e.materialAnisotropyVector,$a=e.materialAttenuationColor,eo=e.materialAttenuationDistance,to=e.materialClearcoat,ro=e.materialClearcoatNormal,ao=e.materialClearcoatRoughness,oo=e.materialColor,io=e.materialDispersion,no=e.materialEmissive,lo=e.materialEnvIntensity,so=e.materialEnvRotation,co=e.materialIOR,mo=e.materialIridescence,uo=e.materialIridescenceIOR,po=e.materialIridescenceThickness,go=e.materialLightMap,ho=e.materialLineDashOffset,xo=e.materialLineDashSize,bo=e.materialLineGapSize,fo=e.materialLineScale,vo=e.materialLineWidth,wo=e.materialMetalness,_o=e.materialNormal,So=e.materialOpacity,To=e.materialPointSize,yo=e.materialReference,Vo=e.materialReflectivity,Mo=e.materialRefractionRatio,Fo=e.materialRotation,Io=e.materialRoughness,Do=e.materialSheen,Bo=e.materialSheenRoughness,Po=e.materialShininess,Co=e.materialSpecular,Ao=e.materialSpecularColor,No=e.materialSpecularIntensity,Ro=e.materialSpecularStrength,Oo=e.materialThickness,Lo=e.materialTransmission,ko=e.max,Go=e.maxMipLevel,Uo=e.mediumpModelViewMatrix,jo=e.metalness,Eo=e.min,Wo=e.mix,qo=e.mixElement,zo=e.mod,Xo=e.modInt,Zo=e.modelDirection,Ho=e.modelNormalMatrix,Ko=e.modelPosition,Yo=e.modelRadius,Jo=e.modelScale,Qo=e.modelViewMatrix,$o=e.modelViewPosition,ei=e.modelViewProjection,ti=e.modelWorldMatrix,ri=e.modelWorldMatrixInverse,ai=e.morphReference,oi=e.mrt,ii=e.mul,ni=e.mx_aastep,li=e.mx_add,si=e.mx_atan2,ci=e.mx_cell_noise_float,mi=e.mx_contrast,ui=e.mx_divide,pi=e.mx_fractal_noise_float,di=e.mx_fractal_noise_vec2,gi=e.mx_fractal_noise_vec3,hi=e.mx_fractal_noise_vec4,xi=e.mx_frame,bi=e.mx_heighttonormal,fi=e.mx_hsvtorgb,vi=e.mx_ifequal,wi=e.mx_ifgreater,_i=e.mx_ifgreatereq,Si=e.mx_invert,Ti=e.mx_modulo,yi=e.mx_multiply,Vi=e.mx_noise_float,Mi=e.mx_noise_vec3,Fi=e.mx_noise_vec4,Ii=e.mx_place2d,Di=e.mx_power,Bi=e.mx_ramp4,Pi=e.mx_ramplr,Ci=e.mx_ramptb,Ai=e.mx_rgbtohsv,Ni=e.mx_rotate2d,Ri=e.mx_rotate3d,Oi=e.mx_safepower,Li=e.mx_separate,ki=e.mx_splitlr,Gi=e.mx_splittb,Ui=e.mx_srgb_texture_to_lin_rec709,ji=e.mx_subtract,Ei=e.mx_timer,Wi=e.mx_transform_uv,qi=e.mx_unifiednoise2d,zi=e.mx_unifiednoise3d,Xi=e.mx_worley_noise_float,Zi=e.mx_worley_noise_vec2,Hi=e.mx_worley_noise_vec3,Ki=e.negate,Yi=e.neutralToneMapping,Ji=e.nodeArray,Qi=e.nodeImmutable,$i=e.nodeObject,en=e.nodeObjectIntent,tn=e.nodeObjects,rn=e.nodeProxy,an=e.nodeProxyIntent,on=e.normalFlat,nn=e.normalGeometry,ln=e.normalLocal,sn=e.normalMap,cn=e.normalView,mn=e.normalViewGeometry,un=e.normalWorld,pn=e.normalWorldGeometry,dn=e.normalize,gn=e.not,hn=e.notEqual,xn=e.numWorkgroups,bn=e.objectDirection,fn=e.objectGroup,vn=e.objectPosition,wn=e.objectRadius,_n=e.objectScale,Sn=e.objectViewPosition,Tn=e.objectWorldMatrix,yn=e.OnBeforeObjectUpdate,Vn=e.OnBeforeMaterialUpdate,Mn=e.OnObjectUpdate,Fn=e.OnMaterialUpdate,In=e.oneMinus,Dn=e.or,Bn=e.orthographicDepthToViewZ,Pn=e.oscSawtooth,Cn=e.oscSine,An=e.oscSquare,Nn=e.oscTriangle,Rn=e.output,On=e.outputStruct,Ln=e.overlay,kn=e.overloadingFn,Gn=e.parabola,Un=e.parallaxDirection,jn=e.parallaxUV,En=e.parameter,Wn=e.pass,qn=e.passTexture,zn=e.pcurve,Xn=e.perspectiveDepthToViewZ,Zn=e.pmremTexture,Hn=e.pointShadow,Kn=e.pointUV,Yn=e.pointWidth,Jn=e.positionGeometry,Qn=e.positionLocal,$n=e.positionPrevious,el=e.positionView,tl=e.positionViewDirection,rl=e.positionWorld,al=e.positionWorldDirection,ol=e.posterize,il=e.pow,nl=e.pow2,ll=e.pow3,sl=e.pow4,cl=e.premultiplyAlpha,ml=e.property,ul=e.radians,pl=e.rand,dl=e.range,gl=e.rangeFog,hl=e.rangeFogFactor,xl=e.reciprocal,bl=e.reference,fl=e.referenceBuffer,vl=e.reflect,wl=e.reflectVector,_l=e.reflectView,Sl=e.reflector,Tl=e.refract,yl=e.refractVector,Vl=e.refractView,Ml=e.reinhardToneMapping,Fl=e.remap,Il=e.remapClamp,Dl=e.renderGroup,Bl=e.renderOutput,Pl=e.rendererReference,Cl=e.rotate,Al=e.rotateUV,Nl=e.roughness,Rl=e.round,Ol=e.rtt,Ll=e.sRGBTransferEOTF,kl=e.sRGBTransferOETF,Gl=e.sample,Ul=e.sampler,jl=e.samplerComparison,El=e.saturate,Wl=e.saturation,ql=e.screen,zl=e.screenCoordinate,Xl=e.screenDPR,Zl=e.screenSize,Hl=e.screenUV,Kl=e.scriptable,Yl=e.scriptableValue,Jl=e.select,Ql=e.setCurrentStack,$l=e.setName,es=e.shaderStages,ts=e.shadow,rs=e.shadowPositionWorld,as=e.shapeCircle,os=e.sharedUniformGroup,is=e.sheen,ns=e.sheenRoughness,ls=e.shiftLeft,ss=e.shiftRight,cs=e.shininess,ms=e.sign,us=e.sin,ps=e.sinc,ds=e.skinning,gs=e.smoothstep,hs=e.smoothstepElement,xs=e.specularColor,bs=e.specularF90,fs=e.spherizeUV,vs=e.split,ws=e.spritesheetUV,_s=e.sqrt,Ss=e.stack,Ts=e.step,ys=e.stepElement,Vs=e.storage,Ms=e.storageBarrier,Fs=e.storageObject,Is=e.storageTexture,Ds=e.string,Bs=e.struct,Ps=e.sub,Cs=e.subgroupAdd,As=e.subgroupAll,Ns=e.subgroupAnd,Rs=e.subgroupAny,Os=e.subgroupBallot,Ls=e.subgroupBroadcast,ks=e.subgroupBroadcastFirst,Gs=e.subBuild,Us=e.subgroupElect,js=e.subgroupExclusiveAdd,Es=e.subgroupExclusiveMul,Ws=e.subgroupInclusiveAdd,qs=e.subgroupInclusiveMul,zs=e.subgroupIndex,Xs=e.subgroupMax,Zs=e.subgroupMin,Hs=e.subgroupMul,Ks=e.subgroupOr,Ys=e.subgroupShuffle,Js=e.subgroupShuffleDown,Qs=e.subgroupShuffleUp,$s=e.subgroupShuffleXor,ec=e.subgroupSize,tc=e.subgroupXor,rc=e.tan,ac=e.tangentGeometry,oc=e.tangentLocal,ic=e.tangentView,nc=e.tangentWorld,lc=e.texture,sc=e.texture3D,cc=e.textureBarrier,mc=e.textureBicubic,uc=e.textureBicubicLevel,pc=e.textureCubeUV,dc=e.textureLoad,gc=e.textureSize,hc=e.textureLevel,xc=e.textureStore,bc=e.thickness,fc=e.time,vc=e.toneMapping,wc=e.toneMappingExposure,_c=e.toonOutlinePass,Sc=e.transformDirection,Tc=e.transformNormal,yc=e.transformNormalToView,Vc=e.transformedClearcoatNormalView,Mc=e.transformedNormalView,Fc=e.transformedNormalWorld,Ic=e.transmission,Dc=e.transpose,Bc=e.triNoise3D,Pc=e.triplanarTexture,Cc=e.triplanarTextures,Ac=e.trunc,Nc=e.uint,Rc=e.uintBitsToFloat,Oc=e.uniform,Lc=e.uniformArray,kc=e.uniformCubeTexture,Gc=e.uniformGroup,Uc=e.uniformFlow,jc=e.uniformTexture,Ec=e.unpremultiplyAlpha,Wc=e.userData,qc=e.uv,zc=e.uvec2,Xc=e.uvec3,Zc=e.uvec4,Hc=e.varying,Kc=e.varyingProperty,Yc=e.vec2,Jc=e.vec3,Qc=e.vec4,$c=e.vectorComponents,em=e.velocity,tm=e.vertexColor,rm=e.vertexIndex,am=e.vertexStage,om=e.vibrance,im=e.viewZToLogarithmicDepth,nm=e.viewZToOrthographicDepth,lm=e.viewZToPerspectiveDepth,sm=e.viewport,cm=e.viewportCoordinate,mm=e.viewportDepthTexture,um=e.viewportLinearDepth,pm=e.viewportMipTexture,dm=e.viewportResolution,gm=e.viewportSafeUV,hm=e.viewportSharedTexture,xm=e.viewportSize,bm=e.viewportTexture,fm=e.viewportUV,vm=e.wgsl,wm=e.wgslFn,_m=e.workgroupArray,Sm=e.workgroupBarrier,Tm=e.workgroupId,ym=e.workingToColorSpace,Vm=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,M as HALF_PI,g as INFINITY,h as If,x as Loop,b as NodeAccess,f as NodeShaderStage,v as NodeType,w as NodeUpdateType,Vn as OnBeforeMaterialUpdate,yn as OnBeforeObjectUpdate,Fn as OnMaterialUpdate,Mn as OnObjectUpdate,_ as PCFShadowFilter,S as PCFSoftShadowFilter,T as PI,y as PI2,F as PointShadowFilter,I as Return,D as Schlick_to_F0,B as ScriptableNodeResources,P as ShaderNode,C as Stack,A as Switch,N as TBNViewMatrix,V as TWO_PI,R as VSMShadowFilter,O as V_GGX_SmithCorrelated,L as Var,k as VarIntent,G as abs,U as acesFilmicToneMapping,j as acos,E as add,W as addMethodChaining,q as addNodeElement,z as agxToneMapping,X as all,Z as alphaT,H as and,K as anisotropy,Y as anisotropyB,J as anisotropyT,Q as any,$ as append,ee as array,te as arrayBuffer,re as asin,ae as assign,oe as atan,ie as atan2,ne as atomicAdd,le as atomicAnd,se as atomicFunc,ce as atomicLoad,me as atomicMax,ue as atomicMin,pe as atomicOr,de as atomicStore,ge as atomicSub,he as atomicXor,xe as attenuationColor,be as attenuationDistance,fe as attribute,ve as attributeArray,we as backgroundBlurriness,_e as backgroundIntensity,Se as backgroundRotation,Te as batch,ye as bentNormalView,Ve as billboarding,Me as bitAnd,Fe as bitNot,Ie as bitOr,De as bitXor,Be as bitangentGeometry,Pe as bitangentLocal,Ce as bitangentView,Ae as bitangentWorld,Ne as bitcast,Re as blendBurn,Oe as blendColor,Le as blendDodge,ke as blendOverlay,Ge as blendScreen,Ue as blur,je as bool,Ee as buffer,We as bufferAttribute,Xe as builtin,qe as bumpMap,ze as burn,Ze as bvec2,He as bvec3,Ke as bvec4,Ye as bypass,Je as cache,Qe as call,$e as cameraFar,et as cameraIndex,tt as cameraNear,rt as cameraNormalMatrix,at as cameraPosition,ot as cameraProjectionMatrix,it as cameraProjectionMatrixInverse,nt as cameraViewMatrix,lt as cameraViewport,st as cameraWorldMatrix,ct as cbrt,mt as cdl,ut as ceil,pt as checker,dt as cineonToneMapping,gt as clamp,ht as clearcoat,xt as clearcoatNormalView,bt as clearcoatRoughness,ft as code,vt as color,wt as colorSpaceToWorking,_t as colorToDirection,St as compute,Tt as computeKernel,yt as computeSkinning,Vt as context,Mt as convert,Ft as convertColorSpace,It as convertToTexture,Dt as cos,Bt as cross,Pt as cubeTexture,Ct as cubeTextureBase,At as cubeToUV,Nt as dFdx,Rt as dFdy,Ot as dashSize,Lt as debug,kt as decrement,Gt as decrementBefore,Ut as defaultBuildStages,jt as defaultShaderStages,Et as defined,Wt as degrees,qt as deltaTime,zt as densityFog,Xt as densityFogFactor,Zt as depth,Ht as depthPass,Kt as determinant,Yt as difference,Jt as diffuseColor,Qt as directPointLight,$t as directionToColor,er as directionToFaceDirection,tr as dispersion,rr as distance,ar as div,or as dodge,ir as dot,nr as drawIndex,lr as dynamicBufferAttribute,sr as element,cr as emissive,mr as equal,ur as equals,pr as equirectUV,dr as exp,gr as exp2,hr as expression,xr as faceDirection,br as faceForward,fr as faceforward,vr as float,wr as floatBitsToInt,_r as floatBitsToUint,Sr as floor,Tr as fog,yr as fract,Vr as frameGroup,Mr as frameId,Fr as frontFacing,Ir as fwidth,Dr as gain,Br as gapSize,Pr as getConstNodeType,Cr as getCurrentStack,Ar as getDirection,Nr as getDistanceAttenuation,Rr as getGeometryRoughness,Or as getNormalFromDepth,kr as getParallaxCorrectNormal,Gr as getRoughness,Ur as getScreenPosition,jr as getShIrradianceAt,Er as getShadowMaterial,Wr as getShadowRenderObjectFunction,qr as getTextureIndex,zr as getViewPosition,Xr as globalId,Zr as glsl,Hr as glslFn,Kr as grayscale,Yr as greaterThan,Jr as greaterThanEqual,Qr as hash,$r as highpModelNormalViewMatrix,ea as highpModelViewMatrix,ta as hue,ra as increment,aa as incrementBefore,oa as instance,ia as instanceIndex,na as instancedArray,la as instancedBufferAttribute,sa as instancedDynamicBufferAttribute,ca as instancedMesh,ma as int,ua as intBitsToFloat,Lr as interleavedGradientNoise,pa as inverse,da as inverseSqrt,ga as inversesqrt,ha as invocationLocalIndex,xa as invocationSubgroupIndex,ba as ior,fa as iridescence,va as iridescenceIOR,wa as iridescenceThickness,_a as ivec2,Sa as ivec3,Ta as ivec4,ya as js,Va as label,Ma as length,Fa as lengthSq,Ia as lessThan,Da as lessThanEqual,Ba as lightPosition,Pa as lightProjectionUV,Ca as lightShadowMatrix,Aa as lightTargetDirection,Na as lightTargetPosition,Ra as lightViewPosition,Oa as lightingContext,La as lights,ka as linearDepth,Ga as linearToneMapping,Ua as localId,ja as log,Ea as log2,Wa as logarithmicDepthToViewZ,qa as luminance,za as mat2,Xa as mat3,Za as mat4,Ha as matcapUV,Ka as materialAO,Ya as materialAlphaTest,Ja as materialAnisotropy,Qa as materialAnisotropyVector,$a as materialAttenuationColor,eo as materialAttenuationDistance,to as materialClearcoat,ro as materialClearcoatNormal,ao as materialClearcoatRoughness,oo as materialColor,io as materialDispersion,no as materialEmissive,lo as materialEnvIntensity,so as materialEnvRotation,co as materialIOR,mo as materialIridescence,uo as materialIridescenceIOR,po as materialIridescenceThickness,go as materialLightMap,ho as materialLineDashOffset,xo as materialLineDashSize,bo as materialLineGapSize,fo as materialLineScale,vo as materialLineWidth,wo as materialMetalness,_o as materialNormal,So as materialOpacity,To as materialPointSize,yo as materialReference,Vo as materialReflectivity,Mo as materialRefractionRatio,Fo as materialRotation,Io as materialRoughness,Do as materialSheen,Bo as materialSheenRoughness,Po as materialShininess,Co as materialSpecular,Ao as materialSpecularColor,No as materialSpecularIntensity,Ro as materialSpecularStrength,Oo as materialThickness,Lo as materialTransmission,ko as max,Go as maxMipLevel,Uo as mediumpModelViewMatrix,jo as metalness,Eo as min,Wo as mix,qo as mixElement,zo as mod,Xo as modInt,Zo as modelDirection,Ho as modelNormalMatrix,Ko as modelPosition,Yo as modelRadius,Jo as modelScale,Qo as modelViewMatrix,$o as modelViewPosition,ei as modelViewProjection,ti as modelWorldMatrix,ri as modelWorldMatrixInverse,ai as morphReference,oi as mrt,ii as mul,ni as mx_aastep,li as mx_add,si as mx_atan2,ci as mx_cell_noise_float,mi as mx_contrast,ui as mx_divide,pi as mx_fractal_noise_float,di as mx_fractal_noise_vec2,gi as mx_fractal_noise_vec3,hi as mx_fractal_noise_vec4,xi as mx_frame,bi as mx_heighttonormal,fi as mx_hsvtorgb,vi as mx_ifequal,wi as mx_ifgreater,_i as mx_ifgreatereq,Si as mx_invert,Ti as mx_modulo,yi as mx_multiply,Vi as mx_noise_float,Mi as mx_noise_vec3,Fi as mx_noise_vec4,Ii as mx_place2d,Di as mx_power,Bi as mx_ramp4,Pi as mx_ramplr,Ci as mx_ramptb,Ai as mx_rgbtohsv,Ni as mx_rotate2d,Ri as mx_rotate3d,Oi as mx_safepower,Li as mx_separate,ki as mx_splitlr,Gi as mx_splittb,Ui as mx_srgb_texture_to_lin_rec709,ji as mx_subtract,Ei as mx_timer,Wi as mx_transform_uv,qi as mx_unifiednoise2d,zi as mx_unifiednoise3d,Xi as mx_worley_noise_float,Zi as mx_worley_noise_vec2,Hi as mx_worley_noise_vec3,Ki as negate,Yi as neutralToneMapping,Ji as nodeArray,Qi as nodeImmutable,$i as nodeObject,en as nodeObjectIntent,tn as nodeObjects,rn as nodeProxy,an as nodeProxyIntent,on as normalFlat,nn as normalGeometry,ln as normalLocal,sn as normalMap,cn as normalView,mn as normalViewGeometry,un as normalWorld,pn as normalWorldGeometry,dn as normalize,gn as not,hn as notEqual,xn as numWorkgroups,bn as objectDirection,fn as objectGroup,vn as objectPosition,wn as objectRadius,_n as objectScale,Sn as objectViewPosition,Tn as objectWorldMatrix,In as oneMinus,Dn as or,Bn as orthographicDepthToViewZ,Pn as oscSawtooth,Cn as oscSine,An as oscSquare,Nn as oscTriangle,Rn as output,On as outputStruct,Ln as overlay,kn as overloadingFn,Gn as parabola,Un as parallaxDirection,jn as parallaxUV,En as parameter,Wn as pass,qn as passTexture,zn as pcurve,Xn as perspectiveDepthToViewZ,Zn as pmremTexture,Hn as pointShadow,Kn as pointUV,Yn as pointWidth,Jn as positionGeometry,Qn as positionLocal,$n as positionPrevious,el as positionView,tl as positionViewDirection,rl as positionWorld,al as positionWorldDirection,ol as posterize,il as pow,nl as pow2,ll as pow3,sl as pow4,cl as premultiplyAlpha,ml as property,ul as radians,pl as rand,dl as range,gl as rangeFog,hl as rangeFogFactor,xl as reciprocal,bl as reference,fl as referenceBuffer,vl as reflect,wl as reflectVector,_l as reflectView,Sl as reflector,Tl as refract,yl as refractVector,Vl as refractView,Ml as reinhardToneMapping,Fl as remap,Il as remapClamp,Dl as renderGroup,Bl as renderOutput,Pl as rendererReference,Cl as rotate,Al as rotateUV,Nl as roughness,Rl as round,Ol as rtt,Ll as sRGBTransferEOTF,kl as sRGBTransferOETF,Gl as sample,Ul as sampler,jl as samplerComparison,El as saturate,Wl as saturation,ql as screen,zl as screenCoordinate,Xl as screenDPR,Zl as screenSize,Hl as screenUV,Kl as scriptable,Yl as scriptableValue,Jl as select,Ql as setCurrentStack,$l as setName,es as shaderStages,ts as shadow,rs as shadowPositionWorld,as as shapeCircle,os as sharedUniformGroup,is as sheen,ns as sheenRoughness,ls as shiftLeft,ss as shiftRight,cs as shininess,ms as sign,us as sin,ps as sinc,ds as skinning,gs as smoothstep,hs as smoothstepElement,xs as specularColor,bs as specularF90,fs as spherizeUV,vs as split,ws as spritesheetUV,_s as sqrt,Ss as stack,Ts as step,ys as stepElement,Vs as storage,Ms as storageBarrier,Fs as storageObject,Is as storageTexture,Ds as string,Bs as struct,Ps as sub,Gs as subBuild,Cs as subgroupAdd,As as subgroupAll,Ns as subgroupAnd,Rs as subgroupAny,Os as subgroupBallot,Ls as subgroupBroadcast,ks as subgroupBroadcastFirst,Us as subgroupElect,js as subgroupExclusiveAdd,Es as subgroupExclusiveMul,Ws as subgroupInclusiveAdd,qs as subgroupInclusiveMul,zs as subgroupIndex,Xs as subgroupMax,Zs as subgroupMin,Hs as subgroupMul,Ks as subgroupOr,Ys as subgroupShuffle,Js as subgroupShuffleDown,Qs as subgroupShuffleUp,$s as subgroupShuffleXor,ec as subgroupSize,tc as subgroupXor,rc as tan,ac as tangentGeometry,oc as tangentLocal,ic as tangentView,nc as tangentWorld,lc as texture,sc as texture3D,cc as textureBarrier,mc as textureBicubic,uc as textureBicubicLevel,pc as textureCubeUV,hc as textureLevel,dc as textureLoad,gc as textureSize,xc as textureStore,bc as thickness,fc as time,vc as toneMapping,wc as toneMappingExposure,_c as toonOutlinePass,Sc as transformDirection,Tc as transformNormal,yc as transformNormalToView,Vc as transformedClearcoatNormalView,Mc as transformedNormalView,Fc as transformedNormalWorld,Ic as transmission,Dc as transpose,Bc as triNoise3D,Pc as triplanarTexture,Cc as triplanarTextures,Ac as trunc,Nc as uint,Rc as uintBitsToFloat,Oc as uniform,Lc as uniformArray,kc as uniformCubeTexture,Uc as uniformFlow,Gc as uniformGroup,jc as uniformTexture,Ec as unpremultiplyAlpha,Wc as userData,qc as uv,zc as uvec2,Xc as uvec3,Zc as uvec4,Hc as varying,Kc as varyingProperty,Yc as vec2,Jc as vec3,Qc as vec4,$c as vectorComponents,em as velocity,tm as vertexColor,rm as vertexIndex,am as vertexStage,om as vibrance,im as viewZToLogarithmicDepth,nm as viewZToOrthographicDepth,lm as viewZToPerspectiveDepth,sm as viewport,cm as viewportCoordinate,mm as viewportDepthTexture,um as viewportLinearDepth,pm as viewportMipTexture,dm as viewportResolution,gm as viewportSafeUV,hm as viewportSharedTexture,xm as viewportSize,bm as viewportTexture,fm as viewportUV,vm as wgsl,wm as wgslFn,_m as workgroupArray,Sm as workgroupBarrier,Tm as workgroupId,ym as workingToColorSpace,Vm 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.DFGLUT,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,f=e.NodeAccess,b=e.NodeShaderStage,v=e.NodeType,w=e.NodeUpdateType,_=e.PCFShadowFilter,S=e.PCFSoftShadowFilter,T=e.PI,y=e.PI2,V=e.TWO_PI,M=e.HALF_PI,F=e.PointShadowFilter,D=e.Return,I=e.Schlick_to_F0,B=e.ShaderNode,C=e.Stack,P=e.Switch,R=e.TBNViewMatrix,A=e.VSMShadowFilter,O=e.V_GGX_SmithCorrelated,k=e.Var,N=e.VarIntent,L=e.abs,U=e.acesFilmicToneMapping,G=e.acos,j=e.acosh,E=e.add,W=e.addMethodChaining,q=e.addNodeElement,z=e.agxToneMapping,Z=e.all,X=e.alphaT,H=e.and,K=e.anisotropy,Y=e.anisotropyB,J=e.anisotropyT,Q=e.any,$=e.append,ee=e.array,te=e.arrayBuffer,re=e.asin,ae=e.asinh,oe=e.assign,ie=e.atan,ne=e.atanh,le=e.atomicAdd,se=e.atomicAnd,ce=e.atomicFunc,me=e.atomicLoad,ue=e.atomicMax,pe=e.atomicMin,de=e.atomicOr,ge=e.atomicStore,he=e.atomicSub,xe=e.atomicXor,fe=e.attenuationColor,be=e.attenuationDistance,ve=e.attribute,we=e.attributeArray,_e=e.backgroundBlurriness,Se=e.backgroundIntensity,Te=e.backgroundRotation,ye=e.batch,Ve=e.bentNormalView,Me=e.billboarding,Fe=e.bitAnd,De=e.bitNot,Ie=e.bitOr,Be=e.bitXor,Ce=e.bitangentGeometry,Pe=e.bitangentLocal,Re=e.bitangentView,Ae=e.bitangentWorld,Oe=e.bitcast,ke=e.blendBurn,Ne=e.blendColor,Le=e.blendDodge,Ue=e.blendOverlay,Ge=e.blendScreen,je=e.blur,Ee=e.bool,We=e.buffer,qe=e.bufferAttribute,ze=e.bumpMap,Ze=e.builtin,Xe=e.builtinAOContext,He=e.builtinShadowContext,Ke=e.bvec2,Ye=e.bvec3,Je=e.bvec4,Qe=e.bypass,$e=e.cache,et=e.call,tt=e.cameraFar,rt=e.cameraIndex,at=e.cameraNear,ot=e.cameraNormalMatrix,it=e.cameraPosition,nt=e.cameraProjectionMatrix,lt=e.cameraProjectionMatrixInverse,st=e.cameraViewMatrix,ct=e.cameraViewport,mt=e.cameraWorldMatrix,ut=e.cbrt,pt=e.cdl,dt=e.ceil,gt=e.checker,ht=e.cineonToneMapping,xt=e.clamp,ft=e.clearcoat,bt=e.clearcoatNormalView,vt=e.clearcoatRoughness,wt=e.clipSpace,_t=e.code,St=e.color,Tt=e.colorSpaceToWorking,yt=e.colorToDirection,Vt=e.compute,Mt=e.computeKernel,Ft=e.computeSkinning,Dt=e.context,It=e.convert,Bt=e.convertColorSpace,Ct=e.convertToTexture,Pt=e.countLeadingZeros,Rt=e.countOneBits,At=e.countTrailingZeros,Ot=e.cos,kt=e.cosh,Nt=e.cross,Lt=e.cubeTexture,Ut=e.cubeTextureBase,Gt=e.dFdx,jt=e.dFdy,Et=e.dashSize,Wt=e.debug,qt=e.decrement,zt=e.decrementBefore,Zt=e.defaultBuildStages,Xt=e.defaultShaderStages,Ht=e.defined,Kt=e.degrees,Yt=e.deltaTime,Jt=e.densityFog,Qt=e.densityFogFactor,$t=e.depth,er=e.depthPass,tr=e.determinant,rr=e.difference,ar=e.diffuseColor,or=e.directPointLight,ir=e.directionToColor,nr=e.directionToFaceDirection,lr=e.dispersion,sr=e.distance,cr=e.div,mr=e.dot,ur=e.drawIndex,pr=e.dynamicBufferAttribute,dr=e.element,gr=e.emissive,hr=e.equal,xr=e.equirectUV,fr=e.exp,br=e.exp2,vr=e.exponentialHeightFogFactor,wr=e.expression,_r=e.faceDirection,Sr=e.faceForward,Tr=e.faceforward,yr=e.float,Vr=e.floatBitsToInt,Mr=e.floatBitsToUint,Fr=e.floor,Dr=e.fog,Ir=e.fract,Br=e.frameGroup,Cr=e.frameId,Pr=e.frontFacing,Rr=e.fwidth,Ar=e.gain,Or=e.gapSize,kr=e.getConstNodeType,Nr=e.getCurrentStack,Lr=e.getDirection,Ur=e.getDistanceAttenuation,Gr=e.getGeometryRoughness,jr=e.getNormalFromDepth,Er=e.interleavedGradientNoise,Wr=e.vogelDiskSample,qr=e.getParallaxCorrectNormal,zr=e.getRoughness,Zr=e.getScreenPosition,Xr=e.getShIrradianceAt,Hr=e.getShadowMaterial,Kr=e.getShadowRenderObjectFunction,Yr=e.getTextureIndex,Jr=e.getViewPosition,Qr=e.globalId,$r=e.glsl,ea=e.glslFn,ta=e.grayscale,ra=e.greaterThan,aa=e.greaterThanEqual,oa=e.hash,ia=e.highpModelNormalViewMatrix,na=e.highpModelViewMatrix,la=e.hue,sa=e.increment,ca=e.incrementBefore,ma=e.instance,ua=e.instanceIndex,pa=e.instancedArray,da=e.instancedBufferAttribute,ga=e.instancedDynamicBufferAttribute,ha=e.instancedMesh,xa=e.int,fa=e.intBitsToFloat,ba=e.inverse,va=e.inverseSqrt,wa=e.inversesqrt,_a=e.invocationLocalIndex,Sa=e.invocationSubgroupIndex,Ta=e.ior,ya=e.iridescence,Va=e.iridescenceIOR,Ma=e.iridescenceThickness,Fa=e.ivec2,Da=e.ivec3,Ia=e.ivec4,Ba=e.js,Ca=e.label,Pa=e.length,Ra=e.lengthSq,Aa=e.lessThan,Oa=e.lessThanEqual,ka=e.lightPosition,Na=e.lightProjectionUV,La=e.lightShadowMatrix,Ua=e.lightTargetDirection,Ga=e.lightTargetPosition,ja=e.lightViewPosition,Ea=e.lightingContext,Wa=e.lights,qa=e.linearDepth,za=e.linearToneMapping,Za=e.localId,Xa=e.log,Ha=e.log2,Ka=e.logarithmicDepthToViewZ,Ya=e.luminance,Ja=e.mat2,Qa=e.mat3,$a=e.mat4,eo=e.matcapUV,to=e.materialAO,ro=e.materialAlphaTest,ao=e.materialAnisotropy,oo=e.materialAnisotropyVector,io=e.materialAttenuationColor,no=e.materialAttenuationDistance,lo=e.materialClearcoat,so=e.materialClearcoatNormal,co=e.materialClearcoatRoughness,mo=e.materialColor,uo=e.materialDispersion,po=e.materialEmissive,go=e.materialEnvIntensity,ho=e.materialEnvRotation,xo=e.materialIOR,fo=e.materialIridescence,bo=e.materialIridescenceIOR,vo=e.materialIridescenceThickness,wo=e.materialLightMap,_o=e.materialLineDashOffset,So=e.materialLineDashSize,To=e.materialLineGapSize,yo=e.materialLineScale,Vo=e.materialLineWidth,Mo=e.materialMetalness,Fo=e.materialNormal,Do=e.materialOpacity,Io=e.materialPointSize,Bo=e.materialReference,Co=e.materialReflectivity,Po=e.materialRefractionRatio,Ro=e.materialRotation,Ao=e.materialRoughness,Oo=e.materialSheen,ko=e.materialSheenRoughness,No=e.materialShininess,Lo=e.materialSpecular,Uo=e.materialSpecularColor,Go=e.materialSpecularIntensity,jo=e.materialSpecularStrength,Eo=e.materialThickness,Wo=e.materialTransmission,qo=e.max,zo=e.maxMipLevel,Zo=e.mediumpModelViewMatrix,Xo=e.metalness,Ho=e.min,Ko=e.mix,Yo=e.mixElement,Jo=e.mod,Qo=e.modInt,$o=e.modelDirection,ei=e.modelNormalMatrix,ti=e.modelPosition,ri=e.modelRadius,ai=e.modelScale,oi=e.modelViewMatrix,ii=e.modelViewPosition,ni=e.modelViewProjection,li=e.modelWorldMatrix,si=e.modelWorldMatrixInverse,ci=e.morphReference,mi=e.mrt,ui=e.mul,pi=e.mx_aastep,di=e.mx_add,gi=e.mx_atan2,hi=e.mx_cell_noise_float,xi=e.mx_contrast,fi=e.mx_divide,bi=e.mx_fractal_noise_float,vi=e.mx_fractal_noise_vec2,wi=e.mx_fractal_noise_vec3,_i=e.mx_fractal_noise_vec4,Si=e.mx_frame,Ti=e.mx_heighttonormal,yi=e.mx_hsvtorgb,Vi=e.mx_ifequal,Mi=e.mx_ifgreater,Fi=e.mx_ifgreatereq,Di=e.mx_invert,Ii=e.mx_modulo,Bi=e.mx_multiply,Ci=e.mx_noise_float,Pi=e.mx_noise_vec3,Ri=e.mx_noise_vec4,Ai=e.mx_place2d,Oi=e.mx_power,ki=e.mx_ramp4,Ni=e.mx_ramplr,Li=e.mx_ramptb,Ui=e.mx_rgbtohsv,Gi=e.mx_rotate2d,ji=e.mx_rotate3d,Ei=e.mx_safepower,Wi=e.mx_separate,qi=e.mx_splitlr,zi=e.mx_splittb,Zi=e.mx_srgb_texture_to_lin_rec709,Xi=e.mx_subtract,Hi=e.mx_timer,Ki=e.mx_transform_uv,Yi=e.mx_unifiednoise2d,Ji=e.mx_unifiednoise3d,Qi=e.mx_worley_noise_float,$i=e.mx_worley_noise_vec2,en=e.mx_worley_noise_vec3,tn=e.negate,rn=e.neutralToneMapping,an=e.nodeArray,on=e.nodeImmutable,nn=e.nodeObject,ln=e.nodeObjectIntent,sn=e.nodeObjects,cn=e.nodeProxy,mn=e.nodeProxyIntent,un=e.normalFlat,pn=e.normalGeometry,dn=e.normalLocal,gn=e.normalMap,hn=e.normalView,xn=e.normalViewGeometry,fn=e.normalWorld,bn=e.normalWorldGeometry,vn=e.normalize,wn=e.not,_n=e.notEqual,Sn=e.numWorkgroups,Tn=e.objectDirection,yn=e.objectGroup,Vn=e.objectPosition,Mn=e.objectRadius,Fn=e.objectScale,Dn=e.objectViewPosition,In=e.objectWorldMatrix,Bn=e.OnBeforeObjectUpdate,Cn=e.OnBeforeMaterialUpdate,Pn=e.OnObjectUpdate,Rn=e.OnMaterialUpdate,An=e.oneMinus,On=e.or,kn=e.orthographicDepthToViewZ,Nn=e.oscSawtooth,Ln=e.oscSine,Un=e.oscSquare,Gn=e.oscTriangle,jn=e.output,En=e.outputStruct,Wn=e.overloadingFn,qn=e.packHalf2x16,zn=e.packSnorm2x16,Zn=e.packUnorm2x16,Xn=e.parabola,Hn=e.parallaxDirection,Kn=e.parallaxUV,Yn=e.parameter,Jn=e.pass,Qn=e.passTexture,$n=e.pcurve,el=e.perspectiveDepthToViewZ,tl=e.pmremTexture,rl=e.pointShadow,al=e.pointUV,ol=e.pointWidth,il=e.positionGeometry,nl=e.positionLocal,ll=e.positionPrevious,sl=e.positionView,cl=e.positionViewDirection,ml=e.positionWorld,ul=e.positionWorldDirection,pl=e.posterize,dl=e.pow,gl=e.pow2,hl=e.pow3,xl=e.pow4,fl=e.premultiplyAlpha,bl=e.property,vl=e.radians,wl=e.rand,_l=e.range,Sl=e.rangeFog,Tl=e.rangeFogFactor,yl=e.reciprocal,Vl=e.reference,Ml=e.referenceBuffer,Fl=e.reflect,Dl=e.reflectVector,Il=e.reflectView,Bl=e.reflector,Cl=e.refract,Pl=e.refractVector,Rl=e.refractView,Al=e.reinhardToneMapping,Ol=e.remap,kl=e.remapClamp,Nl=e.renderGroup,Ll=e.renderOutput,Ul=e.rendererReference,Gl=e.replaceDefaultUV,jl=e.rotate,El=e.rotateUV,Wl=e.roughness,ql=e.round,zl=e.rtt,Zl=e.sRGBTransferEOTF,Xl=e.sRGBTransferOETF,Hl=e.sample,Kl=e.sampler,Yl=e.samplerComparison,Jl=e.saturate,Ql=e.saturation,$l=e.screen,es=e.screenCoordinate,ts=e.screenDPR,rs=e.screenSize,as=e.screenUV,os=e.select,is=e.setCurrentStack,ns=e.setName,ls=e.shaderStages,ss=e.shadow,cs=e.shadowPositionWorld,ms=e.shapeCircle,us=e.sharedUniformGroup,ps=e.sheen,ds=e.sheenRoughness,gs=e.shiftLeft,hs=e.shiftRight,xs=e.shininess,fs=e.sign,bs=e.sin,vs=e.sinh,ws=e.sinc,_s=e.skinning,Ss=e.smoothstep,Ts=e.smoothstepElement,ys=e.specularColor,Vs=e.specularF90,Ms=e.spherizeUV,Fs=e.split,Ds=e.spritesheetUV,Is=e.sqrt,Bs=e.stack,Cs=e.step,Ps=e.stepElement,Rs=e.storage,As=e.storageBarrier,Os=e.storageTexture,ks=e.string,Ns=e.struct,Ls=e.sub,Us=e.subgroupAdd,Gs=e.subgroupAll,js=e.subgroupAnd,Es=e.subgroupAny,Ws=e.subgroupBallot,qs=e.subgroupBroadcast,zs=e.subgroupBroadcastFirst,Zs=e.subBuild,Xs=e.subgroupElect,Hs=e.subgroupExclusiveAdd,Ks=e.subgroupExclusiveMul,Ys=e.subgroupInclusiveAdd,Js=e.subgroupInclusiveMul,Qs=e.subgroupIndex,$s=e.subgroupMax,ec=e.subgroupMin,tc=e.subgroupMul,rc=e.subgroupOr,ac=e.subgroupShuffle,oc=e.subgroupShuffleDown,ic=e.subgroupShuffleUp,nc=e.subgroupShuffleXor,lc=e.subgroupSize,sc=e.subgroupXor,cc=e.tan,mc=e.tanh,uc=e.tangentGeometry,pc=e.tangentLocal,dc=e.tangentView,gc=e.tangentWorld,hc=e.texture,xc=e.texture3D,fc=e.textureBarrier,bc=e.textureBicubic,vc=e.textureBicubicLevel,wc=e.textureCubeUV,_c=e.textureLoad,Sc=e.textureSize,Tc=e.textureLevel,yc=e.textureStore,Vc=e.thickness,Mc=e.time,Fc=e.toneMapping,Dc=e.toneMappingExposure,Ic=e.toonOutlinePass,Bc=e.transformDirection,Cc=e.transformNormal,Pc=e.transformNormalToView,Rc=e.transformedClearcoatNormalView,Ac=e.transformedNormalView,Oc=e.transformedNormalWorld,kc=e.transmission,Nc=e.transpose,Lc=e.triNoise3D,Uc=e.triplanarTexture,Gc=e.triplanarTextures,jc=e.trunc,Ec=e.uint,Wc=e.uintBitsToFloat,qc=e.uniform,zc=e.uniformArray,Zc=e.uniformCubeTexture,Xc=e.uniformGroup,Hc=e.uniformFlow,Kc=e.uniformTexture,Yc=e.unpackHalf2x16,Jc=e.unpackSnorm2x16,Qc=e.unpackUnorm2x16,$c=e.unpremultiplyAlpha,em=e.userData,tm=e.uv,rm=e.uvec2,am=e.uvec3,om=e.uvec4,im=e.varying,nm=e.varyingProperty,lm=e.vec2,sm=e.vec3,cm=e.vec4,mm=e.vectorComponents,um=e.velocity,pm=e.vertexColor,dm=e.vertexIndex,gm=e.vertexStage,hm=e.vibrance,xm=e.viewZToLogarithmicDepth,fm=e.viewZToOrthographicDepth,bm=e.viewZToPerspectiveDepth,vm=e.viewZToReversedOrthographicDepth,wm=e.viewZToReversedPerspectiveDepth,_m=e.viewport,Sm=e.viewportCoordinate,Tm=e.viewportDepthTexture,ym=e.viewportLinearDepth,Vm=e.viewportMipTexture,Mm=e.viewportOpaqueMipTexture,Fm=e.viewportResolution,Dm=e.viewportSafeUV,Im=e.viewportSharedTexture,Bm=e.viewportSize,Cm=e.viewportTexture,Pm=e.viewportUV,Rm=e.wgsl,Am=e.wgslFn,Om=e.workgroupArray,km=e.workgroupBarrier,Nm=e.workgroupId,Lm=e.workingToColorSpace,Um=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 DFGLUT,c as D_GGX,m as Discard,u as EPSILON,p as F_Schlick,d as Fn,M as HALF_PI,g as INFINITY,h as If,x as Loop,f as NodeAccess,b as NodeShaderStage,v as NodeType,w as NodeUpdateType,Cn as OnBeforeMaterialUpdate,Bn as OnBeforeObjectUpdate,Rn as OnMaterialUpdate,Pn as OnObjectUpdate,_ as PCFShadowFilter,S as PCFSoftShadowFilter,T as PI,y as PI2,F as PointShadowFilter,D as Return,I as Schlick_to_F0,B as ShaderNode,C as Stack,P as Switch,R as TBNViewMatrix,V as TWO_PI,A as VSMShadowFilter,O as V_GGX_SmithCorrelated,k as Var,N as VarIntent,L as abs,U as acesFilmicToneMapping,G as acos,j as acosh,E as add,W as addMethodChaining,q as addNodeElement,z as agxToneMapping,Z as all,X as alphaT,H as and,K as anisotropy,Y as anisotropyB,J as anisotropyT,Q as any,$ as append,ee as array,te as arrayBuffer,re as asin,ae as asinh,oe as assign,ie as atan,ne as atanh,le as atomicAdd,se as atomicAnd,ce as atomicFunc,me as atomicLoad,ue as atomicMax,pe as atomicMin,de as atomicOr,ge as atomicStore,he as atomicSub,xe as atomicXor,fe as attenuationColor,be as attenuationDistance,ve as attribute,we as attributeArray,_e as backgroundBlurriness,Se as backgroundIntensity,Te as backgroundRotation,ye as batch,Ve as bentNormalView,Me as billboarding,Fe as bitAnd,De as bitNot,Ie as bitOr,Be as bitXor,Ce as bitangentGeometry,Pe as bitangentLocal,Re as bitangentView,Ae as bitangentWorld,Oe as bitcast,ke as blendBurn,Ne as blendColor,Le as blendDodge,Ue as blendOverlay,Ge as blendScreen,je as blur,Ee as bool,We as buffer,qe as bufferAttribute,Ze as builtin,Xe as builtinAOContext,He as builtinShadowContext,ze as bumpMap,Ke as bvec2,Ye as bvec3,Je as bvec4,Qe as bypass,$e as cache,et as call,tt as cameraFar,rt as cameraIndex,at as cameraNear,ot as cameraNormalMatrix,it as cameraPosition,nt as cameraProjectionMatrix,lt as cameraProjectionMatrixInverse,st as cameraViewMatrix,ct as cameraViewport,mt as cameraWorldMatrix,ut as cbrt,pt as cdl,dt as ceil,gt as checker,ht as cineonToneMapping,xt as clamp,ft as clearcoat,bt as clearcoatNormalView,vt as clearcoatRoughness,wt as clipSpace,_t as code,St as color,Tt as colorSpaceToWorking,yt as colorToDirection,Vt as compute,Mt as computeKernel,Ft as computeSkinning,Dt as context,It as convert,Bt as convertColorSpace,Ct as convertToTexture,Ot as cos,kt as cosh,Pt as countLeadingZeros,Rt as countOneBits,At as countTrailingZeros,Nt as cross,Lt as cubeTexture,Ut as cubeTextureBase,Gt as dFdx,jt as dFdy,Et as dashSize,Wt as debug,qt as decrement,zt as decrementBefore,Zt as defaultBuildStages,Xt as defaultShaderStages,Ht as defined,Kt as degrees,Yt as deltaTime,Jt as densityFog,Qt as densityFogFactor,$t as depth,er as depthPass,tr as determinant,rr as difference,ar as diffuseColor,or as directPointLight,ir as directionToColor,nr as directionToFaceDirection,lr as dispersion,sr as distance,cr as div,mr as dot,ur as drawIndex,pr as dynamicBufferAttribute,dr as element,gr as emissive,hr as equal,xr as equirectUV,fr as exp,br as exp2,vr as exponentialHeightFogFactor,wr as expression,_r as faceDirection,Sr as faceForward,Tr as faceforward,yr as float,Vr as floatBitsToInt,Mr as floatBitsToUint,Fr as floor,Dr as fog,Ir as fract,Br as frameGroup,Cr as frameId,Pr as frontFacing,Rr as fwidth,Ar as gain,Or as gapSize,kr as getConstNodeType,Nr as getCurrentStack,Lr as getDirection,Ur as getDistanceAttenuation,Gr as getGeometryRoughness,jr as getNormalFromDepth,qr as getParallaxCorrectNormal,zr as getRoughness,Zr as getScreenPosition,Xr as getShIrradianceAt,Hr as getShadowMaterial,Kr as getShadowRenderObjectFunction,Yr as getTextureIndex,Jr as getViewPosition,Qr as globalId,$r as glsl,ea as glslFn,ta as grayscale,ra as greaterThan,aa as greaterThanEqual,oa as hash,ia as highpModelNormalViewMatrix,na as highpModelViewMatrix,la as hue,sa as increment,ca as incrementBefore,ma as instance,ua as instanceIndex,pa as instancedArray,da as instancedBufferAttribute,ga as instancedDynamicBufferAttribute,ha as instancedMesh,xa as int,fa as intBitsToFloat,Er as interleavedGradientNoise,ba as inverse,va as inverseSqrt,wa as inversesqrt,_a as invocationLocalIndex,Sa as invocationSubgroupIndex,Ta as ior,ya as iridescence,Va as iridescenceIOR,Ma as iridescenceThickness,Fa as ivec2,Da as ivec3,Ia as ivec4,Ba as js,Ca as label,Pa as length,Ra as lengthSq,Aa as lessThan,Oa as lessThanEqual,ka as lightPosition,Na as lightProjectionUV,La as lightShadowMatrix,Ua as lightTargetDirection,Ga as lightTargetPosition,ja as lightViewPosition,Ea as lightingContext,Wa as lights,qa as linearDepth,za as linearToneMapping,Za as localId,Xa as log,Ha as log2,Ka as logarithmicDepthToViewZ,Ya as luminance,Ja as mat2,Qa as mat3,$a as mat4,eo as matcapUV,to as materialAO,ro as materialAlphaTest,ao as materialAnisotropy,oo as materialAnisotropyVector,io as materialAttenuationColor,no as materialAttenuationDistance,lo as materialClearcoat,so as materialClearcoatNormal,co as materialClearcoatRoughness,mo as materialColor,uo as materialDispersion,po as materialEmissive,go as materialEnvIntensity,ho as materialEnvRotation,xo as materialIOR,fo as materialIridescence,bo as materialIridescenceIOR,vo as materialIridescenceThickness,wo as materialLightMap,_o as materialLineDashOffset,So as materialLineDashSize,To as materialLineGapSize,yo as materialLineScale,Vo as materialLineWidth,Mo as materialMetalness,Fo as materialNormal,Do as materialOpacity,Io as materialPointSize,Bo as materialReference,Co as materialReflectivity,Po as materialRefractionRatio,Ro as materialRotation,Ao as materialRoughness,Oo as materialSheen,ko as materialSheenRoughness,No as materialShininess,Lo as materialSpecular,Uo as materialSpecularColor,Go as materialSpecularIntensity,jo as materialSpecularStrength,Eo as materialThickness,Wo as materialTransmission,qo as max,zo as maxMipLevel,Zo as mediumpModelViewMatrix,Xo as metalness,Ho as min,Ko as mix,Yo as mixElement,Jo as mod,Qo as modInt,$o as modelDirection,ei as modelNormalMatrix,ti as modelPosition,ri as modelRadius,ai as modelScale,oi as modelViewMatrix,ii as modelViewPosition,ni as modelViewProjection,li as modelWorldMatrix,si as modelWorldMatrixInverse,ci as morphReference,mi as mrt,ui as mul,pi as mx_aastep,di as mx_add,gi as mx_atan2,hi as mx_cell_noise_float,xi as mx_contrast,fi as mx_divide,bi as mx_fractal_noise_float,vi as mx_fractal_noise_vec2,wi as mx_fractal_noise_vec3,_i as mx_fractal_noise_vec4,Si as mx_frame,Ti as mx_heighttonormal,yi as mx_hsvtorgb,Vi as mx_ifequal,Mi as mx_ifgreater,Fi as mx_ifgreatereq,Di as mx_invert,Ii as mx_modulo,Bi as mx_multiply,Ci as mx_noise_float,Pi as mx_noise_vec3,Ri as mx_noise_vec4,Ai as mx_place2d,Oi as mx_power,ki as mx_ramp4,Ni as mx_ramplr,Li as mx_ramptb,Ui as mx_rgbtohsv,Gi as mx_rotate2d,ji as mx_rotate3d,Ei as mx_safepower,Wi as mx_separate,qi as mx_splitlr,zi as mx_splittb,Zi as mx_srgb_texture_to_lin_rec709,Xi as mx_subtract,Hi as mx_timer,Ki as mx_transform_uv,Yi as mx_unifiednoise2d,Ji as mx_unifiednoise3d,Qi as mx_worley_noise_float,$i as mx_worley_noise_vec2,en as mx_worley_noise_vec3,tn as negate,rn as neutralToneMapping,an as nodeArray,on as nodeImmutable,nn as nodeObject,ln as nodeObjectIntent,sn as nodeObjects,cn as nodeProxy,mn as nodeProxyIntent,un as normalFlat,pn as normalGeometry,dn as normalLocal,gn as normalMap,hn as normalView,xn as normalViewGeometry,fn as normalWorld,bn as normalWorldGeometry,vn as normalize,wn as not,_n as notEqual,Sn as numWorkgroups,Tn as objectDirection,yn as objectGroup,Vn as objectPosition,Mn as objectRadius,Fn as objectScale,Dn as objectViewPosition,In as objectWorldMatrix,An as oneMinus,On as or,kn as orthographicDepthToViewZ,Nn as oscSawtooth,Ln as oscSine,Un as oscSquare,Gn as oscTriangle,jn as output,En as outputStruct,Wn as overloadingFn,qn as packHalf2x16,zn as packSnorm2x16,Zn as packUnorm2x16,Xn as parabola,Hn as parallaxDirection,Kn as parallaxUV,Yn as parameter,Jn as pass,Qn as passTexture,$n as pcurve,el as perspectiveDepthToViewZ,tl as pmremTexture,rl as pointShadow,al as pointUV,ol as pointWidth,il as positionGeometry,nl as positionLocal,ll as positionPrevious,sl as positionView,cl as positionViewDirection,ml as positionWorld,ul as positionWorldDirection,pl as posterize,dl as pow,gl as pow2,hl as pow3,xl as pow4,fl as premultiplyAlpha,bl as property,vl as radians,wl as rand,_l as range,Sl as rangeFog,Tl as rangeFogFactor,yl as reciprocal,Vl as reference,Ml as referenceBuffer,Fl as reflect,Dl as reflectVector,Il as reflectView,Bl as reflector,Cl as refract,Pl as refractVector,Rl as refractView,Al as reinhardToneMapping,Ol as remap,kl as remapClamp,Nl as renderGroup,Ll as renderOutput,Ul as rendererReference,Gl as replaceDefaultUV,jl as rotate,El as rotateUV,Wl as roughness,ql as round,zl as rtt,Zl as sRGBTransferEOTF,Xl as sRGBTransferOETF,Hl as sample,Kl as sampler,Yl as samplerComparison,Jl as saturate,Ql as saturation,$l as screen,es as screenCoordinate,ts as screenDPR,rs as screenSize,as as screenUV,os as select,is as setCurrentStack,ns as setName,ls as shaderStages,ss as shadow,cs as shadowPositionWorld,ms as shapeCircle,us as sharedUniformGroup,ps as sheen,ds as sheenRoughness,gs as shiftLeft,hs as shiftRight,xs as shininess,fs as sign,bs as sin,ws as sinc,vs as sinh,_s as skinning,Ss as smoothstep,Ts as smoothstepElement,ys as specularColor,Vs as specularF90,Ms as spherizeUV,Fs as split,Ds as spritesheetUV,Is as sqrt,Bs as stack,Cs as step,Ps as stepElement,Rs as storage,As as storageBarrier,Os as storageTexture,ks as string,Ns as struct,Ls as sub,Zs as subBuild,Us as subgroupAdd,Gs as subgroupAll,js as subgroupAnd,Es as subgroupAny,Ws as subgroupBallot,qs as subgroupBroadcast,zs as subgroupBroadcastFirst,Xs as subgroupElect,Hs as subgroupExclusiveAdd,Ks as subgroupExclusiveMul,Ys as subgroupInclusiveAdd,Js as subgroupInclusiveMul,Qs as subgroupIndex,$s as subgroupMax,ec as subgroupMin,tc as subgroupMul,rc as subgroupOr,ac as subgroupShuffle,oc as subgroupShuffleDown,ic as subgroupShuffleUp,nc as subgroupShuffleXor,lc as subgroupSize,sc as subgroupXor,cc as tan,uc as tangentGeometry,pc as tangentLocal,dc as tangentView,gc as tangentWorld,mc as tanh,hc as texture,xc as texture3D,fc as textureBarrier,bc as textureBicubic,vc as textureBicubicLevel,wc as textureCubeUV,Tc as textureLevel,_c as textureLoad,Sc as textureSize,yc as textureStore,Vc as thickness,Mc as time,Fc as toneMapping,Dc as toneMappingExposure,Ic as toonOutlinePass,Bc as transformDirection,Cc as transformNormal,Pc as transformNormalToView,Rc as transformedClearcoatNormalView,Ac as transformedNormalView,Oc as transformedNormalWorld,kc as transmission,Nc as transpose,Lc as triNoise3D,Uc as triplanarTexture,Gc as triplanarTextures,jc as trunc,Ec as uint,Wc as uintBitsToFloat,qc as uniform,zc as uniformArray,Zc as uniformCubeTexture,Hc as uniformFlow,Xc as uniformGroup,Kc as uniformTexture,Yc as unpackHalf2x16,Jc as unpackSnorm2x16,Qc as unpackUnorm2x16,$c as unpremultiplyAlpha,em as userData,tm as uv,rm as uvec2,am as uvec3,om as uvec4,im as varying,nm as varyingProperty,lm as vec2,sm as vec3,cm as vec4,mm as vectorComponents,um as velocity,pm as vertexColor,dm as vertexIndex,gm as vertexStage,hm as vibrance,xm as viewZToLogarithmicDepth,fm as viewZToOrthographicDepth,bm as viewZToPerspectiveDepth,vm as viewZToReversedOrthographicDepth,wm as viewZToReversedPerspectiveDepth,_m as viewport,Sm as viewportCoordinate,Tm as viewportDepthTexture,ym as viewportLinearDepth,Vm as viewportMipTexture,Mm as viewportOpaqueMipTexture,Fm as viewportResolution,Dm as viewportSafeUV,Im as viewportSharedTexture,Bm as viewportSize,Cm as viewportTexture,Pm as viewportUV,Wr as vogelDiskSample,Rm as wgsl,Am as wgslFn,Om as workgroupArray,km as workgroupBarrier,Nm as workgroupId,Lm as workingToColorSpace,Um as xor};