three-stdlib 2.35.11 → 2.35.13

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 (529) hide show
  1. package/animation/AnimationClipCreator.d.ts +1 -1
  2. package/animation/CCDIKSolver.d.ts +1 -1
  3. package/animation/MMDAnimationHelper.d.ts +3 -3
  4. package/animation/MMDPhysics.d.ts +1 -1
  5. package/cameras/CinematicCamera.d.ts +2 -2
  6. package/controls/ArcballControls.d.ts +4 -4
  7. package/controls/DeviceOrientationControls.d.ts +4 -4
  8. package/controls/DragControls.d.ts +3 -3
  9. package/controls/FirstPersonControls.d.ts +2 -2
  10. package/controls/FlyControls.d.ts +3 -3
  11. package/controls/OrbitControls.d.ts +4 -4
  12. package/controls/PointerLockControls.d.ts +3 -3
  13. package/controls/TrackballControls.d.ts +4 -4
  14. package/controls/TransformControls.d.ts +2 -2
  15. package/controls/experimental/CameraControls.d.ts +3 -3
  16. package/csm/CSM.d.ts +2 -2
  17. package/csm/CSMFrustum.d.ts +2 -2
  18. package/csm/CSMHelper.d.ts +2 -2
  19. package/curves/CurveExtras.d.ts +1 -1
  20. package/curves/NURBSCurve.d.ts +1 -1
  21. package/curves/NURBSSurface.d.ts +1 -1
  22. package/curves/NURBSUtils.d.ts +1 -1
  23. package/deprecated/Geometry.d.ts +1 -1
  24. package/effects/AnaglyphEffect.d.ts +1 -1
  25. package/effects/AsciiEffect.d.ts +1 -1
  26. package/effects/OutlineEffect.d.ts +1 -1
  27. package/effects/ParallaxBarrierEffect.d.ts +1 -1
  28. package/effects/PeppersGhostEffect.d.ts +1 -1
  29. package/effects/StereoEffect.d.ts +1 -1
  30. package/environments/RoomEnvironment.d.ts +2 -2
  31. package/exporters/ColladaExporter.d.ts +2 -2
  32. package/exporters/DRACOExporter.d.ts +2 -2
  33. package/exporters/GLTFExporter.d.ts +4 -4
  34. package/exporters/MMDExporter.d.ts +2 -2
  35. package/exporters/OBJExporter.d.ts +2 -2
  36. package/exporters/PLYExporter.d.ts +2 -2
  37. package/exporters/STLExporter.d.ts +1 -1
  38. package/exporters/USDZExporter.d.ts +2 -2
  39. package/geometries/BoxLineGeometry.d.ts +1 -1
  40. package/geometries/ConvexGeometry.d.ts +1 -1
  41. package/geometries/DecalGeometry.d.ts +1 -1
  42. package/geometries/LightningStrike.d.ts +1 -1
  43. package/geometries/ParametricGeometries.d.ts +3 -3
  44. package/geometries/ParametricGeometry.d.ts +2 -2
  45. package/geometries/RoundedBoxGeometry.d.ts +1 -1
  46. package/geometries/TeapotGeometry.d.ts +1 -1
  47. package/geometries/TextGeometry.d.ts +3 -3
  48. package/helpers/LightProbeHelper.d.ts +1 -1
  49. package/helpers/PositionalAudioHelper.d.ts +1 -1
  50. package/helpers/RaycasterHelper.d.ts +2 -2
  51. package/helpers/RectAreaLightHelper.d.ts +1 -1
  52. package/helpers/VertexNormalsHelper.d.ts +1 -1
  53. package/helpers/VertexTangentsHelper.d.ts +1 -1
  54. package/index.d.ts +262 -262
  55. package/interactive/HTMLMesh.d.ts +1 -1
  56. package/interactive/InteractiveGroup.d.ts +1 -1
  57. package/interactive/SelectionBox.d.ts +1 -1
  58. package/interactive/SelectionHelper.d.ts +2 -2
  59. package/libs/MeshoptDecoder.d.ts +1 -1
  60. package/libs/MotionControllers.d.ts +1 -1
  61. package/lights/LightProbeGenerator.d.ts +2 -2
  62. package/lights/RectAreaLightUniformsLib.d.ts +1 -1
  63. package/lines/Line2.d.ts +3 -3
  64. package/lines/LineGeometry.d.ts +2 -2
  65. package/lines/LineMaterial.d.ts +1 -1
  66. package/lines/LineSegments2.d.ts +3 -3
  67. package/lines/LineSegmentsGeometry.d.ts +1 -1
  68. package/lines/Wireframe.d.ts +3 -3
  69. package/lines/WireframeGeometry2.d.ts +2 -2
  70. package/loaders/3DMLoader.d.ts +1 -1
  71. package/loaders/3MFLoader.d.ts +1 -1
  72. package/loaders/AMFLoader.d.ts +1 -1
  73. package/loaders/AssimpLoader.d.ts +1 -1
  74. package/loaders/BVHLoader.d.ts +1 -1
  75. package/loaders/BasisTextureLoader.d.ts +1 -1
  76. package/loaders/ColladaLoader.d.ts +1 -1
  77. package/loaders/DDSLoader.d.ts +1 -1
  78. package/loaders/DRACOLoader.d.ts +1 -1
  79. package/loaders/EXRLoader.d.ts +1 -1
  80. package/loaders/FBXLoader.d.ts +1 -1
  81. package/loaders/FontLoader.d.ts +2 -2
  82. package/loaders/GCodeLoader.d.ts +1 -1
  83. package/loaders/GLTFLoader.d.ts +3 -3
  84. package/loaders/HDRCubeTextureLoader.d.ts +2 -2
  85. package/loaders/KMZLoader.d.ts +2 -2
  86. package/loaders/KTX2Loader.d.ts +1 -1
  87. package/loaders/KTXLoader.d.ts +1 -1
  88. package/loaders/LDrawLoader.d.ts +1 -1
  89. package/loaders/LUT3dlLoader.d.ts +1 -1
  90. package/loaders/LUTCubeLoader.d.ts +1 -1
  91. package/loaders/LWOLoader.d.ts +1 -1
  92. package/loaders/LottieLoader.d.ts +1 -1
  93. package/loaders/MD2Loader.d.ts +1 -1
  94. package/loaders/MDDLoader.d.ts +1 -1
  95. package/loaders/MMDLoader.d.ts +1 -1
  96. package/loaders/MTLLoader.d.ts +1 -1
  97. package/loaders/NRRDLoader.d.ts +2 -2
  98. package/loaders/OBJLoader.d.ts +2 -2
  99. package/loaders/PCDLoader.d.ts +1 -1
  100. package/loaders/PDBLoader.d.ts +1 -1
  101. package/loaders/PLYLoader.d.ts +1 -1
  102. package/loaders/PRWMLoader.d.ts +1 -1
  103. package/loaders/PVRLoader.d.ts +1 -1
  104. package/loaders/RGBELoader.d.ts +1 -1
  105. package/loaders/RGBMLoader.d.ts +1 -1
  106. package/loaders/STLLoader.d.ts +1 -1
  107. package/loaders/SVGLoader.d.ts +1 -1
  108. package/loaders/TDSLoader.d.ts +1 -1
  109. package/loaders/TGALoader.d.ts +1 -1
  110. package/loaders/TTFLoader.d.ts +1 -1
  111. package/loaders/TiltLoader.d.ts +1 -1
  112. package/loaders/VOXLoader.d.ts +1 -1
  113. package/loaders/VRMLLoader.d.ts +1 -1
  114. package/loaders/VRMLoader.d.ts +3 -3
  115. package/loaders/VTKLoader.d.ts +1 -1
  116. package/loaders/XLoader.d.ts +1 -1
  117. package/loaders/XYZLoader.d.ts +1 -1
  118. package/math/Capsule.d.ts +1 -1
  119. package/math/ColorConverter.d.ts +2 -2
  120. package/math/ConvexHull.d.ts +1 -1
  121. package/math/Lut.d.ts +1 -1
  122. package/math/MeshSurfaceSampler.d.ts +1 -1
  123. package/math/OBB.d.ts +1 -1
  124. package/math/Octree.d.ts +2 -2
  125. package/misc/ConvexObjectBreaker.d.ts +1 -1
  126. package/misc/GPUComputationRenderer.d.ts +1 -1
  127. package/misc/Gyroscope.d.ts +1 -1
  128. package/misc/MD2Character.d.ts +1 -1
  129. package/misc/MD2CharacterComplex.d.ts +1 -1
  130. package/misc/MorphAnimMesh.d.ts +1 -1
  131. package/misc/MorphBlendMesh.d.ts +1 -1
  132. package/misc/ProgressiveLightmap.d.ts +1 -1
  133. package/misc/RollerCoaster.d.ts +1 -1
  134. package/misc/Timer.d.ts +1 -1
  135. package/misc/TubePainter.d.ts +1 -1
  136. package/misc/Volume.d.ts +2 -2
  137. package/misc/VolumeSlice.d.ts +2 -2
  138. package/modifiers/CurveModifier.d.ts +1 -1
  139. package/modifiers/EdgeSplitModifier.d.ts +2 -2
  140. package/modifiers/SimplifyModifier.d.ts +2 -2
  141. package/modifiers/TessellateModifier.d.ts +2 -2
  142. package/objects/BatchedMesh.d.ts +2 -2
  143. package/objects/GroundProjectedEnv.d.ts +1 -1
  144. package/objects/Lensflare.d.ts +1 -1
  145. package/objects/LightningStorm.d.ts +2 -2
  146. package/objects/MarchingCubes.d.ts +1 -1
  147. package/objects/Reflector.d.ts +2 -2
  148. package/objects/ReflectorForSSRPass.d.ts +1 -1
  149. package/objects/ReflectorRTT.d.ts +3 -3
  150. package/objects/Refractor.d.ts +2 -2
  151. package/objects/ShadowMesh.d.ts +1 -1
  152. package/objects/Sky.d.ts +2 -2
  153. package/objects/Water.d.ts +1 -1
  154. package/objects/Water2.d.ts +2 -2
  155. package/package.json +5 -11
  156. package/physics/AmmoPhysics.d.ts +1 -1
  157. package/postprocessing/AdaptiveToneMappingPass.d.ts +2 -2
  158. package/postprocessing/AfterimagePass.d.ts +3 -3
  159. package/postprocessing/BloomPass.d.ts +4 -4
  160. package/postprocessing/BokehPass.d.ts +3 -3
  161. package/postprocessing/ClearPass.d.ts +3 -3
  162. package/postprocessing/CubeTexturePass.d.ts +2 -2
  163. package/postprocessing/DotScreenPass.d.ts +4 -4
  164. package/postprocessing/EffectComposer.d.ts +3 -3
  165. package/postprocessing/FilmPass.d.ts +4 -4
  166. package/postprocessing/GlitchPass.d.ts +4 -4
  167. package/postprocessing/HalftonePass.d.ts +3 -3
  168. package/postprocessing/LUTPass.d.ts +2 -2
  169. package/postprocessing/MaskPass.d.ts +3 -3
  170. package/postprocessing/OutlinePass.d.ts +3 -3
  171. package/postprocessing/Pass.d.ts +2 -2
  172. package/postprocessing/RenderPass.d.ts +3 -3
  173. package/postprocessing/RenderPixelatedPass.d.ts +2 -2
  174. package/postprocessing/SAOPass.d.ts +2 -2
  175. package/postprocessing/SMAAPass.d.ts +2 -2
  176. package/postprocessing/SSAARenderPass.d.ts +2 -2
  177. package/postprocessing/SSAOPass.d.ts +2 -2
  178. package/postprocessing/SSRPass.d.ts +3 -3
  179. package/postprocessing/SavePass.d.ts +2 -2
  180. package/postprocessing/ShaderPass.d.ts +4 -4
  181. package/postprocessing/TAARenderPass.d.ts +2 -2
  182. package/postprocessing/TexturePass.d.ts +2 -2
  183. package/postprocessing/UnrealBloomPass.d.ts +2 -2
  184. package/postprocessing/WaterPass.d.ts +3 -3
  185. package/renderers/CSS2DRenderer.d.ts +1 -1
  186. package/renderers/CSS3DRenderer.d.ts +1 -1
  187. package/renderers/Projector.d.ts +1 -1
  188. package/renderers/SVGRenderer.d.ts +1 -1
  189. package/shaders/ACESFilmicToneMappingShader.cjs +35 -35
  190. package/shaders/ACESFilmicToneMappingShader.cjs.map +1 -1
  191. package/shaders/ACESFilmicToneMappingShader.d.ts +1 -1
  192. package/shaders/ACESFilmicToneMappingShader.js +35 -35
  193. package/shaders/ACESFilmicToneMappingShader.js.map +1 -1
  194. package/shaders/AfterimageShader.d.ts +1 -1
  195. package/shaders/BasicShader.d.ts +1 -1
  196. package/shaders/BleachBypassShader.d.ts +1 -1
  197. package/shaders/BokehShader.d.ts +1 -1
  198. package/shaders/BokehShader2.d.ts +1 -1
  199. package/shaders/ColorCorrectionShader.d.ts +1 -1
  200. package/shaders/ColorifyShader.d.ts +1 -1
  201. package/shaders/ConvolutionShader.d.ts +2 -2
  202. package/shaders/CopyShader.d.ts +1 -1
  203. package/shaders/DepthLimitedBlurShader.d.ts +2 -2
  204. package/shaders/DotScreenShader.d.ts +1 -1
  205. package/shaders/FXAAShader.cjs +4 -4
  206. package/shaders/FXAAShader.cjs.map +1 -1
  207. package/shaders/FXAAShader.d.ts +1 -1
  208. package/shaders/FXAAShader.js +4 -4
  209. package/shaders/FXAAShader.js.map +1 -1
  210. package/shaders/FreiChenShader.d.ts +1 -1
  211. package/shaders/GammaCorrectionShader.d.ts +1 -1
  212. package/shaders/GodRaysShader.cjs +4 -4
  213. package/shaders/GodRaysShader.cjs.map +1 -1
  214. package/shaders/GodRaysShader.d.ts +1 -1
  215. package/shaders/GodRaysShader.js +4 -4
  216. package/shaders/GodRaysShader.js.map +1 -1
  217. package/shaders/HorizontalBlurShader.d.ts +1 -1
  218. package/shaders/LuminosityHighPassShader.d.ts +1 -1
  219. package/shaders/NormalMapShader.d.ts +1 -1
  220. package/shaders/ParallaxShader.cjs +1 -1
  221. package/shaders/ParallaxShader.cjs.map +1 -1
  222. package/shaders/ParallaxShader.js +1 -1
  223. package/shaders/ParallaxShader.js.map +1 -1
  224. package/shaders/SAOShader.d.ts +2 -2
  225. package/shaders/SMAAShader.d.ts +1 -1
  226. package/shaders/SSAOShader.d.ts +1 -1
  227. package/shaders/SSRShader.d.ts +1 -1
  228. package/shaders/SobelOperatorShader.d.ts +1 -1
  229. package/shaders/ToonShader.d.ts +1 -1
  230. package/shaders/TriangleBlurShader.d.ts +1 -1
  231. package/shaders/VerticalBlurShader.d.ts +1 -1
  232. package/shaders/VignetteShader.cjs +4 -4
  233. package/shaders/VignetteShader.cjs.map +1 -1
  234. package/shaders/VignetteShader.js +4 -4
  235. package/shaders/VignetteShader.js.map +1 -1
  236. package/shaders/VolumeShader.d.ts +1 -1
  237. package/textures/FlakesTexture.d.ts +1 -1
  238. package/types/shared.d.ts +1 -1
  239. package/utils/BufferGeometryUtils.d.ts +1 -1
  240. package/utils/GeometryCompressionUtils.d.ts +2 -2
  241. package/utils/GeometryUtils.d.ts +1 -1
  242. package/utils/LDrawUtils.d.ts +2 -2
  243. package/utils/RoughnessMipmapper.d.ts +1 -1
  244. package/utils/SceneUtils.d.ts +2 -2
  245. package/utils/ShadowMapViewer.d.ts +1 -1
  246. package/utils/SkeletonUtils.d.ts +2 -2
  247. package/utils/UVsDebug.d.ts +1 -1
  248. package/webxr/ARButton.d.ts +2 -2
  249. package/webxr/OculusHandModel.d.ts +3 -3
  250. package/webxr/OculusHandPointerModel.d.ts +1 -1
  251. package/webxr/Text2D.d.ts +1 -1
  252. package/webxr/VRButton.d.ts +2 -2
  253. package/webxr/XRControllerModelFactory.d.ts +4 -4
  254. package/webxr/XREstimatedLight.d.ts +1 -1
  255. package/webxr/XRHandMeshModel.d.ts +2 -2
  256. package/webxr/XRHandModelFactory.d.ts +3 -3
  257. package/webxr/XRHandPrimitiveModel.d.ts +2 -2
  258. package/_polyfill/constants.d.cts +0 -1
  259. package/_polyfill/uv1.d.cts +0 -5
  260. package/animation/AnimationClipCreator.d.cts +0 -12
  261. package/animation/CCDIKSolver.d.cts +0 -30
  262. package/animation/MMDAnimationHelper.d.cts +0 -93
  263. package/animation/MMDPhysics.d.cts +0 -119
  264. package/cameras/CinematicCamera.d.cts +0 -34
  265. package/controls/ArcballControls.d.cts +0 -376
  266. package/controls/DeviceOrientationControls.d.cts +0 -29
  267. package/controls/DragControls.d.cts +0 -67
  268. package/controls/EventDispatcher.d.cts +0 -41
  269. package/controls/FirstPersonControls.d.cts +0 -49
  270. package/controls/FlyControls.d.cts +0 -39
  271. package/controls/OrbitControls.d.cts +0 -74
  272. package/controls/PointerLockControls.d.cts +0 -39
  273. package/controls/StandardControlsEventMap.d.cts +0 -14
  274. package/controls/TrackballControls.d.cts +0 -97
  275. package/controls/TransformControls.d.cts +0 -151
  276. package/controls/experimental/CameraControls.d.cts +0 -213
  277. package/csm/CSM.d.cts +0 -61
  278. package/csm/CSMFrustum.d.cts +0 -19
  279. package/csm/CSMHelper.d.cts +0 -26
  280. package/csm/CSMShader.d.cts +0 -4
  281. package/curves/CurveExtras.d.cts +0 -68
  282. package/curves/NURBSCurve.d.cts +0 -11
  283. package/curves/NURBSSurface.d.cts +0 -13
  284. package/curves/NURBSUtils.d.cts +0 -20
  285. package/deprecated/Geometry.d.cts +0 -341
  286. package/effects/AnaglyphEffect.d.cts +0 -11
  287. package/effects/AsciiEffect.d.cts +0 -18
  288. package/effects/OutlineEffect.d.cts +0 -28
  289. package/effects/ParallaxBarrierEffect.d.cts +0 -8
  290. package/effects/PeppersGhostEffect.d.cts +0 -10
  291. package/effects/StereoEffect.d.cts +0 -9
  292. package/environments/RoomEnvironment.d.cts +0 -6
  293. package/exporters/ColladaExporter.d.cts +0 -50
  294. package/exporters/DRACOExporter.d.cts +0 -36
  295. package/exporters/GLTFExporter.d.cts +0 -114
  296. package/exporters/MMDExporter.d.cts +0 -12
  297. package/exporters/OBJExporter.d.cts +0 -18
  298. package/exporters/PLYExporter.d.cts +0 -23
  299. package/exporters/STLExporter.d.cts +0 -28
  300. package/exporters/USDZExporter.d.cts +0 -27
  301. package/geometries/BoxLineGeometry.d.cts +0 -12
  302. package/geometries/ConvexGeometry.d.cts +0 -5
  303. package/geometries/DecalGeometry.d.cts +0 -10
  304. package/geometries/LightningStrike.d.cts +0 -108
  305. package/geometries/ParametricGeometries.d.cts +0 -26
  306. package/geometries/ParametricGeometry.d.cts +0 -18
  307. package/geometries/RoundedBoxGeometry.d.cts +0 -5
  308. package/geometries/TeapotGeometry.d.cts +0 -13
  309. package/geometries/TextGeometry.d.cts +0 -18
  310. package/helpers/LightProbeHelper.d.cts +0 -10
  311. package/helpers/PositionalAudioHelper.d.cts +0 -13
  312. package/helpers/RaycasterHelper.d.cts +0 -33
  313. package/helpers/RectAreaLightHelper.d.cts +0 -11
  314. package/helpers/VertexNormalsHelper.d.cts +0 -13
  315. package/helpers/VertexTangentsHelper.d.cts +0 -13
  316. package/index.d.cts +0 -262
  317. package/interactive/HTMLMesh.d.cts +0 -6
  318. package/interactive/InteractiveGroup.d.cts +0 -5
  319. package/interactive/SelectionBox.d.cts +0 -15
  320. package/interactive/SelectionHelper.d.cts +0 -17
  321. package/libs/MeshoptDecoder.d.cts +0 -12
  322. package/libs/MotionControllers.d.cts +0 -176
  323. package/libs/zstddec.d.cts +0 -8
  324. package/lights/LightProbeGenerator.d.cts +0 -6
  325. package/lights/RectAreaLightUniformsLib.d.cts +0 -3
  326. package/lines/Line2.d.cts +0 -11
  327. package/lines/LineGeometry.d.cts +0 -10
  328. package/lines/LineMaterial.d.cts +0 -31
  329. package/lines/LineSegments2.d.cts +0 -14
  330. package/lines/LineSegmentsGeometry.d.cts +0 -16
  331. package/lines/Wireframe.d.cts +0 -11
  332. package/lines/WireframeGeometry2.d.cts +0 -8
  333. package/loaders/3DMLoader.d.cts +0 -17
  334. package/loaders/3MFLoader.d.cts +0 -16
  335. package/loaders/AMFLoader.d.cts +0 -14
  336. package/loaders/AssimpLoader.d.cts +0 -19
  337. package/loaders/BVHLoader.d.cts +0 -21
  338. package/loaders/BasisTextureLoader.d.cts +0 -32
  339. package/loaders/ColladaLoader.d.cts +0 -20
  340. package/loaders/DDSLoader.d.cts +0 -16
  341. package/loaders/DRACOLoader.d.cts +0 -18
  342. package/loaders/EXRLoader.d.cts +0 -18
  343. package/loaders/FBXLoader.d.cts +0 -14
  344. package/loaders/FontLoader.d.cts +0 -37
  345. package/loaders/GCodeLoader.d.cts +0 -15
  346. package/loaders/GLTFLoader.d.cts +0 -155
  347. package/loaders/HDRCubeTextureLoader.d.cts +0 -18
  348. package/loaders/KMZLoader.d.cts +0 -16
  349. package/loaders/KTX2Loader.d.cts +0 -10
  350. package/loaders/KTXLoader.d.cts +0 -16
  351. package/loaders/LDrawLoader.d.cts +0 -26
  352. package/loaders/LUT3dlLoader.d.cts +0 -20
  353. package/loaders/LUTCubeLoader.d.cts +0 -23
  354. package/loaders/LWOLoader.d.cts +0 -26
  355. package/loaders/LottieLoader.d.cts +0 -15
  356. package/loaders/MD2Loader.d.cts +0 -14
  357. package/loaders/MDDLoader.d.cts +0 -19
  358. package/loaders/MMDLoader.d.cts +0 -63
  359. package/loaders/MTLLoader.d.cts +0 -100
  360. package/loaders/NRRDLoader.d.cts +0 -22
  361. package/loaders/OBJLoader.d.cts +0 -17
  362. package/loaders/PCDLoader.d.cts +0 -15
  363. package/loaders/PDBLoader.d.cts +0 -22
  364. package/loaders/PLYLoader.d.cts +0 -16
  365. package/loaders/PRWMLoader.d.cts +0 -16
  366. package/loaders/PVRLoader.d.cts +0 -16
  367. package/loaders/RGBELoader.d.cts +0 -20
  368. package/loaders/RGBMLoader.d.cts +0 -32
  369. package/loaders/STLLoader.d.cts +0 -14
  370. package/loaders/SVGLoader.d.cts +0 -63
  371. package/loaders/TDSLoader.d.cts +0 -42
  372. package/loaders/TGALoader.d.cts +0 -14
  373. package/loaders/TTFLoader.d.cts +0 -15
  374. package/loaders/TiltLoader.d.cts +0 -14
  375. package/loaders/VOXLoader.d.cts +0 -29
  376. package/loaders/VRMLLoader.d.cts +0 -14
  377. package/loaders/VRMLoader.d.cts +0 -19
  378. package/loaders/VTKLoader.d.cts +0 -14
  379. package/loaders/XLoader.d.cts +0 -19
  380. package/loaders/XYZLoader.d.cts +0 -14
  381. package/math/Capsule.d.cts +0 -27
  382. package/math/ColorConverter.d.cts +0 -21
  383. package/math/ConvexHull.d.cts +0 -89
  384. package/math/ImprovedNoise.d.cts +0 -4
  385. package/math/Lut.d.cts +0 -27
  386. package/math/MeshSurfaceSampler.d.cts +0 -18
  387. package/math/OBB.d.cts +0 -24
  388. package/math/Octree.d.cts +0 -24
  389. package/math/SimplexNoise.d.cts +0 -21
  390. package/misc/ConvexObjectBreaker.d.cts +0 -25
  391. package/misc/GPUComputationRenderer.d.cts +0 -53
  392. package/misc/Gyroscope.d.cts +0 -5
  393. package/misc/MD2Character.d.cts +0 -33
  394. package/misc/MD2CharacterComplex.d.cts +0 -47
  395. package/misc/MorphAnimMesh.d.cts +0 -13
  396. package/misc/MorphBlendMesh.d.cts +0 -21
  397. package/misc/ProgressiveLightmap.d.cts +0 -60
  398. package/misc/RollerCoaster.d.cts +0 -21
  399. package/misc/Timer.d.cts +0 -27
  400. package/misc/TubePainter.d.cts +0 -10
  401. package/misc/Volume.d.cts +0 -37
  402. package/misc/VolumeSlice.d.cts +0 -28
  403. package/misc/WebGL.d.cts +0 -5
  404. package/modifiers/CurveModifier.d.cts +0 -91
  405. package/modifiers/EdgeSplitModifier.d.cts +0 -19
  406. package/modifiers/SimplifyModifier.d.cts +0 -19
  407. package/modifiers/TessellateModifier.d.cts +0 -11
  408. package/objects/BatchedMesh.d.cts +0 -48
  409. package/objects/GroundProjectedEnv.d.cts +0 -12
  410. package/objects/Lensflare.d.cts +0 -17
  411. package/objects/LightningStorm.d.cts +0 -32
  412. package/objects/MarchingCubes.d.cts +0 -76
  413. package/objects/Reflector.d.cts +0 -23
  414. package/objects/ReflectorForSSRPass.d.cts +0 -48
  415. package/objects/ReflectorRTT.d.cts +0 -6
  416. package/objects/Refractor.d.cts +0 -23
  417. package/objects/ShadowMesh.d.cts +0 -10
  418. package/objects/Sky.d.cts +0 -18
  419. package/objects/Water.d.cts +0 -22
  420. package/objects/Water2.d.cts +0 -23
  421. package/physics/AmmoPhysics.d.cts +0 -7
  422. package/postprocessing/AdaptiveToneMappingPass.d.cts +0 -29
  423. package/postprocessing/AfterimagePass.d.cts +0 -15
  424. package/postprocessing/BloomPass.d.cts +0 -29
  425. package/postprocessing/BokehPass.d.cts +0 -26
  426. package/postprocessing/ClearPass.d.cts +0 -10
  427. package/postprocessing/CubeTexturePass.d.cts +0 -14
  428. package/postprocessing/DotScreenPass.d.cts +0 -11
  429. package/postprocessing/EffectComposer.d.cts +0 -28
  430. package/postprocessing/FilmPass.d.cts +0 -11
  431. package/postprocessing/GlitchPass.d.cts +0 -16
  432. package/postprocessing/HalftonePass.d.cts +0 -26
  433. package/postprocessing/LUTPass.d.cts +0 -13
  434. package/postprocessing/MaskPass.d.cts +0 -14
  435. package/postprocessing/OutlinePass.d.cts +0 -53
  436. package/postprocessing/Pass.d.cts +0 -21
  437. package/postprocessing/RenderPass.d.cts +0 -14
  438. package/postprocessing/RenderPixelatedPass.d.cts +0 -34
  439. package/postprocessing/SAOPass.d.cts +0 -78
  440. package/postprocessing/SMAAPass.d.cts +0 -21
  441. package/postprocessing/SSAARenderPass.d.cts +0 -17
  442. package/postprocessing/SSAOPass.d.cts +0 -70
  443. package/postprocessing/SSRPass.d.cts +0 -123
  444. package/postprocessing/SavePass.d.cts +0 -12
  445. package/postprocessing/ShaderPass.d.cts +0 -13
  446. package/postprocessing/TAARenderPass.d.cts +0 -8
  447. package/postprocessing/TexturePass.d.cts +0 -12
  448. package/postprocessing/UnrealBloomPass.d.cts +0 -31
  449. package/postprocessing/WaterPass.d.cts +0 -35
  450. package/renderers/CSS2DRenderer.d.cts +0 -23
  451. package/renderers/CSS3DRenderer.d.cts +0 -26
  452. package/renderers/Projector.d.cts +0 -60
  453. package/renderers/SVGRenderer.d.cts +0 -25
  454. package/shaders/ACESFilmicToneMappingShader.d.cts +0 -16
  455. package/shaders/AfterimageShader.d.cts +0 -15
  456. package/shaders/BasicShader.d.cts +0 -8
  457. package/shaders/BleachBypassShader.d.cts +0 -14
  458. package/shaders/BlendShader.d.cts +0 -21
  459. package/shaders/BokehShader.d.cts +0 -24
  460. package/shaders/BokehShader2.d.cts +0 -50
  461. package/shaders/BrightnessContrastShader.d.cts +0 -21
  462. package/shaders/ColorCorrectionShader.d.cts +0 -22
  463. package/shaders/ColorifyShader.d.cts +0 -16
  464. package/shaders/ConvolutionShader.d.cts +0 -21
  465. package/shaders/CopyShader.d.cts +0 -12
  466. package/shaders/DOFMipMapShader.d.cts +0 -23
  467. package/shaders/DepthLimitedBlurShader.d.cts +0 -28
  468. package/shaders/DigitalGlitch.d.cts +0 -39
  469. package/shaders/DotScreenShader.d.cts +0 -27
  470. package/shaders/FXAAShader.d.cts +0 -19
  471. package/shaders/FilmShader.d.cts +0 -43
  472. package/shaders/FocusShader.d.cts +0 -26
  473. package/shaders/FreiChenShader.d.cts +0 -19
  474. package/shaders/FresnelShader.d.cts +0 -24
  475. package/shaders/GammaCorrectionShader.d.cts +0 -12
  476. package/shaders/GodRaysShader.d.cts +0 -97
  477. package/shaders/HalftoneShader.d.cts +0 -51
  478. package/shaders/HorizontalBlurShader.d.cts +0 -18
  479. package/shaders/HorizontalTiltShiftShader.d.cts +0 -23
  480. package/shaders/HueSaturationShader.d.cts +0 -21
  481. package/shaders/KaleidoShader.d.cts +0 -24
  482. package/shaders/LuminosityHighPassShader.d.cts +0 -27
  483. package/shaders/LuminosityShader.d.cts +0 -13
  484. package/shaders/MirrorShader.d.cts +0 -18
  485. package/shaders/NormalMapShader.d.cts +0 -23
  486. package/shaders/ParallaxShader.d.cts +0 -28
  487. package/shaders/PixelShader.d.cts +0 -18
  488. package/shaders/RGBShiftShader.d.cts +0 -24
  489. package/shaders/SAOShader.d.cts +0 -25
  490. package/shaders/SMAAShader.d.cts +0 -60
  491. package/shaders/SSAOShader.d.cts +0 -86
  492. package/shaders/SSRShader.d.cts +0 -94
  493. package/shaders/SepiaShader.d.cts +0 -17
  494. package/shaders/SobelOperatorShader.d.cts +0 -19
  495. package/shaders/SubsurfaceScatteringShader.d.cts +0 -5
  496. package/shaders/TechnicolorShader.d.cts +0 -15
  497. package/shaders/ToneMapShader.d.cts +0 -27
  498. package/shaders/ToonShader.d.cts +0 -108
  499. package/shaders/TriangleBlurShader.d.cts +0 -22
  500. package/shaders/UnpackDepthRGBAShader.d.cts +0 -16
  501. package/shaders/VerticalBlurShader.d.cts +0 -18
  502. package/shaders/VerticalTiltShiftShader.d.cts +0 -23
  503. package/shaders/VignetteShader.d.cts +0 -20
  504. package/shaders/VolumeShader.d.cts +0 -30
  505. package/shaders/WaterRefractionShader.d.cts +0 -21
  506. package/shaders/types.d.cts +0 -13
  507. package/textures/FlakesTexture.d.cts +0 -4
  508. package/types/helpers.d.cts +0 -1
  509. package/types/shared.d.cts +0 -9
  510. package/types/utils.d.cts +0 -3
  511. package/utils/BufferGeometryUtils.d.cts +0 -63
  512. package/utils/GeometryCompressionUtils.d.cts +0 -7
  513. package/utils/GeometryUtils.d.cts +0 -6
  514. package/utils/LDrawUtils.d.cts +0 -5
  515. package/utils/RoughnessMipmapper.d.cts +0 -8
  516. package/utils/SceneUtils.d.cts +0 -9
  517. package/utils/ShadowMapViewer.d.cts +0 -24
  518. package/utils/SkeletonUtils.d.cts +0 -14
  519. package/utils/UVsDebug.d.cts +0 -3
  520. package/webxr/ARButton.d.cts +0 -6
  521. package/webxr/OculusHandModel.d.cts +0 -23
  522. package/webxr/OculusHandPointerModel.d.cts +0 -65
  523. package/webxr/Text2D.d.cts +0 -3
  524. package/webxr/VRButton.d.cts +0 -11
  525. package/webxr/XRControllerModelFactory.d.cts +0 -23
  526. package/webxr/XREstimatedLight.d.cts +0 -33
  527. package/webxr/XRHandMeshModel.d.cts +0 -9
  528. package/webxr/XRHandModelFactory.d.cts +0 -25
  529. package/webxr/XRHandPrimitiveModel.d.cts +0 -24
