@types/three 0.143.2 → 0.146.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. three/README.md +1 -1
  2. three/examples/jsm/animation/CCDIKSolver.d.ts +2 -1
  3. three/examples/jsm/animation/MMDPhysics.d.ts +6 -1
  4. three/examples/jsm/controls/FirstPersonControls.d.ts +4 -1
  5. three/examples/jsm/csm/CSM.d.ts +1 -1
  6. three/examples/jsm/csm/CSMHelper.d.ts +1 -0
  7. three/examples/jsm/environments/RoomEnvironment.d.ts +1 -0
  8. three/examples/jsm/helpers/OctreeHelper.d.ts +3 -0
  9. three/examples/jsm/helpers/VertexNormalsHelper.d.ts +2 -0
  10. three/examples/jsm/helpers/VertexTangentsHelper.d.ts +2 -0
  11. three/examples/jsm/interactive/SelectionHelper.d.ts +1 -3
  12. three/examples/jsm/libs/stats.module.d.ts +1 -1
  13. three/examples/jsm/loaders/PCDLoader.d.ts +1 -1
  14. three/examples/jsm/loaders/RGBELoader.d.ts +0 -1
  15. three/examples/jsm/loaders/TIFFLoader.d.ts +16 -0
  16. three/examples/jsm/loaders/USDZLoader.d.ts +18 -0
  17. three/examples/jsm/materials/MeshGouraudMaterial.d.ts +17 -0
  18. three/examples/jsm/math/ColorConverter.d.ts +0 -2
  19. three/examples/jsm/misc/GPUComputationRenderer.d.ts +1 -0
  20. three/examples/jsm/misc/ProgressiveLightMap.d.ts +1 -2
  21. three/examples/jsm/misc/Volume.d.ts +1 -1
  22. three/examples/jsm/modifiers/CurveModifier.d.ts +6 -6
  23. three/examples/jsm/nodes/Nodes.d.ts +21 -3
  24. three/examples/jsm/nodes/accessors/BitangentNode.d.ts +18 -0
  25. three/examples/jsm/nodes/accessors/NormalNode.d.ts +1 -6
  26. three/examples/jsm/nodes/accessors/PositionNode.d.ts +2 -0
  27. three/examples/jsm/nodes/accessors/TangentNode.d.ts +18 -0
  28. three/examples/jsm/nodes/core/CodeNode.d.ts +2 -2
  29. three/examples/jsm/nodes/core/FunctionCallNode.d.ts +5 -5
  30. three/examples/jsm/nodes/core/FunctionNode.d.ts +6 -4
  31. three/examples/jsm/nodes/core/Node.d.ts +1 -0
  32. three/examples/jsm/nodes/core/NodeBuilder.d.ts +4 -3
  33. three/examples/jsm/nodes/core/NodeUtils.d.ts +1 -0
  34. three/examples/jsm/nodes/core/NodeVarying.d.ts +8 -0
  35. three/examples/jsm/nodes/core/constants.d.ts +13 -13
  36. three/examples/jsm/nodes/display/BlendModeNode.d.ts +32 -0
  37. three/examples/jsm/nodes/display/PosterizeNode.d.ts +8 -0
  38. three/examples/jsm/nodes/materials/Materials.d.ts +8 -6
  39. three/examples/jsm/nodes/materials/MeshPhysicalNodeMaterial.d.ts +22 -0
  40. three/examples/jsm/nodes/materialx/MaterialXNodes.d.ts +94 -0
  41. three/examples/jsm/nodes/materialx/lib/mx_hsv.d.ts +4 -0
  42. three/examples/jsm/nodes/materialx/lib/mx_noise.d.ts +6 -0
  43. three/examples/jsm/nodes/math/MathNode.d.ts +1 -2
  44. three/examples/jsm/nodes/procedural/CheckerNode.d.ts +2 -2
  45. three/examples/jsm/nodes/shadernode/ShaderNode.d.ts +10 -8
  46. three/examples/jsm/nodes/shadernode/ShaderNodeBaseElements.d.ts +49 -9
  47. three/examples/jsm/nodes/shadernode/ShaderNodeElements.d.ts +30 -0
  48. three/examples/jsm/nodes/utils/EquirectUVNode.d.ts +6 -0
  49. three/examples/jsm/nodes/utils/RemapNode.d.ts +13 -0
  50. three/examples/jsm/nodes/utils/TimerNode.d.ts +6 -1
  51. three/examples/jsm/nodes/utils/TriplanarTexturesNode.d.ts +22 -0
  52. three/examples/jsm/objects/ReflectorForSSRPass.d.ts +4 -4
  53. three/examples/jsm/postprocessing/BloomPass.d.ts +1 -1
  54. three/examples/jsm/postprocessing/BokehPass.d.ts +0 -2
  55. three/examples/jsm/postprocessing/EffectComposer.d.ts +1 -0
  56. three/examples/jsm/postprocessing/Pass.d.ts +2 -0
  57. three/examples/jsm/postprocessing/SSRPass.d.ts +3 -3
  58. three/examples/jsm/renderers/webgl/nodes/SlotNode.d.ts +15 -3
  59. three/examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.d.ts +6 -6
  60. three/examples/jsm/renderers/webgl/nodes/WebGLNodes.d.ts +1 -1
  61. three/examples/jsm/shaders/AfterimageShader.d.ts +4 -4
  62. three/examples/jsm/shaders/BleachBypassShader.d.ts +3 -3
  63. three/examples/jsm/shaders/BlendShader.d.ts +5 -5
  64. three/examples/jsm/shaders/BokehShader.d.ts +9 -9
  65. three/examples/jsm/shaders/BokehShader2.d.ts +26 -26
  66. three/examples/jsm/shaders/BrightnessContrastShader.d.ts +4 -4
  67. three/examples/jsm/shaders/ColorCorrectionShader.d.ts +5 -5
  68. three/examples/jsm/shaders/ColorifyShader.d.ts +3 -3
  69. three/examples/jsm/shaders/ConvolutionShader.d.ts +4 -4
  70. three/examples/jsm/shaders/CopyShader.d.ts +3 -3
  71. three/examples/jsm/shaders/DOFMipMapShader.d.ts +5 -5
  72. three/examples/jsm/shaders/DepthLimitedBlurShader.d.ts +9 -9
  73. three/examples/jsm/shaders/DigitalGlitch.d.ts +12 -12
  74. three/examples/jsm/shaders/DotScreenShader.d.ts +6 -6
  75. three/examples/jsm/shaders/FXAAShader.d.ts +3 -3
  76. three/examples/jsm/shaders/FilmShader.d.ts +7 -7
  77. three/examples/jsm/shaders/FocusShader.d.ts +6 -6
  78. three/examples/jsm/shaders/FreiChenShader.d.ts +3 -3
  79. three/examples/jsm/shaders/GammaCorrectionShader.d.ts +2 -2
  80. three/examples/jsm/shaders/GodRaysShader.d.ts +12 -12
  81. three/examples/jsm/shaders/HalftoneShader.d.ts +14 -14
  82. three/examples/jsm/shaders/HorizontalBlurShader.d.ts +3 -3
  83. three/examples/jsm/shaders/HorizontalTiltShiftShader.d.ts +4 -4
  84. three/examples/jsm/shaders/HueSaturationShader.d.ts +4 -4
  85. three/examples/jsm/shaders/KaleidoShader.d.ts +4 -4
  86. three/examples/jsm/shaders/LuminosityHighPassShader.d.ts +6 -6
  87. three/examples/jsm/shaders/LuminosityShader.d.ts +2 -2
  88. three/examples/jsm/shaders/MirrorShader.d.ts +3 -3
  89. three/examples/jsm/shaders/NormalMapShader.d.ts +5 -5
  90. three/examples/jsm/shaders/PixelShader.d.ts +4 -4
  91. three/examples/jsm/shaders/RGBShiftShader.d.ts +4 -4
  92. three/examples/jsm/shaders/SAOShader.d.ts +15 -15
  93. three/examples/jsm/shaders/SMAAShader.d.ts +10 -10
  94. three/examples/jsm/shaders/SSAOShader.d.ts +19 -19
  95. three/examples/jsm/shaders/SepiaShader.d.ts +3 -3
  96. three/examples/jsm/shaders/SobelOperatorShader.d.ts +3 -3
  97. three/examples/jsm/shaders/SubsurfaceScatteringShader.d.ts +30 -30
  98. three/examples/jsm/shaders/TechnicolorShader.d.ts +2 -2
  99. three/examples/jsm/shaders/ToneMapShader.d.ts +7 -7
  100. three/examples/jsm/shaders/ToonShader.d.ts +26 -26
  101. three/examples/jsm/shaders/TriangleBlurShader.d.ts +3 -3
  102. three/examples/jsm/shaders/UnpackDepthRGBAShader.d.ts +3 -3
  103. three/examples/jsm/shaders/VelocityShader.d.ts +13 -0
  104. three/examples/jsm/shaders/VerticalBlurShader.d.ts +3 -3
  105. three/examples/jsm/shaders/VerticalTiltShiftShader.d.ts +4 -4
  106. three/examples/jsm/shaders/VignetteShader.d.ts +4 -4
  107. three/examples/jsm/shaders/VolumeShader.d.ts +7 -7
  108. three/examples/jsm/shaders/WaterRefractionShader.d.ts +6 -6
  109. three/examples/jsm/utils/BufferGeometryUtils.d.ts +1 -0
  110. three/examples/jsm/utils/CameraUtils.d.ts +1 -1
  111. three/examples/jsm/utils/SceneUtils.d.ts +9 -1
  112. three/index.d.ts +1 -1
  113. three/package.json +3 -3
  114. three/src/Three.d.ts +3 -1
  115. three/src/constants.d.ts +0 -5
  116. three/src/core/BufferAttribute.d.ts +0 -4
  117. three/src/core/BufferGeometry.d.ts +0 -1
  118. three/src/core/Object3D.d.ts +11 -2
  119. three/src/extras/core/ShapePath.d.ts +1 -1
  120. three/src/geometries/BoxGeometry.d.ts +0 -2
  121. three/src/geometries/CapsuleGeometry.d.ts +0 -2
  122. three/src/geometries/CircleGeometry.d.ts +0 -2
  123. three/src/geometries/ConeGeometry.d.ts +0 -2
  124. three/src/geometries/CylinderGeometry.d.ts +0 -2
  125. three/src/geometries/DodecahedronGeometry.d.ts +0 -2
  126. three/src/geometries/ExtrudeGeometry.d.ts +0 -2
  127. three/src/geometries/IcosahedronGeometry.d.ts +0 -2
  128. three/src/geometries/LatheGeometry.d.ts +0 -2
  129. three/src/geometries/OctahedronGeometry.d.ts +0 -2
  130. three/src/geometries/PlaneGeometry.d.ts +0 -2
  131. three/src/geometries/PolyhedronGeometry.d.ts +0 -2
  132. three/src/geometries/RingGeometry.d.ts +0 -2
  133. three/src/geometries/ShapeGeometry.d.ts +0 -2
  134. three/src/geometries/SphereGeometry.d.ts +0 -2
  135. three/src/geometries/TetrahedronGeometry.d.ts +0 -2
  136. three/src/geometries/TorusGeometry.d.ts +0 -2
  137. three/src/geometries/TorusKnotGeometry.d.ts +0 -2
  138. three/src/geometries/TubeGeometry.d.ts +0 -2
  139. three/src/helpers/ArrowHelper.d.ts +4 -0
  140. three/src/helpers/Box3Helper.d.ts +2 -0
  141. three/src/helpers/BoxHelper.d.ts +2 -0
  142. three/src/helpers/GridHelper.d.ts +1 -4
  143. three/src/helpers/PlaneHelper.d.ts +2 -0
  144. three/src/helpers/PolarGridHelper.d.ts +2 -0
  145. three/src/helpers/SkeletonHelper.d.ts +2 -0
  146. three/src/loaders/DataTextureLoader.d.ts +1 -1
  147. three/src/materials/LineBasicMaterial.d.ts +7 -0
  148. three/src/materials/MeshLambertMaterial.d.ts +52 -1
  149. three/src/materials/MeshPhysicalMaterial.d.ts +5 -0
  150. three/src/materials/ShaderMaterial.d.ts +1 -1
  151. three/src/math/ColorManagement.d.ts +11 -1
  152. three/src/math/Euler.d.ts +13 -11
  153. three/src/math/Quaternion.d.ts +10 -6
  154. three/src/renderers/WebGL3DRenderTarget.d.ts +1 -1
  155. three/src/renderers/WebGLArrayRenderTarget.d.ts +1 -1
  156. three/src/renderers/WebGLCubeRenderTarget.d.ts +1 -1
  157. three/src/renderers/WebGLMultipleRenderTargets.d.ts +1 -1
  158. three/src/renderers/WebGLRenderTarget.d.ts +1 -1
  159. three/src/renderers/WebGLRenderer.d.ts +1 -5
  160. three/src/renderers/shaders/UniformsLib.d.ts +3 -2
  161. three/src/renderers/shaders/UniformsUtils.d.ts +0 -1
  162. three/src/renderers/webgl/WebGLCapabilities.d.ts +1 -0
  163. three/src/scenes/Scene.d.ts +2 -5
  164. three/src/textures/CanvasTexture.d.ts +2 -2
  165. three/src/textures/CompressedArrayTexture.d.ts +17 -0
  166. three/src/textures/Texture.d.ts +5 -1
  167. three/examples/jsm/nodes/core/NodeVary.d.ts +0 -6
  168. three/examples/jsm/renderers/webgl/nodes/WebGLPhysicalContextNode.d.ts +0 -13
