three-stdlib 2.35.7 → 2.35.9

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 (540) hide show
  1. package/_polyfill/constants.d.cts +1 -0
  2. package/_polyfill/constants.d.ts +1 -1
  3. package/_polyfill/uv1.d.cts +5 -0
  4. package/_polyfill/uv1.d.ts +1 -1
  5. package/animation/AnimationClipCreator.d.cts +12 -0
  6. package/animation/AnimationClipCreator.d.ts +1 -1
  7. package/animation/CCDIKSolver.d.cts +30 -0
  8. package/animation/CCDIKSolver.d.ts +1 -1
  9. package/animation/MMDAnimationHelper.d.cts +93 -0
  10. package/animation/MMDAnimationHelper.d.ts +3 -3
  11. package/animation/MMDPhysics.d.cts +119 -0
  12. package/animation/MMDPhysics.d.ts +1 -1
  13. package/cameras/CinematicCamera.d.cts +34 -0
  14. package/cameras/CinematicCamera.d.ts +2 -2
  15. package/controls/ArcballControls.d.cts +376 -0
  16. package/controls/ArcballControls.d.ts +4 -4
  17. package/controls/DeviceOrientationControls.d.cts +29 -0
  18. package/controls/DeviceOrientationControls.d.ts +4 -4
  19. package/controls/DragControls.d.cts +67 -0
  20. package/controls/DragControls.d.ts +3 -3
  21. package/controls/EventDispatcher.d.cts +41 -0
  22. package/controls/EventDispatcher.d.ts +1 -1
  23. package/controls/FirstPersonControls.d.cts +49 -0
  24. package/controls/FirstPersonControls.d.ts +3 -3
  25. package/controls/FlyControls.d.cts +39 -0
  26. package/controls/FlyControls.d.ts +3 -3
  27. package/controls/OrbitControls.d.cts +74 -0
  28. package/controls/OrbitControls.d.ts +4 -4
  29. package/controls/PointerLockControls.d.cts +39 -0
  30. package/controls/PointerLockControls.d.ts +3 -3
  31. package/controls/StandardControlsEventMap.d.cts +14 -0
  32. package/controls/TrackballControls.d.cts +97 -0
  33. package/controls/TrackballControls.d.ts +4 -4
  34. package/controls/TransformControls.d.cts +151 -0
  35. package/controls/TransformControls.d.ts +2 -2
  36. package/controls/experimental/CameraControls.d.cts +213 -0
  37. package/controls/experimental/CameraControls.d.ts +4 -4
  38. package/csm/CSM.d.cts +61 -0
  39. package/csm/CSM.d.ts +2 -2
  40. package/csm/CSMFrustum.d.cts +19 -0
  41. package/csm/CSMFrustum.d.ts +2 -2
  42. package/csm/CSMHelper.d.cts +26 -0
  43. package/csm/CSMHelper.d.ts +2 -2
  44. package/csm/CSMShader.d.cts +4 -0
  45. package/curves/CurveExtras.d.cts +68 -0
  46. package/curves/CurveExtras.d.ts +1 -1
  47. package/curves/NURBSCurve.d.cts +11 -0
  48. package/curves/NURBSCurve.d.ts +1 -1
  49. package/curves/NURBSSurface.d.cts +13 -0
  50. package/curves/NURBSSurface.d.ts +1 -1
  51. package/curves/NURBSUtils.d.cts +20 -0
  52. package/curves/NURBSUtils.d.ts +1 -1
  53. package/deprecated/Geometry.d.cts +341 -0
  54. package/deprecated/Geometry.d.ts +1 -1
  55. package/effects/AnaglyphEffect.d.cts +11 -0
  56. package/effects/AnaglyphEffect.d.ts +1 -1
  57. package/effects/AsciiEffect.d.cts +18 -0
  58. package/effects/AsciiEffect.d.ts +1 -1
  59. package/effects/OutlineEffect.d.cts +28 -0
  60. package/effects/OutlineEffect.d.ts +1 -1
  61. package/effects/ParallaxBarrierEffect.d.cts +8 -0
  62. package/effects/ParallaxBarrierEffect.d.ts +1 -1
  63. package/effects/PeppersGhostEffect.d.cts +10 -0
  64. package/effects/PeppersGhostEffect.d.ts +1 -1
  65. package/effects/StereoEffect.d.cts +9 -0
  66. package/effects/StereoEffect.d.ts +1 -1
  67. package/environments/RoomEnvironment.d.cts +6 -0
  68. package/environments/RoomEnvironment.d.ts +2 -2
  69. package/exporters/ColladaExporter.d.cts +50 -0
  70. package/exporters/ColladaExporter.d.ts +2 -2
  71. package/exporters/DRACOExporter.d.cts +36 -0
  72. package/exporters/DRACOExporter.d.ts +2 -2
  73. package/exporters/GLTFExporter.d.cts +114 -0
  74. package/exporters/GLTFExporter.d.ts +4 -4
  75. package/exporters/MMDExporter.d.cts +12 -0
  76. package/exporters/MMDExporter.d.ts +2 -2
  77. package/exporters/OBJExporter.d.cts +18 -0
  78. package/exporters/OBJExporter.d.ts +2 -2
  79. package/exporters/PLYExporter.d.cts +23 -0
  80. package/exporters/PLYExporter.d.ts +2 -2
  81. package/exporters/STLExporter.d.cts +28 -0
  82. package/exporters/STLExporter.d.ts +2 -2
  83. package/exporters/USDZExporter.d.cts +27 -0
  84. package/exporters/USDZExporter.d.ts +2 -2
  85. package/geometries/BoxLineGeometry.d.cts +12 -0
  86. package/geometries/BoxLineGeometry.d.ts +1 -1
  87. package/geometries/ConvexGeometry.d.cts +5 -0
  88. package/geometries/ConvexGeometry.d.ts +1 -1
  89. package/geometries/DecalGeometry.d.cts +10 -0
  90. package/geometries/DecalGeometry.d.ts +1 -1
  91. package/geometries/LightningStrike.d.cts +108 -0
  92. package/geometries/LightningStrike.d.ts +1 -1
  93. package/geometries/ParametricGeometries.d.cts +26 -0
  94. package/geometries/ParametricGeometries.d.ts +3 -3
  95. package/geometries/ParametricGeometry.d.cts +18 -0
  96. package/geometries/ParametricGeometry.d.ts +2 -2
  97. package/geometries/RoundedBoxGeometry.d.cts +5 -0
  98. package/geometries/RoundedBoxGeometry.d.ts +1 -1
  99. package/geometries/TeapotGeometry.d.cts +13 -0
  100. package/geometries/TeapotGeometry.d.ts +1 -1
  101. package/geometries/TextGeometry.d.cts +18 -0
  102. package/geometries/TextGeometry.d.ts +4 -4
  103. package/helpers/LightProbeHelper.d.cts +10 -0
  104. package/helpers/LightProbeHelper.d.ts +1 -1
  105. package/helpers/PositionalAudioHelper.d.cts +13 -0
  106. package/helpers/PositionalAudioHelper.d.ts +1 -1
  107. package/helpers/RaycasterHelper.d.cts +33 -0
  108. package/helpers/RaycasterHelper.d.ts +2 -2
  109. package/helpers/RectAreaLightHelper.d.cts +11 -0
  110. package/helpers/RectAreaLightHelper.d.ts +1 -1
  111. package/helpers/VertexNormalsHelper.d.cts +13 -0
  112. package/helpers/VertexNormalsHelper.d.ts +1 -1
  113. package/helpers/VertexTangentsHelper.d.cts +13 -0
  114. package/helpers/VertexTangentsHelper.d.ts +1 -1
  115. package/index.d.cts +262 -0
  116. package/index.d.ts +262 -262
  117. package/interactive/HTMLMesh.d.cts +6 -0
  118. package/interactive/HTMLMesh.d.ts +1 -1
  119. package/interactive/InteractiveGroup.d.cts +5 -0
  120. package/interactive/InteractiveGroup.d.ts +1 -1
  121. package/interactive/SelectionBox.d.cts +15 -0
  122. package/interactive/SelectionBox.d.ts +1 -1
  123. package/interactive/SelectionHelper.d.cts +17 -0
  124. package/interactive/SelectionHelper.d.ts +2 -2
  125. package/libs/MeshoptDecoder.d.cts +12 -0
  126. package/libs/MeshoptDecoder.d.ts +1 -1
  127. package/libs/MotionControllers.d.cts +176 -0
  128. package/libs/MotionControllers.d.ts +1 -1
  129. package/libs/zstddec.d.cts +8 -0
  130. package/libs/zstddec.d.ts +1 -1
  131. package/lights/LightProbeGenerator.d.cts +6 -0
  132. package/lights/LightProbeGenerator.d.ts +2 -2
  133. package/lights/RectAreaLightUniformsLib.d.cts +3 -0
  134. package/lights/RectAreaLightUniformsLib.d.ts +1 -1
  135. package/lines/Line2.d.cts +11 -0
  136. package/lines/Line2.d.ts +3 -3
  137. package/lines/LineGeometry.d.cts +10 -0
  138. package/lines/LineGeometry.d.ts +2 -2
  139. package/lines/LineMaterial.d.cts +31 -0
  140. package/lines/LineMaterial.d.ts +1 -1
  141. package/lines/LineSegments2.d.cts +14 -0
  142. package/lines/LineSegments2.d.ts +3 -3
  143. package/lines/LineSegmentsGeometry.d.cts +16 -0
  144. package/lines/LineSegmentsGeometry.d.ts +1 -1
  145. package/lines/Wireframe.d.cts +11 -0
  146. package/lines/Wireframe.d.ts +3 -3
  147. package/lines/WireframeGeometry2.d.cts +8 -0
  148. package/lines/WireframeGeometry2.d.ts +2 -2
  149. package/loaders/3DMLoader.d.cts +17 -0
  150. package/loaders/3DMLoader.d.ts +1 -1
  151. package/loaders/3MFLoader.d.cts +16 -0
  152. package/loaders/3MFLoader.d.ts +1 -1
  153. package/loaders/AMFLoader.d.cts +14 -0
  154. package/loaders/AMFLoader.d.ts +1 -1
  155. package/loaders/AssimpLoader.d.cts +19 -0
  156. package/loaders/AssimpLoader.d.ts +1 -1
  157. package/loaders/BVHLoader.d.cts +21 -0
  158. package/loaders/BVHLoader.d.ts +1 -1
  159. package/loaders/BasisTextureLoader.d.cts +32 -0
  160. package/loaders/BasisTextureLoader.d.ts +1 -1
  161. package/loaders/ColladaLoader.d.cts +20 -0
  162. package/loaders/ColladaLoader.d.ts +1 -1
  163. package/loaders/DDSLoader.d.cts +16 -0
  164. package/loaders/DDSLoader.d.ts +1 -1
  165. package/loaders/DRACOLoader.d.cts +18 -0
  166. package/loaders/DRACOLoader.d.ts +1 -1
  167. package/loaders/EXRLoader.d.cts +18 -0
  168. package/loaders/EXRLoader.d.ts +1 -1
  169. package/loaders/FBXLoader.d.cts +14 -0
  170. package/loaders/FBXLoader.d.ts +1 -1
  171. package/loaders/FontLoader.d.cts +37 -0
  172. package/loaders/FontLoader.d.ts +4 -4
  173. package/loaders/GCodeLoader.d.cts +15 -0
  174. package/loaders/GCodeLoader.d.ts +1 -1
  175. package/loaders/GLTFLoader.d.cts +155 -0
  176. package/loaders/GLTFLoader.d.ts +3 -3
  177. package/loaders/HDRCubeTextureLoader.d.cts +18 -0
  178. package/loaders/HDRCubeTextureLoader.d.ts +2 -2
  179. package/loaders/KMZLoader.d.cts +16 -0
  180. package/loaders/KMZLoader.d.ts +2 -2
  181. package/loaders/KTX2Loader.d.cts +10 -0
  182. package/loaders/KTX2Loader.d.ts +1 -1
  183. package/loaders/KTXLoader.d.cts +16 -0
  184. package/loaders/KTXLoader.d.ts +1 -1
  185. package/loaders/LDrawLoader.d.cts +26 -0
  186. package/loaders/LDrawLoader.d.ts +1 -1
  187. package/loaders/LUT3dlLoader.d.cts +20 -0
  188. package/loaders/LUT3dlLoader.d.ts +1 -1
  189. package/loaders/LUTCubeLoader.d.cts +23 -0
  190. package/loaders/LUTCubeLoader.d.ts +1 -1
  191. package/loaders/LWOLoader.d.cts +26 -0
  192. package/loaders/LWOLoader.d.ts +1 -1
  193. package/loaders/LottieLoader.d.cts +15 -0
  194. package/loaders/LottieLoader.d.ts +1 -1
  195. package/loaders/MD2Loader.d.cts +14 -0
  196. package/loaders/MD2Loader.d.ts +1 -1
  197. package/loaders/MDDLoader.d.cts +19 -0
  198. package/loaders/MDDLoader.d.ts +1 -1
  199. package/loaders/MMDLoader.d.cts +63 -0
  200. package/loaders/MMDLoader.d.ts +1 -1
  201. package/loaders/MTLLoader.d.cts +100 -0
  202. package/loaders/MTLLoader.d.ts +1 -1
  203. package/loaders/NRRDLoader.d.cts +22 -0
  204. package/loaders/NRRDLoader.d.ts +2 -2
  205. package/loaders/OBJLoader.d.cts +17 -0
  206. package/loaders/OBJLoader.d.ts +2 -2
  207. package/loaders/PCDLoader.d.cts +15 -0
  208. package/loaders/PCDLoader.d.ts +1 -1
  209. package/loaders/PDBLoader.d.cts +22 -0
  210. package/loaders/PDBLoader.d.ts +1 -1
  211. package/loaders/PLYLoader.d.cts +16 -0
  212. package/loaders/PLYLoader.d.ts +1 -1
  213. package/loaders/PRWMLoader.d.cts +16 -0
  214. package/loaders/PRWMLoader.d.ts +1 -1
  215. package/loaders/PVRLoader.d.cts +16 -0
  216. package/loaders/PVRLoader.d.ts +1 -1
  217. package/loaders/RGBELoader.d.cts +20 -0
  218. package/loaders/RGBELoader.d.ts +1 -1
  219. package/loaders/RGBMLoader.d.cts +32 -0
  220. package/loaders/RGBMLoader.d.ts +1 -1
  221. package/loaders/STLLoader.d.cts +14 -0
  222. package/loaders/STLLoader.d.ts +1 -1
  223. package/loaders/SVGLoader.d.cts +63 -0
  224. package/loaders/SVGLoader.d.ts +1 -1
  225. package/loaders/TDSLoader.d.cts +42 -0
  226. package/loaders/TDSLoader.d.ts +1 -1
  227. package/loaders/TGALoader.d.cts +14 -0
  228. package/loaders/TGALoader.d.ts +1 -1
  229. package/loaders/TTFLoader.d.cts +15 -0
  230. package/loaders/TTFLoader.d.ts +1 -1
  231. package/loaders/TiltLoader.d.cts +14 -0
  232. package/loaders/TiltLoader.d.ts +1 -1
  233. package/loaders/VOXLoader.d.cts +29 -0
  234. package/loaders/VOXLoader.d.ts +1 -1
  235. package/loaders/VRMLLoader.d.cts +14 -0
  236. package/loaders/VRMLLoader.d.ts +1 -1
  237. package/loaders/VRMLoader.d.cts +19 -0
  238. package/loaders/VRMLoader.d.ts +3 -3
  239. package/loaders/VTKLoader.d.cts +14 -0
  240. package/loaders/VTKLoader.d.ts +1 -1
  241. package/loaders/XLoader.d.cts +19 -0
  242. package/loaders/XLoader.d.ts +1 -1
  243. package/loaders/XYZLoader.d.cts +14 -0
  244. package/loaders/XYZLoader.d.ts +1 -1
  245. package/math/Capsule.d.cts +27 -0
  246. package/math/Capsule.d.ts +1 -1
  247. package/math/ColorConverter.d.cts +21 -0
  248. package/math/ColorConverter.d.ts +2 -2
  249. package/math/ConvexHull.d.cts +89 -0
  250. package/math/ConvexHull.d.ts +1 -1
  251. package/math/ImprovedNoise.d.cts +4 -0
  252. package/math/Lut.d.cts +27 -0
  253. package/math/Lut.d.ts +1 -1
  254. package/math/MeshSurfaceSampler.d.cts +18 -0
  255. package/math/MeshSurfaceSampler.d.ts +1 -1
  256. package/math/OBB.d.cts +24 -0
  257. package/math/OBB.d.ts +1 -1
  258. package/math/Octree.d.cts +24 -0
  259. package/math/Octree.d.ts +2 -2
  260. package/math/SimplexNoise.d.cts +21 -0
  261. package/math/SimplexNoise.d.ts +1 -1
  262. package/misc/ConvexObjectBreaker.d.cts +25 -0
  263. package/misc/ConvexObjectBreaker.d.ts +1 -1
  264. package/misc/GPUComputationRenderer.d.cts +53 -0
  265. package/misc/GPUComputationRenderer.d.ts +1 -1
  266. package/misc/Gyroscope.d.cts +5 -0
  267. package/misc/Gyroscope.d.ts +1 -1
  268. package/misc/MD2Character.d.cts +33 -0
  269. package/misc/MD2Character.d.ts +1 -1
  270. package/misc/MD2CharacterComplex.d.cts +47 -0
  271. package/misc/MD2CharacterComplex.d.ts +1 -1
  272. package/misc/MorphAnimMesh.d.cts +13 -0
  273. package/misc/MorphAnimMesh.d.ts +1 -1
  274. package/misc/MorphBlendMesh.d.cts +21 -0
  275. package/misc/MorphBlendMesh.d.ts +1 -1
  276. package/misc/ProgressiveLightmap.d.cts +60 -0
  277. package/misc/ProgressiveLightmap.d.ts +1 -1
  278. package/misc/RollerCoaster.d.cts +21 -0
  279. package/misc/RollerCoaster.d.ts +1 -1
  280. package/misc/Timer.d.cts +27 -0
  281. package/misc/Timer.d.ts +1 -1
  282. package/misc/TubePainter.d.cts +10 -0
  283. package/misc/TubePainter.d.ts +1 -1
  284. package/misc/Volume.d.cts +37 -0
  285. package/misc/Volume.d.ts +2 -2
  286. package/misc/VolumeSlice.d.cts +28 -0
  287. package/misc/VolumeSlice.d.ts +2 -2
  288. package/misc/WebGL.d.cts +5 -0
  289. package/misc/WebGL.d.ts +5 -5
  290. package/modifiers/CurveModifier.d.cts +91 -0
  291. package/modifiers/CurveModifier.d.ts +7 -7
  292. package/modifiers/EdgeSplitModifier.d.cts +19 -0
  293. package/modifiers/EdgeSplitModifier.d.ts +2 -2
  294. package/modifiers/SimplifyModifier.d.cts +19 -0
  295. package/modifiers/SimplifyModifier.d.ts +2 -2
  296. package/modifiers/TessellateModifier.d.cts +11 -0
  297. package/modifiers/TessellateModifier.d.ts +2 -2
  298. package/objects/BatchedMesh.d.cts +48 -0
  299. package/objects/BatchedMesh.d.ts +2 -2
  300. package/objects/GroundProjectedEnv.d.cts +12 -0
  301. package/objects/GroundProjectedEnv.d.ts +2 -2
  302. package/objects/Lensflare.d.cts +17 -0
  303. package/objects/Lensflare.d.ts +1 -1
  304. package/objects/LightningStorm.d.cts +32 -0
  305. package/objects/LightningStorm.d.ts +2 -2
  306. package/objects/MarchingCubes.d.cts +76 -0
  307. package/objects/MarchingCubes.d.ts +1 -1
  308. package/objects/Reflector.d.cts +23 -0
  309. package/objects/Reflector.d.ts +2 -2
  310. package/objects/ReflectorForSSRPass.d.cts +48 -0
  311. package/objects/ReflectorForSSRPass.d.ts +1 -1
  312. package/objects/ReflectorRTT.d.cts +6 -0
  313. package/objects/ReflectorRTT.d.ts +3 -3
  314. package/objects/Refractor.d.cts +23 -0
  315. package/objects/Refractor.d.ts +2 -2
  316. package/objects/ShadowMesh.d.cts +10 -0
  317. package/objects/ShadowMesh.d.ts +1 -1
  318. package/objects/Sky.d.cts +18 -0
  319. package/objects/Sky.d.ts +2 -2
  320. package/objects/Water.d.cts +22 -0
  321. package/objects/Water.d.ts +1 -1
  322. package/objects/Water2.d.cts +23 -0
  323. package/objects/Water2.d.ts +2 -2
  324. package/package.json +11 -5
  325. package/physics/AmmoPhysics.d.cts +7 -0
  326. package/physics/AmmoPhysics.d.ts +1 -1
  327. package/postprocessing/AdaptiveToneMappingPass.d.cts +29 -0
  328. package/postprocessing/AdaptiveToneMappingPass.d.ts +2 -2
  329. package/postprocessing/AfterimagePass.d.cts +15 -0
  330. package/postprocessing/AfterimagePass.d.ts +3 -3
  331. package/postprocessing/BloomPass.d.cts +29 -0
  332. package/postprocessing/BloomPass.d.ts +4 -4
  333. package/postprocessing/BokehPass.d.cts +26 -0
  334. package/postprocessing/BokehPass.d.ts +3 -3
  335. package/postprocessing/ClearPass.d.cts +10 -0
  336. package/postprocessing/ClearPass.d.ts +3 -3
  337. package/postprocessing/CubeTexturePass.d.cts +14 -0
  338. package/postprocessing/CubeTexturePass.d.ts +2 -2
  339. package/postprocessing/DotScreenPass.d.cts +11 -0
  340. package/postprocessing/DotScreenPass.d.ts +4 -4
  341. package/postprocessing/EffectComposer.d.cts +28 -0
  342. package/postprocessing/EffectComposer.d.ts +3 -3
  343. package/postprocessing/FilmPass.d.cts +11 -0
  344. package/postprocessing/FilmPass.d.ts +4 -4
  345. package/postprocessing/GlitchPass.d.cts +16 -0
  346. package/postprocessing/GlitchPass.d.ts +4 -4
  347. package/postprocessing/HalftonePass.d.cts +26 -0
  348. package/postprocessing/HalftonePass.d.ts +3 -3
  349. package/postprocessing/LUTPass.d.cts +13 -0
  350. package/postprocessing/LUTPass.d.ts +2 -2
  351. package/postprocessing/MaskPass.d.cts +14 -0
  352. package/postprocessing/MaskPass.d.ts +3 -3
  353. package/postprocessing/OutlinePass.d.cts +53 -0
  354. package/postprocessing/OutlinePass.d.ts +3 -3
  355. package/postprocessing/Pass.d.cts +21 -0
  356. package/postprocessing/Pass.d.ts +2 -2
  357. package/postprocessing/RenderPass.d.cts +14 -0
  358. package/postprocessing/RenderPass.d.ts +3 -3
  359. package/postprocessing/RenderPixelatedPass.d.cts +34 -0
  360. package/postprocessing/RenderPixelatedPass.d.ts +2 -2
  361. package/postprocessing/SAOPass.d.cts +78 -0
  362. package/postprocessing/SAOPass.d.ts +2 -2
  363. package/postprocessing/SMAAPass.d.cts +21 -0
  364. package/postprocessing/SMAAPass.d.ts +2 -2
  365. package/postprocessing/SSAARenderPass.d.cts +17 -0
  366. package/postprocessing/SSAARenderPass.d.ts +2 -2
  367. package/postprocessing/SSAOPass.d.cts +70 -0
  368. package/postprocessing/SSAOPass.d.ts +2 -2
  369. package/postprocessing/SSRPass.d.cts +123 -0
  370. package/postprocessing/SSRPass.d.ts +3 -3
  371. package/postprocessing/SavePass.d.cts +12 -0
  372. package/postprocessing/SavePass.d.ts +2 -2
  373. package/postprocessing/ShaderPass.d.cts +13 -0
  374. package/postprocessing/ShaderPass.d.ts +4 -4
  375. package/postprocessing/TAARenderPass.d.cts +8 -0
  376. package/postprocessing/TAARenderPass.d.ts +2 -2
  377. package/postprocessing/TexturePass.d.cts +12 -0
  378. package/postprocessing/TexturePass.d.ts +2 -2
  379. package/postprocessing/UnrealBloomPass.d.cts +31 -0
  380. package/postprocessing/UnrealBloomPass.d.ts +2 -2
  381. package/postprocessing/WaterPass.d.cts +35 -0
  382. package/postprocessing/WaterPass.d.ts +3 -3
  383. package/renderers/CSS2DRenderer.d.cts +23 -0
  384. package/renderers/CSS2DRenderer.d.ts +1 -1
  385. package/renderers/CSS3DRenderer.d.cts +26 -0
  386. package/renderers/CSS3DRenderer.d.ts +1 -1
  387. package/renderers/Projector.d.cts +60 -0
  388. package/renderers/Projector.d.ts +1 -1
  389. package/renderers/SVGRenderer.d.cts +25 -0
  390. package/renderers/SVGRenderer.d.ts +1 -1
  391. package/shaders/ACESFilmicToneMappingShader.d.cts +16 -0
  392. package/shaders/ACESFilmicToneMappingShader.d.ts +2 -2
  393. package/shaders/AfterimageShader.d.cts +15 -0
  394. package/shaders/AfterimageShader.d.ts +2 -2
  395. package/shaders/BasicShader.d.cts +8 -0
  396. package/shaders/BasicShader.d.ts +2 -2
  397. package/shaders/BleachBypassShader.d.cts +14 -0
  398. package/shaders/BleachBypassShader.d.ts +2 -2
  399. package/shaders/BlendShader.d.cts +21 -0
  400. package/shaders/BlendShader.d.ts +1 -1
  401. package/shaders/BokehShader.d.cts +24 -0
  402. package/shaders/BokehShader.d.ts +2 -2
  403. package/shaders/BokehShader2.d.cts +50 -0
  404. package/shaders/BokehShader2.d.ts +3 -3
  405. package/shaders/BrightnessContrastShader.d.cts +21 -0
  406. package/shaders/BrightnessContrastShader.d.ts +1 -1
  407. package/shaders/ColorCorrectionShader.d.cts +22 -0
  408. package/shaders/ColorCorrectionShader.d.ts +2 -2
  409. package/shaders/ColorifyShader.d.cts +16 -0
  410. package/shaders/ColorifyShader.d.ts +2 -2
  411. package/shaders/ConvolutionShader.d.cts +21 -0
  412. package/shaders/ConvolutionShader.d.ts +3 -3
  413. package/shaders/CopyShader.d.cts +12 -0
  414. package/shaders/CopyShader.d.ts +2 -2
  415. package/shaders/DOFMipMapShader.d.cts +23 -0
  416. package/shaders/DOFMipMapShader.d.ts +1 -1
  417. package/shaders/DepthLimitedBlurShader.d.cts +28 -0
  418. package/shaders/DepthLimitedBlurShader.d.ts +4 -4
  419. package/shaders/DigitalGlitch.d.cts +39 -0
  420. package/shaders/DigitalGlitch.d.ts +1 -1
  421. package/shaders/DotScreenShader.d.cts +27 -0
  422. package/shaders/DotScreenShader.d.ts +2 -2
  423. package/shaders/FXAAShader.d.cts +19 -0
  424. package/shaders/FXAAShader.d.ts +2 -2
  425. package/shaders/FilmShader.d.cts +43 -0
  426. package/shaders/FilmShader.d.ts +1 -1
  427. package/shaders/FocusShader.d.cts +26 -0
  428. package/shaders/FocusShader.d.ts +1 -1
  429. package/shaders/FreiChenShader.d.cts +19 -0
  430. package/shaders/FreiChenShader.d.ts +2 -2
  431. package/shaders/FresnelShader.d.cts +24 -0
  432. package/shaders/FresnelShader.d.ts +1 -1
  433. package/shaders/GammaCorrectionShader.d.cts +12 -0
  434. package/shaders/GammaCorrectionShader.d.ts +2 -2
  435. package/shaders/GodRaysShader.d.cts +97 -0
  436. package/shaders/GodRaysShader.d.ts +5 -5
  437. package/shaders/HalftoneShader.d.cts +51 -0
  438. package/shaders/HalftoneShader.d.ts +1 -1
  439. package/shaders/HorizontalBlurShader.d.cts +18 -0
  440. package/shaders/HorizontalBlurShader.d.ts +2 -2
  441. package/shaders/HorizontalTiltShiftShader.d.cts +23 -0
  442. package/shaders/HorizontalTiltShiftShader.d.ts +1 -1
  443. package/shaders/HueSaturationShader.d.cts +21 -0
  444. package/shaders/HueSaturationShader.d.ts +1 -1
  445. package/shaders/KaleidoShader.d.cts +24 -0
  446. package/shaders/KaleidoShader.d.ts +1 -1
  447. package/shaders/LuminosityHighPassShader.d.cts +27 -0
  448. package/shaders/LuminosityHighPassShader.d.ts +2 -2
  449. package/shaders/LuminosityShader.d.cts +13 -0
  450. package/shaders/LuminosityShader.d.ts +1 -1
  451. package/shaders/MirrorShader.d.cts +18 -0
  452. package/shaders/MirrorShader.d.ts +1 -1
  453. package/shaders/NormalMapShader.d.cts +23 -0
  454. package/shaders/NormalMapShader.d.ts +2 -2
  455. package/shaders/ParallaxShader.d.cts +28 -0
  456. package/shaders/ParallaxShader.d.ts +1 -1
  457. package/shaders/PixelShader.d.cts +18 -0
  458. package/shaders/PixelShader.d.ts +1 -1
  459. package/shaders/RGBShiftShader.d.cts +24 -0
  460. package/shaders/RGBShiftShader.d.ts +1 -1
  461. package/shaders/SAOShader.d.cts +25 -0
  462. package/shaders/SAOShader.d.ts +3 -3
  463. package/shaders/SMAAShader.d.cts +60 -0
  464. package/shaders/SMAAShader.d.ts +4 -4
  465. package/shaders/SSAOShader.d.cts +86 -0
  466. package/shaders/SSAOShader.d.ts +4 -4
  467. package/shaders/SSRShader.d.cts +94 -0
  468. package/shaders/SSRShader.d.ts +4 -4
  469. package/shaders/SepiaShader.d.cts +17 -0
  470. package/shaders/SepiaShader.d.ts +1 -1
  471. package/shaders/SobelOperatorShader.d.cts +19 -0
  472. package/shaders/SobelOperatorShader.d.ts +2 -2
  473. package/shaders/SubsurfaceScatteringShader.d.cts +5 -0
  474. package/shaders/SubsurfaceScatteringShader.d.ts +1 -1
  475. package/shaders/TechnicolorShader.d.cts +15 -0
  476. package/shaders/TechnicolorShader.d.ts +1 -1
  477. package/shaders/ToneMapShader.d.cts +27 -0
  478. package/shaders/ToneMapShader.d.ts +1 -1
  479. package/shaders/ToonShader.d.cts +108 -0
  480. package/shaders/ToonShader.d.ts +5 -5
  481. package/shaders/TriangleBlurShader.d.cts +22 -0
  482. package/shaders/TriangleBlurShader.d.ts +2 -2
  483. package/shaders/UnpackDepthRGBAShader.d.cts +16 -0
  484. package/shaders/UnpackDepthRGBAShader.d.ts +1 -1
  485. package/shaders/VerticalBlurShader.d.cts +18 -0
  486. package/shaders/VerticalBlurShader.d.ts +2 -2
  487. package/shaders/VerticalTiltShiftShader.d.cts +23 -0
  488. package/shaders/VerticalTiltShiftShader.d.ts +1 -1
  489. package/shaders/VignetteShader.d.cts +20 -0
  490. package/shaders/VignetteShader.d.ts +1 -1
  491. package/shaders/VolumeShader.d.cts +30 -0
  492. package/shaders/VolumeShader.d.ts +2 -2
  493. package/shaders/WaterRefractionShader.d.cts +21 -0
  494. package/shaders/WaterRefractionShader.d.ts +1 -1
  495. package/shaders/types.d.cts +13 -0
  496. package/textures/FlakesTexture.d.cts +4 -0
  497. package/textures/FlakesTexture.d.ts +1 -1
  498. package/types/helpers.d.cts +1 -0
  499. package/types/helpers.d.ts +1 -1
  500. package/types/shared.d.cts +9 -0
  501. package/types/shared.d.ts +1 -1
  502. package/types/utils.d.cts +3 -0
  503. package/utils/BufferGeometryUtils.d.cts +63 -0
  504. package/utils/BufferGeometryUtils.d.ts +9 -9
  505. package/utils/GeometryCompressionUtils.d.cts +7 -0
  506. package/utils/GeometryCompressionUtils.d.ts +2 -2
  507. package/utils/GeometryUtils.d.cts +6 -0
  508. package/utils/GeometryUtils.d.ts +2 -2
  509. package/utils/LDrawUtils.d.cts +5 -0
  510. package/utils/LDrawUtils.d.ts +2 -2
  511. package/utils/RoughnessMipmapper.d.cts +8 -0
  512. package/utils/RoughnessMipmapper.d.ts +1 -1
  513. package/utils/SceneUtils.d.cts +9 -0
  514. package/utils/SceneUtils.d.ts +2 -2
  515. package/utils/ShadowMapViewer.d.cts +24 -0
  516. package/utils/ShadowMapViewer.d.ts +1 -1
  517. package/utils/SkeletonUtils.d.cts +14 -0
  518. package/utils/SkeletonUtils.d.ts +2 -2
  519. package/utils/UVsDebug.d.cts +3 -0
  520. package/utils/UVsDebug.d.ts +1 -1
  521. package/webxr/ARButton.d.cts +6 -0
  522. package/webxr/ARButton.d.ts +2 -2
  523. package/webxr/OculusHandModel.d.cts +23 -0
  524. package/webxr/OculusHandModel.d.ts +3 -3
  525. package/webxr/OculusHandPointerModel.d.cts +65 -0
  526. package/webxr/OculusHandPointerModel.d.ts +1 -1
  527. package/webxr/Text2D.d.cts +3 -0
  528. package/webxr/Text2D.d.ts +1 -1
  529. package/webxr/VRButton.d.cts +11 -0
  530. package/webxr/VRButton.d.ts +2 -2
  531. package/webxr/XRControllerModelFactory.d.cts +23 -0
  532. package/webxr/XRControllerModelFactory.d.ts +4 -4
  533. package/webxr/XREstimatedLight.d.cts +33 -0
  534. package/webxr/XREstimatedLight.d.ts +1 -1
  535. package/webxr/XRHandMeshModel.d.cts +9 -0
  536. package/webxr/XRHandMeshModel.d.ts +2 -2
  537. package/webxr/XRHandModelFactory.d.cts +25 -0
  538. package/webxr/XRHandModelFactory.d.ts +3 -3
  539. package/webxr/XRHandPrimitiveModel.d.cts +24 -0
  540. package/webxr/XRHandPrimitiveModel.d.ts +2 -2