@@ -8,72 +8,72 @@ const ACESFilmicToneMappingShader = {
8
8
  vertexShader: (
9
9
  /* glsl */
10
10
  `
11
- varying vec2 vUv;,
11
+ varying vec2 vUv;
12
12
 
13
- void main() {,
13
+ void main() {
14
14
 
15
- vUv = uv;,
16
- gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );,
15
+ vUv = uv;
16
+ gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
17
17
 
18
- },
18
+ }
19
19
  `
20
20
  ),
21
21
  fragmentShader: (
22
22
  /* glsl */
23
23
  `
24
- #define saturate(a) clamp( a, 0.0, 1.0 ),
24
+ #define saturate(a) clamp( a, 0.0, 1.0 )
25
25
 
26
- uniform sampler2D tDiffuse;,
26
+ uniform sampler2D tDiffuse;
27
27
 
28
- uniform float exposure;,
28
+ uniform float exposure;
29
29
 
30
- varying vec2 vUv;,
30
+ varying vec2 vUv;
31
31
 
32
- vec3 RRTAndODTFit( vec3 v ) {,
32
+ vec3 RRTAndODTFit( vec3 v ) {
33
33
 
34
- vec3 a = v * ( v + 0.0245786 ) - 0.000090537;,
35
- vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;,
36
- return a / b;,
34
+ vec3 a = v * ( v + 0.0245786 ) - 0.000090537;
35
+ vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;
36
+ return a / b;
37
37
 
38
- },
38
+ }
39
39
 
40
- vec3 ACESFilmicToneMapping( vec3 color ) {,
40
+ vec3 ACESFilmicToneMapping( vec3 color ) {
41
41
 
42
42
  // sRGB => XYZ => D65_2_D60 => AP1 => RRT_SAT
43
- const mat3 ACESInputMat = mat3(,
44
- vec3( 0.59719, 0.07600, 0.02840 ),, // transposed from source
45
- vec3( 0.35458, 0.90834, 0.13383 ),,
46
- vec3( 0.04823, 0.01566, 0.83777 ),
47
- );,
43
+ const mat3 ACESInputMat = mat3(
44
+ vec3( 0.59719, 0.07600, 0.02840 ), // transposed from source
45
+ vec3( 0.35458, 0.90834, 0.13383 ),
46
+ vec3( 0.04823, 0.01566, 0.83777 )
47
+ );
48
48
 
49
49
  // ODT_SAT => XYZ => D60_2_D65 => sRGB
50
- const mat3 ACESOutputMat = mat3(,
51
- vec3( 1.60475, -0.10208, -0.00327 ),, // transposed from source
52
- vec3( -0.53108, 1.10813, -0.07276 ),,
53
- vec3( -0.07367, -0.00605, 1.07602 ),
54
- );,
50
+ const mat3 ACESOutputMat = mat3(
51
+ vec3( 1.60475, -0.10208, -0.00327 ), // transposed from source
52
+ vec3( -0.53108, 1.10813, -0.07276 ),
53
+ vec3( -0.07367, -0.00605, 1.07602 )
54
+ );
55
55
 
56
- color = ACESInputMat * color;,
56
+ color = ACESInputMat * color;
57
57
 
58
58
  // Apply RRT and ODT
59
- color = RRTAndODTFit( color );,
59
+ color = RRTAndODTFit( color );
60
60
 
61
- color = ACESOutputMat * color;,
61
+ color = ACESOutputMat * color;
62
62
 
63
63
  // Clamp to [0, 1]
64
- return saturate( color );,
64
+ return saturate( color );
65
65
 
66
- },
66
+ }
67
67
 
68
- void main() {,
68
+ void main() {
69
69
 
70
- vec4 tex = texture2D( tDiffuse, vUv );,
70
+ vec4 tex = texture2D( tDiffuse, vUv );
71
71
 
72
- tex.rgb *= exposure / 0.6;, // pre-exposed, outside of the tone mapping function
72
+ tex.rgb *= exposure / 0.6; // pre-exposed, outside of the tone mapping function
73
73
 
74
- gl_FragColor = vec4( ACESFilmicToneMapping( tex.rgb ), tex.a );,
74
+ gl_FragColor = vec4( ACESFilmicToneMapping( tex.rgb ), tex.a );
75
75
 
76
- },
76
+ }
77
77
  `
78
78
  )
79
79
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ACESFilmicToneMappingShader.cjs","sources":["../../src/shaders/ACESFilmicToneMappingShader.ts"],"sourcesContent":["/**\n * ACES Filmic Tone Mapping Shader by Stephen Hill\n * source: https://github.com/selfshadow/ltc_code/blob/master/webgl/shaders/ltc/ltc_blit.fs\n *\n * this implementation of ACES is modified to accommodate a brighter viewing environment.\n * the scale factor of 1/0.6 is subjective. see discussion in #19621.\n */\n\nimport type { IUniform, Texture } from 'three'\nimport type { IShader } from './types'\n\nexport type ACESFilmicToneMappingShaderUniforms = {\n exposure: IUniform<number>\n tDiffuse: IUniform<Texture | null>\n}\n\nexport interface IACESFilmicToneMappingShader extends IShader<ACESFilmicToneMappingShaderUniforms> {}\n\nexport const ACESFilmicToneMappingShader: IACESFilmicToneMappingShader = {\n uniforms: {\n tDiffuse: { value: null },\n exposure: { value: 1.0 },\n },\n\n vertexShader: /* glsl */ `\n varying vec2 vUv;,\n\n void main() {,\n\n \tvUv = uv;,\n \tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );,\n\n },\n `,\n fragmentShader: /* glsl */ `\n #define saturate(a) clamp( a, 0.0, 1.0 ),\n\n uniform sampler2D tDiffuse;,\n\n uniform float exposure;,\n\n varying vec2 vUv;,\n\n vec3 RRTAndODTFit( vec3 v ) {,\n\n \tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;,\n \tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;,\n \treturn a / b;,\n\n },\n\n vec3 ACESFilmicToneMapping( vec3 color ) {,\n\n // sRGB => XYZ => D65_2_D60 => AP1 => RRT_SAT\n \tconst mat3 ACESInputMat = mat3(,\n \t\tvec3( 0.59719, 0.07600, 0.02840 ),, // transposed from source\n \t\tvec3( 0.35458, 0.90834, 0.13383 ),,\n \t\tvec3( 0.04823, 0.01566, 0.83777 ),\n \t);,\n\n // ODT_SAT => XYZ => D60_2_D65 => sRGB\n \tconst mat3 ACESOutputMat = mat3(,\n \t\tvec3( 1.60475, -0.10208, -0.00327 ),, // transposed from source\n \t\tvec3( -0.53108, 1.10813, -0.07276 ),,\n \t\tvec3( -0.07367, -0.00605, 1.07602 ),\n \t);,\n\n \tcolor = ACESInputMat * color;,\n\n // Apply RRT and ODT\n \tcolor = RRTAndODTFit( color );,\n\n \tcolor = ACESOutputMat * color;,\n\n // Clamp to [0, 1]\n \treturn saturate( color );,\n\n },\n\n void main() {,\n\n \tvec4 tex = texture2D( tDiffuse, vUv );,\n\n \ttex.rgb *= exposure / 0.6;, // pre-exposed, outside of the tone mapping function\n\n \tgl_FragColor = vec4( ACESFilmicToneMapping( tex.rgb ), tex.a );,\n\n },\n `,\n}\n"],"names":[],"mappings":";;AAkBO,MAAM,8BAA4D;AAAA,EACvE,UAAU;AAAA,IACR,UAAU,EAAE,OAAO,KAAK;AAAA,IACxB,UAAU,EAAE,OAAO,EAAI;AAAA,EACzB;AAAA,EAEA;AAAA;AAAA,IAAyB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUzB;AAAA;AAAA,IAA2B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAuD7B;;"}
1
+ {"version":3,"file":"ACESFilmicToneMappingShader.cjs","sources":["../../src/shaders/ACESFilmicToneMappingShader.ts"],"sourcesContent":["/**\n * ACES Filmic Tone Mapping Shader by Stephen Hill\n * source: https://github.com/selfshadow/ltc_code/blob/master/webgl/shaders/ltc/ltc_blit.fs\n *\n * this implementation of ACES is modified to accommodate a brighter viewing environment.\n * the scale factor of 1/0.6 is subjective. see discussion in #19621.\n */\n\nimport type { IUniform, Texture } from 'three'\nimport type { IShader } from './types'\n\nexport type ACESFilmicToneMappingShaderUniforms = {\n exposure: IUniform<number>\n tDiffuse: IUniform<Texture | null>\n}\n\nexport interface IACESFilmicToneMappingShader extends IShader<ACESFilmicToneMappingShaderUniforms> {}\n\nexport const ACESFilmicToneMappingShader: IACESFilmicToneMappingShader = {\n uniforms: {\n tDiffuse: { value: null },\n exposure: { value: 1.0 },\n },\n\n vertexShader: /* glsl */ `\n varying vec2 vUv;\n\n void main() {\n\n \tvUv = uv;\n \tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n }\n `,\n fragmentShader: /* glsl */ `\n #define saturate(a) clamp( a, 0.0, 1.0 )\n\n uniform sampler2D tDiffuse;\n\n uniform float exposure;\n\n varying vec2 vUv;\n\n vec3 RRTAndODTFit( vec3 v ) {\n\n \tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n \tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n \treturn a / b;\n\n }\n\n vec3 ACESFilmicToneMapping( vec3 color ) {\n\n // sRGB => XYZ => D65_2_D60 => AP1 => RRT_SAT\n \tconst mat3 ACESInputMat = mat3(\n \t\tvec3( 0.59719, 0.07600, 0.02840 ), // transposed from source\n \t\tvec3( 0.35458, 0.90834, 0.13383 ),\n \t\tvec3( 0.04823, 0.01566, 0.83777 )\n \t);\n\n // ODT_SAT => XYZ => D60_2_D65 => sRGB\n \tconst mat3 ACESOutputMat = mat3(\n \t\tvec3( 1.60475, -0.10208, -0.00327 ), // transposed from source\n \t\tvec3( -0.53108, 1.10813, -0.07276 ),\n \t\tvec3( -0.07367, -0.00605, 1.07602 )\n \t);\n\n \tcolor = ACESInputMat * color;\n\n // Apply RRT and ODT\n \tcolor = RRTAndODTFit( color );\n\n \tcolor = ACESOutputMat * color;\n\n // Clamp to [0, 1]\n \treturn saturate( color );\n\n }\n\n void main() {\n\n \tvec4 tex = texture2D( tDiffuse, vUv );\n\n \ttex.rgb *= exposure / 0.6; // pre-exposed, outside of the tone mapping function\n\n \tgl_FragColor = vec4( ACESFilmicToneMapping( tex.rgb ), tex.a );\n\n }\n `,\n}\n"],"names":[],"mappings":";;AAkBO,MAAM,8BAA4D;AAAA,EACvE,UAAU;AAAA,IACR,UAAU,EAAE,OAAO,KAAK;AAAA,IACxB,UAAU,EAAE,OAAO,EAAI;AAAA,EACzB;AAAA,EAEA;AAAA;AAAA,IAAyB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUzB;AAAA;AAAA,IAA2B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAuD7B;;"}
@@ -6,7 +6,7 @@
6
6
  * the scale factor of 1/0.6 is subjective. see discussion in #19621.
7
7
  */
8
8
  import type { IUniform, Texture } from 'three';
9
- import type { IShader } from './types.d.ts';
9
+ import type { IShader } from './types';
10
10
  export type ACESFilmicToneMappingShaderUniforms = {
11
11
  exposure: IUniform<number>;
12
12
  tDiffuse: IUniform<Texture | null>;
@@ -6,72 +6,72 @@ const ACESFilmicToneMappingShader = {
6
6
  vertexShader: (
7
7
  /* glsl */
8
8
  `
9
- varying vec2 vUv;,
9
+ varying vec2 vUv;
10
10
 
11
- void main() {,
11
+ void main() {
12
12
 
13
- vUv = uv;,
14
- gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );,
13
+ vUv = uv;
14
+ gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
15
15
 
16
- },
16
+ }
17
17
  `
18
18
  ),
19
19
  fragmentShader: (
20
20
  /* glsl */
21
21
  `
22
- #define saturate(a) clamp( a, 0.0, 1.0 ),
22
+ #define saturate(a) clamp( a, 0.0, 1.0 )
23
23
 
24
- uniform sampler2D tDiffuse;,
24
+ uniform sampler2D tDiffuse;
25
25
 
26
- uniform float exposure;,
26
+ uniform float exposure;
27
27
 
28
- varying vec2 vUv;,
28
+ varying vec2 vUv;
29
29
 
30
- vec3 RRTAndODTFit( vec3 v ) {,
30
+ vec3 RRTAndODTFit( vec3 v ) {
31
31
 
32
- vec3 a = v * ( v + 0.0245786 ) - 0.000090537;,
33
- vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;,
34
- return a / b;,
32
+ vec3 a = v * ( v + 0.0245786 ) - 0.000090537;
33
+ vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;
34
+ return a / b;
35
35
 
36
- },
36
+ }
37
37
 
38
- vec3 ACESFilmicToneMapping( vec3 color ) {,
38
+ vec3 ACESFilmicToneMapping( vec3 color ) {
39
39
 
40
40
  // sRGB => XYZ => D65_2_D60 => AP1 => RRT_SAT
41
- const mat3 ACESInputMat = mat3(,
42
- vec3( 0.59719, 0.07600, 0.02840 ),, // transposed from source
43
- vec3( 0.35458, 0.90834, 0.13383 ),,
44
- vec3( 0.04823, 0.01566, 0.83777 ),
45
- );,
41
+ const mat3 ACESInputMat = mat3(
42
+ vec3( 0.59719, 0.07600, 0.02840 ), // transposed from source
43
+ vec3( 0.35458, 0.90834, 0.13383 ),
44
+ vec3( 0.04823, 0.01566, 0.83777 )
45
+ );
46
46
 
47
47
  // ODT_SAT => XYZ => D60_2_D65 => sRGB
48
- const mat3 ACESOutputMat = mat3(,
49
- vec3( 1.60475, -0.10208, -0.00327 ),, // transposed from source
50
- vec3( -0.53108, 1.10813, -0.07276 ),,
51
- vec3( -0.07367, -0.00605, 1.07602 ),
52
- );,
48
+ const mat3 ACESOutputMat = mat3(
49
+ vec3( 1.60475, -0.10208, -0.00327 ), // transposed from source
50
+ vec3( -0.53108, 1.10813, -0.07276 ),
51
+ vec3( -0.07367, -0.00605, 1.07602 )
52
+ );
53
53
 
54
- color = ACESInputMat * color;,
54
+ color = ACESInputMat * color;
55
55
 
56
56
  // Apply RRT and ODT
57
- color = RRTAndODTFit( color );,
57
+ color = RRTAndODTFit( color );
58
58
 
59
- color = ACESOutputMat * color;,
59
+ color = ACESOutputMat * color;
60
60
 
61
61
  // Clamp to [0, 1]
62
- return saturate( color );,
62
+ return saturate( color );
63
63
 
64
- },
64
+ }
65
65
 
66
- void main() {,
66
+ void main() {
67
67
 
68
- vec4 tex = texture2D( tDiffuse, vUv );,
68
+ vec4 tex = texture2D( tDiffuse, vUv );
69
69
 
70
- tex.rgb *= exposure / 0.6;, // pre-exposed, outside of the tone mapping function
70
+ tex.rgb *= exposure / 0.6; // pre-exposed, outside of the tone mapping function
71
71
 
72
- gl_FragColor = vec4( ACESFilmicToneMapping( tex.rgb ), tex.a );,
72
+ gl_FragColor = vec4( ACESFilmicToneMapping( tex.rgb ), tex.a );
73
73
 
74
- },
74
+ }
75
75
  `
76
76
  )
77
77
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ACESFilmicToneMappingShader.js","sources":["../../src/shaders/ACESFilmicToneMappingShader.ts"],"sourcesContent":["/**\n * ACES Filmic Tone Mapping Shader by Stephen Hill\n * source: https://github.com/selfshadow/ltc_code/blob/master/webgl/shaders/ltc/ltc_blit.fs\n *\n * this implementation of ACES is modified to accommodate a brighter viewing environment.\n * the scale factor of 1/0.6 is subjective. see discussion in #19621.\n */\n\nimport type { IUniform, Texture } from 'three'\nimport type { IShader } from './types'\n\nexport type ACESFilmicToneMappingShaderUniforms = {\n exposure: IUniform<number>\n tDiffuse: IUniform<Texture | null>\n}\n\nexport interface IACESFilmicToneMappingShader extends IShader<ACESFilmicToneMappingShaderUniforms> {}\n\nexport const ACESFilmicToneMappingShader: IACESFilmicToneMappingShader = {\n uniforms: {\n tDiffuse: { value: null },\n exposure: { value: 1.0 },\n },\n\n vertexShader: /* glsl */ `\n varying vec2 vUv;,\n\n void main() {,\n\n \tvUv = uv;,\n \tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );,\n\n },\n `,\n fragmentShader: /* glsl */ `\n #define saturate(a) clamp( a, 0.0, 1.0 ),\n\n uniform sampler2D tDiffuse;,\n\n uniform float exposure;,\n\n varying vec2 vUv;,\n\n vec3 RRTAndODTFit( vec3 v ) {,\n\n \tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;,\n \tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;,\n \treturn a / b;,\n\n },\n\n vec3 ACESFilmicToneMapping( vec3 color ) {,\n\n // sRGB => XYZ => D65_2_D60 => AP1 => RRT_SAT\n \tconst mat3 ACESInputMat = mat3(,\n \t\tvec3( 0.59719, 0.07600, 0.02840 ),, // transposed from source\n \t\tvec3( 0.35458, 0.90834, 0.13383 ),,\n \t\tvec3( 0.04823, 0.01566, 0.83777 ),\n \t);,\n\n // ODT_SAT => XYZ => D60_2_D65 => sRGB\n \tconst mat3 ACESOutputMat = mat3(,\n \t\tvec3( 1.60475, -0.10208, -0.00327 ),, // transposed from source\n \t\tvec3( -0.53108, 1.10813, -0.07276 ),,\n \t\tvec3( -0.07367, -0.00605, 1.07602 ),\n \t);,\n\n \tcolor = ACESInputMat * color;,\n\n // Apply RRT and ODT\n \tcolor = RRTAndODTFit( color );,\n\n \tcolor = ACESOutputMat * color;,\n\n // Clamp to [0, 1]\n \treturn saturate( color );,\n\n },\n\n void main() {,\n\n \tvec4 tex = texture2D( tDiffuse, vUv );,\n\n \ttex.rgb *= exposure / 0.6;, // pre-exposed, outside of the tone mapping function\n\n \tgl_FragColor = vec4( ACESFilmicToneMapping( tex.rgb ), tex.a );,\n\n },\n `,\n}\n"],"names":[],"mappings":"AAkBO,MAAM,8BAA4D;AAAA,EACvE,UAAU;AAAA,IACR,UAAU,EAAE,OAAO,KAAK;AAAA,IACxB,UAAU,EAAE,OAAO,EAAI;AAAA,EACzB;AAAA,EAEA;AAAA;AAAA,IAAyB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUzB;AAAA;AAAA,IAA2B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAuD7B;"}
1
+ {"version":3,"file":"ACESFilmicToneMappingShader.js","sources":["../../src/shaders/ACESFilmicToneMappingShader.ts"],"sourcesContent":["/**\n * ACES Filmic Tone Mapping Shader by Stephen Hill\n * source: https://github.com/selfshadow/ltc_code/blob/master/webgl/shaders/ltc/ltc_blit.fs\n *\n * this implementation of ACES is modified to accommodate a brighter viewing environment.\n * the scale factor of 1/0.6 is subjective. see discussion in #19621.\n */\n\nimport type { IUniform, Texture } from 'three'\nimport type { IShader } from './types'\n\nexport type ACESFilmicToneMappingShaderUniforms = {\n exposure: IUniform<number>\n tDiffuse: IUniform<Texture | null>\n}\n\nexport interface IACESFilmicToneMappingShader extends IShader<ACESFilmicToneMappingShaderUniforms> {}\n\nexport const ACESFilmicToneMappingShader: IACESFilmicToneMappingShader = {\n uniforms: {\n tDiffuse: { value: null },\n exposure: { value: 1.0 },\n },\n\n vertexShader: /* glsl */ `\n varying vec2 vUv;\n\n void main() {\n\n \tvUv = uv;\n \tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n }\n `,\n fragmentShader: /* glsl */ `\n #define saturate(a) clamp( a, 0.0, 1.0 )\n\n uniform sampler2D tDiffuse;\n\n uniform float exposure;\n\n varying vec2 vUv;\n\n vec3 RRTAndODTFit( vec3 v ) {\n\n \tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n \tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n \treturn a / b;\n\n }\n\n vec3 ACESFilmicToneMapping( vec3 color ) {\n\n // sRGB => XYZ => D65_2_D60 => AP1 => RRT_SAT\n \tconst mat3 ACESInputMat = mat3(\n \t\tvec3( 0.59719, 0.07600, 0.02840 ), // transposed from source\n \t\tvec3( 0.35458, 0.90834, 0.13383 ),\n \t\tvec3( 0.04823, 0.01566, 0.83777 )\n \t);\n\n // ODT_SAT => XYZ => D60_2_D65 => sRGB\n \tconst mat3 ACESOutputMat = mat3(\n \t\tvec3( 1.60475, -0.10208, -0.00327 ), // transposed from source\n \t\tvec3( -0.53108, 1.10813, -0.07276 ),\n \t\tvec3( -0.07367, -0.00605, 1.07602 )\n \t);\n\n \tcolor = ACESInputMat * color;\n\n // Apply RRT and ODT\n \tcolor = RRTAndODTFit( color );\n\n \tcolor = ACESOutputMat * color;\n\n // Clamp to [0, 1]\n \treturn saturate( color );\n\n }\n\n void main() {\n\n \tvec4 tex = texture2D( tDiffuse, vUv );\n\n \ttex.rgb *= exposure / 0.6; // pre-exposed, outside of the tone mapping function\n\n \tgl_FragColor = vec4( ACESFilmicToneMapping( tex.rgb ), tex.a );\n\n }\n `,\n}\n"],"names":[],"mappings":"AAkBO,MAAM,8BAA4D;AAAA,EACvE,UAAU;AAAA,IACR,UAAU,EAAE,OAAO,KAAK;AAAA,IACxB,UAAU,EAAE,OAAO,EAAI;AAAA,EACzB;AAAA,EAEA;AAAA;AAAA,IAAyB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUzB;AAAA;AAAA,IAA2B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAuD7B;"}
@@ -4,7 +4,7 @@
4
4
  * https://codepen.io/brunoimbrizi/pen/MoRJaN?page=1&
5
5
  */
6
6
  import type { IUniform, Texture } from 'three';
7
- import type { IShader } from './types.d.ts';
7
+ import type { IShader } from './types';
8
8
  export type AfterimageShaderUniforms = {
9
9
  damp: IUniform<number>;
10
10
  tNew: IUniform<Texture | null>;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Simple test shader
3
3
  */
4
- import type { IShader } from './types.d.ts';
4
+ import type { IShader } from './types';
5
5
  export type BasicShaderUniforms = {};
6
6
  export interface IBasicShader extends IShader<BasicShaderUniforms> {
7
7
  }
@@ -4,7 +4,7 @@
4
4
  * http://developer.download.nvidia.com/shaderlibrary/webpages/shader_library.html#post_bleach_bypass
5
5
  */
6
6
  import type { IUniform, Texture } from 'three';
7
- import type { IShader } from './types.d.ts';
7
+ import type { IShader } from './types';
8
8
  export type BleachBypassShaderUniforms = {
9
9
  opacity: IUniform<number>;
10
10
  tDiffuse: IUniform<Texture | null>;
@@ -4,7 +4,7 @@
4
4
  * http://artmartinsh.blogspot.com/2010/02/glsl-lens-blur-filter-with-bokeh.html
5
5
  */
6
6
  import type { IUniform, Texture } from 'three';
7
- import type { IShader } from './types.d.ts';
7
+ import type { IShader } from './types';
8
8
  export type BokehShaderDefines = {
9
9
  DEPTH_PACKING: number;
10
10
  PERSPECTIVE_CAMERA: number;
@@ -1,4 +1,4 @@
1
- import type { IUniform, Texture, Vector2 } from 'three';
1
+ import { IUniform, Texture, Vector2 } from 'three';
2
2
  export interface BokehShader2Uniforms {
3
3
  textureWidth: IUniform<number>;
4
4
  textureHeight: IUniform<number>;
@@ -1,4 +1,4 @@
1
- import type { Vector3 } from 'three';
1
+ import { Vector3 } from 'three';
2
2
  /**
3
3
  * Color correction
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { Color } from 'three';
1
+ import { Color } from 'three';
2
2
  /**
3
3
  * Colorify shader
4
4
  */
@@ -1,11 +1,11 @@
1
- import type { Vector2 } from 'three';
1
+ import { Vector2 } from 'three';
2
2
  /**
3
3
  * Convolution shader
4
4
  * ported from o3d sample to WebGL / GLSL
5
5
  * http://o3d.googlecode.com/svn/trunk/samples/convolution.html
6
6
  */
7
7
  import type { IUniform, Texture } from 'three';
8
- import type { IShader } from './types.d.ts';
8
+ import type { IShader } from './types';
9
9
  export type ConvolutionShaderDefines = {
10
10
  KERNEL_SIZE_FLOAT: string;
11
11
  KERNEL_SIZE_INT: string;
@@ -2,7 +2,7 @@
2
2
  * Full-screen textured quad shader
3
3
  */
4
4
  import type { IUniform, Texture } from 'three';
5
- import type { IShader } from './types.d.ts';
5
+ import type { IShader } from './types';
6
6
  export type CopyShaderUniforms = {
7
7
  opacity: IUniform<number>;
8
8
  tDiffuse: IUniform<Texture | null>;
@@ -1,6 +1,6 @@
1
- import type { Vector2 } from 'three';
1
+ import { Vector2 } from 'three';
2
2
  import type { IUniform, Texture } from 'three';
3
- import type { IShader } from './types.d.ts';
3
+ import type { IShader } from './types';
4
4
  export type DepthLimitedBlurShaderDefines = {
5
5
  DEPTH_PACKING: number;
6
6
  KERNEL_RADIUS: number;
@@ -1,4 +1,4 @@
1
- import type { Vector2 } from 'three';
1
+ import { Vector2 } from 'three';
2
2
  /**
3
3
  * Dot screen shader
4
4
  * based on glfx.js sepia shader
@@ -52,7 +52,7 @@ const FXAAShader = {
52
52
  // contributors may be used to endorse or promote products derived
53
53
  // from this software without specific prior written permission.
54
54
  //
55
- "// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AS IS AND ANY",
55
+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AS IS AND ANY
56
56
  // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
57
57
  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
58
58
  // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
@@ -126,7 +126,7 @@ const FXAAShader = {
126
126
  /*--------------------------------------------------------------------------*/
127
127
  #ifndef FXAA_EARLY_EXIT
128
128
  //
129
- " // Controls algorithms early exit path.",
129
+ // Controls algorithms early exit path.
130
130
  // On PS3 turning this ON adds 2 cycles to the shader.
131
131
  // On 360 turning this OFF adds 10ths of a millisecond to the shader.
132
132
  // Turning this off on console will result in a more blurry image.
@@ -143,9 +143,9 @@ const FXAAShader = {
143
143
  // Only valid for PC OpenGL currently.
144
144
  // Probably will not work when FXAA_GREEN_AS_LUMA = 1.
145
145
  //
146
- " // 1 = Use discard on pixels which dont need AA.",
146
+ // 1 = Use discard on pixels which dont need AA.
147
147
  // For APIs which enable concurrent TEX+ROP from same surface.
148
- " // 0 = Return unchanged color on pixels which dont need AA.",
148
+ // 0 = Return unchanged color on pixels which dont need AA.
149
149
  //
150
150
  #define FXAA_DISCARD 0
151
151
  #endif