@@ -1,10 +1,10 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const AfterimageShader: {
4
4
  uniforms: {
5
- damp: Uniform;
6
- tOld: Uniform;
7
- tNew: Uniform;
5
+ damp: IUniform;
6
+ tOld: IUniform;
7
+ tNew: IUniform;
8
8
  };
9
9
  vertexShader: string;
10
10
  fragmentShader: string;
@@ -1,9 +1,9 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const BleachBypassShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- opacity: Uniform;
5
+ tDiffuse: IUniform;
6
+ opacity: IUniform;
7
7
  };
8
8
  vertexShader: string;
9
9
  fragmentShader: string;
@@ -1,11 +1,11 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const BlendShader: {
4
4
  uniforms: {
5
- tDiffuse1: Uniform;
6
- tDiffuse2: Uniform;
7
- mixRatio: Uniform;
8
- opacity: Uniform;
5
+ tDiffuse1: IUniform;
6
+ tDiffuse2: IUniform;
7
+ mixRatio: IUniform;
8
+ opacity: IUniform;
9
9
  };
10
10
  vertexShader: string;
11
11
  fragmentShader: string;
@@ -1,4 +1,4 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const BokehShader: {
4
4
  defines: {
@@ -6,14 +6,14 @@ export const BokehShader: {
6
6
  PERSPECTIVE_CAMERA: number;
7
7
  };
8
8
  uniforms: {
9
- tColor: Uniform;
10
- tDepth: Uniform;
11
- focus: Uniform;
12
- aspect: Uniform;
13
- aperture: Uniform;
14
- maxblur: Uniform;
15
- nearClip: Uniform;
16
- farClip: Uniform;
9
+ tColor: IUniform;
10
+ tDepth: IUniform;
11
+ focus: IUniform;
12
+ aspect: IUniform;
13
+ aperture: IUniform;
14
+ maxblur: IUniform;
15
+ nearClip: IUniform;
16
+ farClip: IUniform;
17
17
  };
18
18
  vertexShader: string;
19
19
  fragmentShader: string;
@@ -1,29 +1,29 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export interface BokehShaderUniforms {
4
- textureWidth: Uniform;
5
- textureHeight: Uniform;
6
- focalDepth: Uniform;
7
- focalLength: Uniform;
8
- fstop: Uniform;
9
- tColor: Uniform;
10
- tDepth: Uniform;
11
- maxblur: Uniform;
12
- showFocus: Uniform;
13
- manualdof: Uniform;
14
- vignetting: Uniform;
15
- depthblur: Uniform;
16
- threshold: Uniform;
17
- gain: Uniform;
18
- bias: Uniform;
19
- fringe: Uniform;
20
- znear: Uniform;
21
- zfar: Uniform;
22
- noise: Uniform;
23
- dithering: Uniform;
24
- pentagon: Uniform;
25
- shaderFocus: Uniform;
26
- focusCoords: Uniform;
4
+ textureWidth: IUniform;
5
+ textureHeight: IUniform;
6
+ focalDepth: IUniform;
7
+ focalLength: IUniform;
8
+ fstop: IUniform;
9
+ tColor: IUniform;
10
+ tDepth: IUniform;
11
+ maxblur: IUniform;
12
+ showFocus: IUniform;
13
+ manualdof: IUniform;
14
+ vignetting: IUniform;
15
+ depthblur: IUniform;
16
+ threshold: IUniform;
17
+ gain: IUniform;
18
+ bias: IUniform;
19
+ fringe: IUniform;
20
+ znear: IUniform;
21
+ zfar: IUniform;
22
+ noise: IUniform;
23
+ dithering: IUniform;
24
+ pentagon: IUniform;
25
+ shaderFocus: IUniform;
26
+ focusCoords: IUniform;
27
27
  }
28
28
 
29
29
  export const BokehShader: {
@@ -34,8 +34,8 @@ export const BokehShader: {
34
34
 
35
35
  export const BokehDepthShader: {
36
36
  uniforms: {
37
- mNear: Uniform;
38
- mFar: Uniform;
37
+ mNear: IUniform;
38
+ mFar: IUniform;
39
39
  };
40
40
  vertexShader: string;
41
41
  fragmentShader: string;
@@ -1,10 +1,10 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const BrightnessContrastShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- brightness: Uniform;
7
- contrast: Uniform;
5
+ tDiffuse: IUniform;
6
+ brightness: IUniform;
7
+ contrast: IUniform;
8
8
  };
9
9
  vertexShader: string;
10
10
  fragmentShader: string;
@@ -1,11 +1,11 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const ColorCorrectionShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- powRGB: Uniform;
7
- mulRGB: Uniform;
8
- addRGB: Uniform;
5
+ tDiffuse: IUniform;
6
+ powRGB: IUniform;
7
+ mulRGB: IUniform;
8
+ addRGB: IUniform;
9
9
  };
10
10
  vertexShader: string;
11
11
  fragmentShader: string;
@@ -1,9 +1,9 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const ColorifyShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- color: Uniform;
5
+ tDiffuse: IUniform;
6
+ color: IUniform;
7
7
  };
8
8
  vertexShader: string;
9
9
  fragmentShader: string;
@@ -1,4 +1,4 @@
1
- import { Uniform } from '../../../src/core/Uniform';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const ConvolutionShader: {
4
4
  defines: {
@@ -6,9 +6,9 @@ export const ConvolutionShader: {
6
6
  KERNEL_SIZE_INT: string;
7
7
  };
8
8
  uniforms: {
9
- tDiffuse: Uniform;
10
- uImageIncrement: Uniform;
11
- cKernel: Uniform;
9
+ tDiffuse: IUniform;
10
+ uImageIncrement: IUniform;
11
+ cKernel: IUniform;
12
12
  };
13
13
  vertexShader: string;
14
14
  fragmentShader: string;
@@ -1,9 +1,9 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const CopyShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- opacity: Uniform;
5
+ tDiffuse: IUniform;
6
+ opacity: IUniform;
7
7
  };
8
8
  vertexShader: string;
9
9
  fragmentShader: string;
@@ -1,11 +1,11 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const DOFMipMapShader: {
4
4
  uniforms: {
5
- tColor: Uniform;
6
- tDepth: Uniform;
7
- focus: Uniform;
8
- maxblur: Uniform;
5
+ tColor: IUniform;
6
+ tDepth: IUniform;
7
+ focus: IUniform;
8
+ maxblur: IUniform;
9
9
  };
10
10
  vertexShader: string;
11
11
  fragmentShader: string;
@@ -1,4 +1,4 @@
1
- import { Uniform, Vector2, Material } from '../../../src/Three';
1
+ import { IUniform, Vector2, Material } from '../../../src/Three';
2
2
 
3
3
  export const DepthLimitedBlurShader: {
4
4
  defines: {
@@ -7,14 +7,14 @@ export const DepthLimitedBlurShader: {
7
7
  PERSPECTIVE_CAMERA: number;
8
8
  };
9
9
  uniforms: {
10
- tDiffuse: Uniform;
11
- size: Uniform;
12
- sampleUvOffsets: Uniform;
13
- sampleWeights: Uniform;
14
- tDepth: Uniform;
15
- cameraNear: Uniform;
16
- cameraFar: Uniform;
17
- depthCutoff: Uniform;
10
+ tDiffuse: IUniform;
11
+ size: IUniform;
12
+ sampleUvOffsets: IUniform;
13
+ sampleWeights: IUniform;
14
+ tDepth: IUniform;
15
+ cameraNear: IUniform;
16
+ cameraFar: IUniform;
17
+ depthCutoff: IUniform;
18
18
  };
19
19
  vertexShader: string;
20
20
  fragmentShader: string;
@@ -1,18 +1,18 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const DigitalGlitch: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- tDisp: Uniform;
7
- byp: Uniform;
8
- amount: Uniform;
9
- angle: Uniform;
10
- seed: Uniform;
11
- seed_x: Uniform;
12
- seed_y: Uniform;
13
- distortion_x: Uniform;
14
- distortion_y: Uniform;
15
- col_s: Uniform;
5
+ tDiffuse: IUniform;
6
+ tDisp: IUniform;
7
+ byp: IUniform;
8
+ amount: IUniform;
9
+ angle: IUniform;
10
+ seed: IUniform;
11
+ seed_x: IUniform;
12
+ seed_y: IUniform;
13
+ distortion_x: IUniform;
14
+ distortion_y: IUniform;
15
+ col_s: IUniform;
16
16
  };
17
17
  vertexShader: string;
18
18
  fragmentShader: string;
@@ -1,12 +1,12 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const DotScreenShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- tSize: Uniform;
7
- center: Uniform;
8
- angle: Uniform;
9
- scale: Uniform;
5
+ tDiffuse: IUniform;
6
+ tSize: IUniform;
7
+ center: IUniform;
8
+ angle: IUniform;
9
+ scale: IUniform;
10
10
  };
11
11
  vertexShader: string;
12
12
  fragmentShader: string;
@@ -1,9 +1,9 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const FXAAShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- resolution: Uniform;
5
+ tDiffuse: IUniform;
6
+ resolution: IUniform;
7
7
  };
8
8
  vertexShader: string;
9
9
  fragmentShader: string;
@@ -1,13 +1,13 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const FilmShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- time: Uniform;
7
- nIntensity: Uniform;
8
- sIntensity: Uniform;
9
- sCount: Uniform;
10
- grayscale: Uniform;
5
+ tDiffuse: IUniform;
6
+ time: IUniform;
7
+ nIntensity: IUniform;
8
+ sIntensity: IUniform;
9
+ sCount: IUniform;
10
+ grayscale: IUniform;
11
11
  };
12
12
  vertexShader: string;
13
13
  fragmentShader: string;
@@ -1,12 +1,12 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const FocusShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- screenWidth: Uniform;
7
- screenHeight: Uniform;
8
- sampleDistance: Uniform;
9
- waveFactor: Uniform;
5
+ tDiffuse: IUniform;
6
+ screenWidth: IUniform;
7
+ screenHeight: IUniform;
8
+ sampleDistance: IUniform;
9
+ waveFactor: IUniform;
10
10
  };
11
11
  vertexShader: string;
12
12
  fragmentShader: string;
@@ -1,9 +1,9 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const FreiChenShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- aspect: Uniform;
5
+ tDiffuse: IUniform;
6
+ aspect: IUniform;
7
7
  };
8
8
  vertexShader: string;
9
9
  fragmentShader: string;
@@ -1,8 +1,8 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const GammaCorrectionShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
5
+ tDiffuse: IUniform;
6
6
  };