@@ -1,6 +1,6 @@
1
- import { Matrix4, Vector2 } from 'three';
1
+ import type { Matrix4, Vector2 } from 'three';
2
2
  import type { IUniform, Texture } from 'three';
3
- import type { IShader } from './types';
3
+ import type { IShader } from './types.d.ts';
4
4
  export type SAOShaderDefines = Record<'DEPTH_PACKING' | 'DIFFUSE_TEXTURE' | 'NORMAL_TEXTURE' | 'NUM_RINGS' | 'NUM_SAMPLES' | 'PERSPECTIVE_CAMERA', number>;
5
5
  export type SAOShaderUniforms = {
6
6
  bias: IUniform<number>;
@@ -22,4 +22,4 @@ export interface ISAOShader extends IShader<SAOShaderUniforms, SAOShaderDefines>
22
22
  defines: SAOShaderDefines;
23
23
  needsUpdate?: boolean;
24
24
  }
25
- export declare const SAOShader: ISAOShader;
25
+ export type declare const SAOShader: ISAOShader;
@@ -0,0 +1,60 @@
1
+ import type { Vector2 } from 'three';
2
+ /**
3
+ * WebGL port of Subpixel Morphological Antialiasing (SMAA) v2.8
4
+ * Preset: SMAA 1x Medium (with color edge detection)
5
+ * https://github.com/iryoku/smaa/releases/tag/v2.8
6
+ */
7
+ export type declare const SMAAEdgesShader: {
8
+ defines: {
9
+ SMAA_THRESHOLD: string;
10
+ };
11
+ uniforms: {
12
+ tDiffuse: {
13
+ value: null;
14
+ };
15
+ resolution: {
16
+ value: Vector2;
17
+ };
18
+ };
19
+ vertexShader: string;
20
+ fragmentShader: string;
21
+ };
22
+ export type declare const SMAAWeightsShader: {
23
+ defines: {
24
+ SMAA_MAX_SEARCH_STEPS: string;
25
+ SMAA_AREATEX_MAX_DISTANCE: string;
26
+ SMAA_AREATEX_PIXEL_SIZE: string;
27
+ SMAA_AREATEX_SUBTEX_SIZE: string;
28
+ };
29
+ uniforms: {
30
+ tDiffuse: {
31
+ value: null;
32
+ };
33
+ tArea: {
34
+ value: null;
35
+ };
36
+ tSearch: {
37
+ value: null;
38
+ };
39
+ resolution: {
40
+ value: Vector2;
41
+ };
42
+ };
43
+ vertexShader: string;
44
+ fragmentShader: string;
45
+ };
46
+ export type declare const SMAABlendShader: {
47
+ uniforms: {
48
+ tDiffuse: {
49
+ value: null;
50
+ };
51
+ tColor: {
52
+ value: null;
53
+ };
54
+ resolution: {
55
+ value: Vector2;
56
+ };
57
+ };
58
+ vertexShader: string;
59
+ fragmentShader: string;
60
+ };
@@ -1,10 +1,10 @@
1
- import { Vector2 } from 'three';
1
+ import type { Vector2 } from 'three';
2
2
  /**
3
3
  * WebGL port of Subpixel Morphological Antialiasing (SMAA) v2.8
4
4
  * Preset: SMAA 1x Medium (with color edge detection)
5
5
  * https://github.com/iryoku/smaa/releases/tag/v2.8
6
6
  */