7
7
  vertexShader: string;
8
8
  fragmentShader: string;
@@ -1,8 +1,8 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const GodRaysDepthMaskShader: {
4
4
  uniforms: {
5
- tInput: Uniform;
5
+ tInput: IUniform;
6
6
  };
7
7
  vertexShader: string;
8
8
  fragmentShader: string;
@@ -10,9 +10,9 @@ export const GodRaysDepthMaskShader: {
10
10
 
11
11
  export const GodRaysGenerateShader: {
12
12
  uniforms: {
13
- tInput: Uniform;
14
- fStepSize: Uniform;
15
- vSunPositionScreenSpace: Uniform;
13
+ tInput: IUniform;
14
+ fStepSize: IUniform;
15
+ vSunPositionScreenSpace: IUniform;
16
16
  };
17
17
  vertexShader: string;
18
18
  fragmentShader: string;
@@ -20,9 +20,9 @@ export const GodRaysGenerateShader: {
20
20
 
21
21
  export const GodRaysCombineShader: {
22
22
  uniforms: {
23
- tColors: Uniform;
24
- tGodRays: Uniform;
25
- fGodRayIntensity: Uniform;
23
+ tColors: IUniform;
24
+ tGodRays: IUniform;
25
+ fGodRayIntensity: IUniform;
26
26
  };
27
27
  vertexShader: string;
28
28
  fragmentShader: string;
@@ -30,10 +30,10 @@ export const GodRaysCombineShader: {
30
30
 
31
31
  export const GodRaysFakeSunShader: {
32
32
  uniforms: {
33
- vSunPositionScreenSpace: Uniform;
34
- fAspect: Uniform;
35
- sunColor: Uniform;
36
- bgColor: Uniform;
33
+ vSunPositionScreenSpace: IUniform;
34
+ fAspect: IUniform;
35
+ sunColor: IUniform;
36
+ bgColor: IUniform;
37
37
  };
38
38
  vertexShader: string;
39
39
  fragmentShader: string;
@@ -1,20 +1,20 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const HalftoneShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- shape: Uniform;
7
- radius: Uniform;
8
- rotateR: Uniform;
9
- rotateG: Uniform;
10
- rotateB: Uniform;
11
- scatter: Uniform;
12
- width: Uniform;
13
- height: Uniform;
14
- blending: Uniform;
15
- blendingMode: Uniform;
16
- greyscale: Uniform;
17
- disable: Uniform;
5
+ tDiffuse: IUniform;
6
+ shape: IUniform;
7
+ radius: IUniform;
8
+ rotateR: IUniform;
9
+ rotateG: IUniform;
10
+ rotateB: IUniform;
11
+ scatter: IUniform;
12
+ width: IUniform;
13
+ height: IUniform;
14
+ blending: IUniform;
15
+ blendingMode: IUniform;
16
+ greyscale: IUniform;
17
+ disable: IUniform;
18
18
  };
19
19
  vertexShader: string;
20
20
  fragmentShader: string;
@@ -1,9 +1,9 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const HorizontalBlurShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- h: Uniform;
5
+ tDiffuse: IUniform;
6
+ h: IUniform;
7
7
  };
8
8
  vertexShader: string;
9
9
  fragmentShader: string;
@@ -1,10 +1,10 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const HorizontalTiltShiftShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- h: Uniform;
7
- r: Uniform;
5
+ tDiffuse: IUniform;
6
+ h: IUniform;
7
+ r: IUniform;
8
8
  };
9
9
  vertexShader: string;
10
10
  fragmentShader: string;
@@ -1,10 +1,10 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const HueSaturationShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- hue: Uniform;
7
- saturation: Uniform;
5
+ tDiffuse: IUniform;
6
+ hue: IUniform;
7
+ saturation: IUniform;
8
8
  };
9
9
  vertexShader: string;
10
10
  fragmentShader: string;
@@ -1,10 +1,10 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const KaleidoShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- sides: Uniform;
7
- angle: Uniform;
5
+ tDiffuse: IUniform;
6
+ sides: IUniform;
7
+ angle: IUniform;
8
8
  };
9
9
  vertexShader: string;
10
10
  fragmentShader: string;
@@ -1,13 +1,13 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const LuminosityHighPassShader: {
4
4
  shaderID: string;
5
5
  uniforms: {
6
- tDiffuse: Uniform;
7
- luminosityThreshold: Uniform;
8
- smoothWidth: Uniform;
9
- defaultColor: Uniform;
10
- defaultOpacity: Uniform;
6
+ tDiffuse: IUniform;
7
+ luminosityThreshold: IUniform;
8
+ smoothWidth: IUniform;
9
+ defaultColor: IUniform;
10
+ defaultOpacity: IUniform;
11
11
  };
12
12
  vertexShader: string;
13
13
  fragmentShader: string;
@@ -1,8 +1,8 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const LuminosityShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
5
+ tDiffuse: IUniform;
6
6
  };
7
7
  vertexShader: string;
8
8
  fragmentShader: string;
@@ -1,9 +1,9 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const MirrorShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- side: Uniform;
5
+ tDiffuse: IUniform;
6
+ side: IUniform;
7
7
  };
8
8
  vertexShader: string;
9
9
  fragmentShader: string;
@@ -1,11 +1,11 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const NormalMapShader: {
4
4
  uniforms: {
5
- heightMap: Uniform;
6
- resolution: Uniform;
7
- scale: Uniform;
8
- height: Uniform;
5
+ heightMap: IUniform;
6
+ resolution: IUniform;
7
+ scale: IUniform;
8
+ height: IUniform;
9
9
  };
10
10
  vertexShader: string;
11
11
  fragmentShader: string;
@@ -1,10 +1,10 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const PixelShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- resolution: Uniform;
7
- pixelSize: Uniform;
5
+ tDiffuse: IUniform;
6
+ resolution: IUniform;
7
+ pixelSize: IUniform;
8
8
  };
9
9
  vertexShader: string;
10
10
  fragmentShader: string;
@@ -1,10 +1,10 @@
1
- import { Uniform } from '../../../src/Three';
1
+ import { IUniform } from '../../../src/Three';
2
2
 
3
3
  export const RGBShiftShader: {
4
4
  uniforms: {
5
- tDiffuse: Uniform;
6
- amount: Uniform;
7
- angle: Uniform;
5
+ tDiffuse: IUniform;
6
+ amount: IUniform;
7
+ angle: IUniform;
8
8
  };
9
9
  vertexShader: string;
10
10
  fragmentShader: string;