7
- export declare const SMAAEdgesShader: {
7
+ export type declare const SMAAEdgesShader: {
8
8
  defines: {
9
9
  SMAA_THRESHOLD: string;
10
10
  };
@@ -19,7 +19,7 @@ export declare const SMAAEdgesShader: {
19
19
  vertexShader: string;
20
20
  fragmentShader: string;
21
21
  };
22
- export declare const SMAAWeightsShader: {
22
+ export type declare const SMAAWeightsShader: {
23
23
  defines: {
24
24
  SMAA_MAX_SEARCH_STEPS: string;
25
25
  SMAA_AREATEX_MAX_DISTANCE: string;
@@ -43,7 +43,7 @@ export declare const SMAAWeightsShader: {
43
43
  vertexShader: string;
44
44
  fragmentShader: string;
45
45
  };
46
- export declare const SMAABlendShader: {
46
+ export type declare const SMAABlendShader: {
47
47
  uniforms: {
48
48
  tDiffuse: {
49
49
  value: null;
@@ -0,0 +1,86 @@
1
+ import type { Matrix4, Vector2 } from 'three';
2
+ /**
3
+ * References:
4
+ * http://john-chapman-graphics.blogspot.com/2013/01/ssao-tutorial.html
5
+ * https://learnopengl.com/Advanced-Lighting/SSAO
6
+ * https://github.com/McNopper/OpenGL/blob/master/Example28/shader/ssao.frag.glsl
7
+ */
8
+ export type declare const SSAOShader: {
9
+ defines: {
10
+ PERSPECTIVE_CAMERA: number;
11
+ KERNEL_SIZE: number;
12
+ };
13
+ uniforms: {
14
+ tDiffuse: {
15
+ value: null;
16
+ };
17
+ tNormal: {
18
+ value: null;
19
+ };
20
+ tDepth: {
21
+ value: null;
22
+ };
23
+ tNoise: {
24
+ value: null;
25
+ };
26
+ kernel: {
27
+ value: null;
28
+ };
29
+ cameraNear: {
30
+ value: null;
31
+ };
32
+ cameraFar: {
33
+ value: null;
34
+ };
35
+ resolution: {
36
+ value: Vector2;
37
+ };
38
+ cameraProjectionMatrix: {
39
+ value: Matrix4;
40
+ };
41
+ cameraInverseProjectionMatrix: {
42
+ value: Matrix4;
43
+ };
44
+ kernelRadius: {
45
+ value: number;
46
+ };
47
+ minDistance: {
48
+ value: number;
49
+ };
50
+ maxDistance: {
51
+ value: number;
52
+ };
53
+ };
54
+ vertexShader: string;
55
+ fragmentShader: string;
56
+ };
57
+ export type declare const SSAODepthShader: {
58
+ defines: {
59
+ PERSPECTIVE_CAMERA: number;
60
+ };
61
+ uniforms: {
62
+ tDepth: {
63
+ value: null;
64
+ };
65
+ cameraNear: {
66
+ value: null;
67
+ };
68
+ cameraFar: {
69
+ value: null;
70
+ };
71
+ };
72
+ vertexShader: string;
73
+ fragmentShader: string;
74
+ };
75
+ export type declare const SSAOBlurShader: {
76
+ uniforms: {
77
+ tDiffuse: {
78
+ value: null;
79
+ };
80
+ resolution: {
81
+ value: Vector2;
82
+ };
83
+ };
84
+ vertexShader: string;
85
+ fragmentShader: string;
86
+ };
@@ -1,11 +1,11 @@
1
- import { Matrix4, Vector2 } from 'three';
1
+ import type { Matrix4, Vector2 } from 'three';
2
2
  /**
3
3
  * References:
4
4
  * http://john-chapman-graphics.blogspot.com/2013/01/ssao-tutorial.html
5
5
  * https://learnopengl.com/Advanced-Lighting/SSAO
6
6
  * https://github.com/McNopper/OpenGL/blob/master/Example28/shader/ssao.frag.glsl
7
7
  */
8
- export declare const SSAOShader: {
8
+ export type declare const SSAOShader: {
9
9
  defines: {
10
10
  PERSPECTIVE_CAMERA: number;
11
11
  KERNEL_SIZE: number;
@@ -54,7 +54,7 @@ export declare const SSAOShader: {
54
54
  vertexShader: string;
55
55
  fragmentShader: string;
56
56
  };
57
- export declare const SSAODepthShader: {
57
+ export type declare const SSAODepthShader: {
58
58
  defines: {
59
59
  PERSPECTIVE_CAMERA: number;
60
60
  };
@@ -72,7 +72,7 @@ export declare const SSAODepthShader: {
72
72
  vertexShader: string;
73
73
  fragmentShader: string;
74
74
  };
75
- export declare const SSAOBlurShader: {
75
+ export type declare const SSAOBlurShader: {
76
76
  uniforms: {
77
77
  tDiffuse: {
78
78
  value: null;
@@ -0,0 +1,94 @@
1
+ import type { Matrix4, Vector2 } from 'three';
2
+ /**
3
+ * References:
4
+ * https://lettier.github.io/3d-game-shaders-for-beginners/screen-space-reflection.html
5
+ */
6
+ export type declare const SSRShader: {
7
+ defines: {
8
+ MAX_STEP: number;
9
+ isPerspectiveCamera: boolean;
10
+ isDistanceAttenuation: boolean;
11
+ isFresnel: boolean;
12
+ isInfiniteThick: boolean;
13
+ isSelective: boolean;
14
+ };
15
+ uniforms: {
16
+ tDiffuse: {
17
+ value: null;
18
+ };
19
+ tNormal: {
20
+ value: null;
21
+ };
22
+ tMetalness: {
23
+ value: null;
24
+ };
25
+ tDepth: {
26
+ value: null;
27
+ };
28
+ cameraNear: {
29
+ value: null;
30
+ };
31
+ cameraFar: {
32
+ value: null;
33
+ };
34
+ resolution: {
35
+ value: Vector2;
36
+ };
37
+ cameraProjectionMatrix: {
38
+ value: Matrix4;
39
+ };
40
+ cameraInverseProjectionMatrix: {
41
+ value: Matrix4;
42
+ };
43
+ opacity: {
44
+ value: number;
45
+ };
46
+ maxDistance: {
47
+ value: number;
48
+ };
49
+ cameraRange: {
50
+ value: number;
51
+ };
52
+ surfDist: {
53
+ value: number;
54
+ };
55
+ thickTolerance: {
56
+ value: number;
57
+ };
58
+ };
59
+ vertexShader: string;
60
+ fragmentShader: string;
61
+ };
62
+ export type declare const SSRDepthShader: {
63
+ defines: {
64
+ PERSPECTIVE_CAMERA: number;
65
+ };
66
+ uniforms: {
67
+ tDepth: {
68
+ value: null;
69
+ };
70
+ cameraNear: {
71
+ value: null;
72
+ };
73
+ cameraFar: {
74
+ value: null;
75
+ };
76
+ };
77
+ vertexShader: string;
78
+ fragmentShader: string;
79
+ };
80
+ export type declare const SSRBlurShader: {
81
+ uniforms: {
82
+ tDiffuse: {
83
+ value: null;
84
+ };
85
+ resolution: {
86
+ value: Vector2;
87
+ };
88
+ opacity: {
89
+ value: number;
90
+ };
91
+ };
92
+ vertexShader: string;
93
+ fragmentShader: string;
94
+ };
@@ -1,9 +1,9 @@
1
- import { Matrix4, Vector2 } from 'three';
1
+ import type { Matrix4, Vector2 } from 'three';
2
2
  /**
3
3
  * References:
4
4
  * https://lettier.github.io/3d-game-shaders-for-beginners/screen-space-reflection.html
5
5
  */
6
- export declare const SSRShader: {
6
+ export type declare const SSRShader: {
7
7
  defines: {
8
8
  MAX_STEP: number;
9
9
  isPerspectiveCamera: boolean;
@@ -59,7 +59,7 @@ export declare const SSRShader: {
59
59
  vertexShader: string;
60
60
  fragmentShader: string;
61
61
  };
62
- export declare const SSRDepthShader: {
62
+ export type declare const SSRDepthShader: {
63
63
  defines: {
64
64
  PERSPECTIVE_CAMERA: number;
65
65
  };
@@ -77,7 +77,7 @@ export declare const SSRDepthShader: {
77
77
  vertexShader: string;
78
78
  fragmentShader: string;
79
79
  };
80
- export declare const SSRBlurShader: {
80
+ export type declare const SSRBlurShader: {
81
81
  uniforms: {
82
82
  tDiffuse: {
83
83
  value: null;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Sepia tone shader
3
+ * based on glfx.js sepia shader
4
+ * https://github.com/evanw/glfx.js
5
+ */
6
+ export type declare const SepiaShader: {
7
+ uniforms: {
8
+ tDiffuse: {
9
+ value: null;
10
+ };
11
+ amount: {
12
+ value: number;
13
+ };
14
+ };
15
+ vertexShader: string;
16
+ fragmentShader: string;
17
+ };
@@ -3,7 +3,7 @@
3
3
  * based on glfx.js sepia shader
4
4
  * https://github.com/evanw/glfx.js
5
5
  */
6
- export declare const SepiaShader: {
6
+ export type declare const SepiaShader: {
7
7
  uniforms: {
8
8
  tDiffuse: {
9
9
  value: null;
@@ -0,0 +1,19 @@
1
+ import type { Vector2 } from 'three';
2
+ /**
3
+ * Sobel Edge Detection (see https://youtu.be/uihBwtPIBxM)
4
+ *
5
+ * As mentioned in the video the Sobel operator expects a grayscale image as input.
6
+ *
7
+ */
8
+ export type declare const SobelOperatorShader: {
9
+ uniforms: {
10
+ tDiffuse: {
11
+ value: null;
12
+ };
13
+ resolution: {
14
+ value: Vector2;
15
+ };
16
+ };
17
+ vertexShader: string;
18
+ fragmentShader: string;
19
+ };
@@ -1,11 +1,11 @@
1
- import { Vector2 } from 'three';
1
+ import type { Vector2 } from 'three';
2
2
  /**
3
3
  * Sobel Edge Detection (see https://youtu.be/uihBwtPIBxM)
4
4
  *
5
5
  * As mentioned in the video the Sobel operator expects a grayscale image as input.
6
6
  *
7
7
  */
8
- export declare const SobelOperatorShader: {
8
+ export type declare const SobelOperatorShader: {
9
9
  uniforms: {
10
10
  tDiffuse: {
11
11
  value: null;
@@ -0,0 +1,5 @@
1
+ export type declare const SubsurfaceScatteringShader: {
2
+ uniforms: any;
3
+ vertexShader: any;
4
+ fragmentShader: any;
5
+ };
@@ -1,4 +1,4 @@
1
- export declare const SubsurfaceScatteringShader: {
1
+ export type declare const SubsurfaceScatteringShader: {
2
2
  uniforms: any;
3
3
  vertexShader: any;
4
4
  fragmentShader: any;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Technicolor Shader
3
+ * Simulates the look of the two-strip technicolor process popular in early 20th century films.
4
+ * More historical info here: http://www.widescreenmuseum.com/oldcolor/technicolor1.htm
5
+ * Demo here: http://charliehoey.com/technicolor_shader/shader_test.html
6
+ */
7
+ export type declare const TechnicolorShader: {
8
+ uniforms: {
9
+ tDiffuse: {
10
+ value: null;
11
+ };
12
+ };
13
+ vertexShader: string;
14
+ fragmentShader: string;
15
+ };
@@ -4,7 +4,7 @@
4
4
  * More historical info here: http://www.widescreenmuseum.com/oldcolor/technicolor1.htm
5
5
  * Demo here: http://charliehoey.com/technicolor_shader/shader_test.html
6
6
  */
7
- export declare const TechnicolorShader: {
7
+ export type declare const TechnicolorShader: {
8
8
  uniforms: {
9
9
  tDiffuse: {
10
10
  value: null;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Full-screen tone-mapping shader based on http://www.cis.rit.edu/people/faculty/ferwerda/publications/sig02_paper.pdf
3
+ */
4
+ export type declare const ToneMapShader: {
5
+ uniforms: {
6
+ tDiffuse: {
7
+ value: null;
8
+ };
9
+ averageLuminance: {
10
+ value: number;
11
+ };
12
+ luminanceMap: {
13
+ value: null;
14
+ };
15
+ maxLuminance: {
16
+ value: number;
17
+ };
18
+ minLuminance: {
19
+ value: number;
20
+ };
21
+ middleGrey: {
22
+ value: number;
23
+ };
24
+ };
25
+ vertexShader: string;
26
+ fragmentShader: string;
27
+ };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Full-screen tone-mapping shader based on http://www.cis.rit.edu/people/faculty/ferwerda/publications/sig02_paper.pdf
3
3
  */
4
- export declare const ToneMapShader: {
4
+ export type declare const ToneMapShader: {
5
5
  uniforms: {
6
6
  tDiffuse: {
7
7
  value: null;
@@ -0,0 +1,108 @@
1
+ import type { Color, Vector3 } from 'three';
2
+ /**
3
+ * Currently contains:
4
+ *
5
+ * toon1
6
+ * toon2
7
+ * hatching
8
+ * dotted
9
+ */
10
+ export type declare const ToonShader1: {
11
+ uniforms: {
12
+ uDirLightPos: {
13
+ value: Vector3;
14
+ };
15
+ uDirLightColor: {
16
+ value: Color;
17
+ };
18
+ uAmbientLightColor: {
19
+ value: Color;
20
+ };
21
+ uBaseColor: {
22
+ value: Color;
23
+ };
24
+ };
25
+ vertexShader: string;
26
+ fragmentShader: string;
27
+ };
28
+ export type declare const ToonShader2: {
29
+ uniforms: {
30
+ uDirLightPos: {
31
+ value: Vector3;
32
+ };
33
+ uDirLightColor: {
34
+ value: Color;
35
+ };
36
+ uAmbientLightColor: {
37
+ value: Color;
38
+ };
39
+ uBaseColor: {
40
+ value: Color;
41
+ };
42
+ uLineColor1: {
43
+ value: Color;
44
+ };
45
+ uLineColor2: {
46
+ value: Color;
47
+ };
48
+ uLineColor3: {
49
+ value: Color;
50
+ };
51
+ uLineColor4: {
52
+ value: Color;
53
+ };
54
+ };
55
+ vertexShader: string;
56
+ fragmentShader: string;
57
+ };
58
+ export type declare const ToonShaderHatching: {
59
+ uniforms: {
60
+ uDirLightPos: {
61
+ value: Vector3;
62
+ };
63
+ uDirLightColor: {
64
+ value: Color;
65
+ };
66
+ uAmbientLightColor: {
67
+ value: Color;
68
+ };
69
+ uBaseColor: {
70
+ value: Color;
71
+ };
72
+ uLineColor1: {
73
+ value: Color;
74
+ };
75
+ uLineColor2: {
76
+ value: Color;
77
+ };
78
+ uLineColor3: {
79
+ value: Color;
80
+ };
81
+ uLineColor4: {
82
+ value: Color;
83
+ };
84
+ };
85
+ vertexShader: string;
86
+ fragmentShader: string;
87
+ };
88
+ export type declare const ToonShaderDotted: {
89
+ uniforms: {
90
+ uDirLightPos: {
91
+ value: Vector3;
92
+ };
93
+ uDirLightColor: {
94
+ value: Color;
95
+ };
96
+ uAmbientLightColor: {
97
+ value: Color;
98
+ };
99
+ uBaseColor: {
100
+ value: Color;
101
+ };
102
+ uLineColor1: {
103
+ value: Color;
104
+ };
105
+ };
106
+ vertexShader: string;
107
+ fragmentShader: string;
108
+ };
@@ -1,4 +1,4 @@
1
- import { Color, Vector3 } from 'three';
1
+ import type { Color, Vector3 } from 'three';
2
2
  /**
3
3
  * Currently contains:
4
4
  *
@@ -7,7 +7,7 @@ import { Color, Vector3 } from 'three';
7
7
  * hatching
8
8
  * dotted
9
9
  */
10
- export declare const ToonShader1: {
10
+ export type declare const ToonShader1: {
11
11
  uniforms: {
12
12
  uDirLightPos: {
13
13
  value: Vector3;
@@ -25,7 +25,7 @@ export declare const ToonShader1: {
25
25
  vertexShader: string;
26
26
  fragmentShader: string;
27
27
  };
28
- export declare const ToonShader2: {
28
+ export type declare const ToonShader2: {
29
29
  uniforms: {
30
30
  uDirLightPos: {
31
31
  value: Vector3;
@@ -55,7 +55,7 @@ export declare const ToonShader2: {
55
55
  vertexShader: string;
56
56
  fragmentShader: string;
57
57
  };
58
- export declare const ToonShaderHatching: {
58
+ export type declare const ToonShaderHatching: {
59
59
  uniforms: {
60
60
  uDirLightPos: {
61
61
  value: Vector3;
@@ -85,7 +85,7 @@ export declare const ToonShaderHatching: {
85
85
  vertexShader: string;
86
86
  fragmentShader: string;
87
87
  };
88
- export declare const ToonShaderDotted: {
88
+ export type declare const ToonShaderDotted: {
89
89
  uniforms: {
90
90
  uDirLightPos: {
91
91
  value: Vector3;
@@ -0,0 +1,22 @@
1
+ import type { Vector2 } from 'three';
2
+ /**
3
+ * Triangle blur shader
4
+ * based on glfx.js triangle blur shader
5
+ * https://github.com/evanw/glfx.js
6
+ *
7
+ * A basic blur filter, which convolves the image with a
8
+ * pyramid filter. The pyramid filter is separable and is applied as two
9
+ * perpendicular triangle filters.
10
+ */
11
+ export type declare const TriangleBlurShader: {
12
+ uniforms: {
13
+ texture: {
14
+ value: null;
15
+ };
16
+ delta: {
17
+ value: Vector2;
18
+ };
19
+ };
20
+ vertexShader: string;
21
+ fragmentShader: string;
22
+ };
@@ -1,4 +1,4 @@
1
- import { Vector2 } from 'three';
1
+ import type { Vector2 } from 'three';
2
2
  /**
3
3
  * Triangle blur shader
4
4
  * based on glfx.js triangle blur shader
@@ -8,7 +8,7 @@ import { Vector2 } from 'three';
8
8
  * pyramid filter. The pyramid filter is separable and is applied as two
9
9
  * perpendicular triangle filters.
10
10
  */
11
- export declare const TriangleBlurShader: {
11
+ export type declare const TriangleBlurShader: {
12
12
  uniforms: {
13
13
  texture: {
14
14
  value: null;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Unpack RGBA depth shader
3
+ * - show RGBA encoded depth as monochrome color
4
+ */
5
+ export type declare const UnpackDepthRGBAShader: {
6
+ uniforms: {
7
+ tDiffuse: {
8
+ value: null;
9
+ };
10
+ opacity: {
11
+ value: number;
12
+ };
13
+ };
14
+ vertexShader: string;
15
+ fragmentShader: string;
16
+ };