three-stdlib 2.35.8 → 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.
- package/_polyfill/constants.d.cts +1 -1
- package/_polyfill/constants.d.ts +1 -1
- package/_polyfill/uv1.d.cts +1 -1
- package/_polyfill/uv1.d.ts +1 -1
- package/controls/ArcballControls.d.cts +1 -1
- package/controls/ArcballControls.d.ts +1 -1
- package/controls/DeviceOrientationControls.d.cts +1 -1
- package/controls/DeviceOrientationControls.d.ts +1 -1
- package/controls/DragControls.d.cts +1 -1
- package/controls/DragControls.d.ts +1 -1
- package/controls/EventDispatcher.d.cts +1 -1
- package/controls/EventDispatcher.d.ts +1 -1
- package/controls/FirstPersonControls.d.cts +1 -1
- package/controls/FirstPersonControls.d.ts +1 -1
- package/controls/FlyControls.d.cts +1 -1
- package/controls/FlyControls.d.ts +1 -1
- package/controls/OrbitControls.d.cts +1 -1
- package/controls/OrbitControls.d.ts +1 -1
- package/controls/PointerLockControls.d.cts +1 -1
- package/controls/PointerLockControls.d.ts +1 -1
- package/controls/TrackballControls.d.cts +1 -1
- package/controls/TrackballControls.d.ts +1 -1
- package/controls/TransformControls.d.cts +1 -1
- package/controls/TransformControls.d.ts +1 -1
- package/controls/experimental/CameraControls.d.cts +2 -2
- package/controls/experimental/CameraControls.d.ts +2 -2
- package/csm/CSMFrustum.d.cts +1 -1
- package/csm/CSMFrustum.d.ts +1 -1
- package/environments/RoomEnvironment.d.cts +1 -1
- package/environments/RoomEnvironment.d.ts +1 -1
- package/exporters/ColladaExporter.d.cts +1 -1
- package/exporters/ColladaExporter.d.ts +1 -1
- package/exporters/DRACOExporter.d.cts +1 -1
- package/exporters/DRACOExporter.d.ts +1 -1
- package/exporters/GLTFExporter.d.cts +3 -3
- package/exporters/GLTFExporter.d.ts +3 -3
- package/exporters/MMDExporter.d.cts +1 -1
- package/exporters/MMDExporter.d.ts +1 -1
- package/exporters/OBJExporter.d.cts +1 -1
- package/exporters/OBJExporter.d.ts +1 -1
- package/exporters/PLYExporter.d.cts +1 -1
- package/exporters/PLYExporter.d.ts +1 -1
- package/exporters/STLExporter.d.cts +1 -1
- package/exporters/STLExporter.d.ts +1 -1
- package/exporters/USDZExporter.d.cts +1 -1
- package/exporters/USDZExporter.d.ts +1 -1
- package/geometries/ParametricGeometries.d.cts +1 -1
- package/geometries/ParametricGeometries.d.ts +1 -1
- package/geometries/ParametricGeometry.d.cts +1 -1
- package/geometries/ParametricGeometry.d.ts +1 -1
- package/geometries/TextGeometry.d.cts +2 -2
- package/geometries/TextGeometry.d.ts +2 -2
- package/helpers/RaycasterHelper.d.cts +1 -1
- package/helpers/RaycasterHelper.d.ts +1 -1
- package/index.d.cts +262 -262
- package/index.d.ts +262 -262
- package/libs/MeshoptDecoder.d.cts +1 -1
- package/libs/MeshoptDecoder.d.ts +1 -1
- package/libs/MotionControllers.d.cts +1 -1
- package/libs/MotionControllers.d.ts +1 -1
- package/libs/zstddec.d.cts +1 -1
- package/libs/zstddec.d.ts +1 -1
- package/lights/LightProbeGenerator.d.cts +1 -1
- package/lights/LightProbeGenerator.d.ts +1 -1
- package/lights/RectAreaLightUniformsLib.d.cts +1 -1
- package/lights/RectAreaLightUniformsLib.d.ts +1 -1
- package/loaders/FontLoader.d.cts +3 -3
- package/loaders/FontLoader.d.ts +3 -3
- package/math/ColorConverter.d.cts +1 -1
- package/math/ColorConverter.d.ts +1 -1
- package/math/SimplexNoise.d.cts +1 -1
- package/math/SimplexNoise.d.ts +1 -1
- package/misc/Timer.d.cts +1 -1
- package/misc/Timer.d.ts +1 -1
- package/misc/WebGL.d.cts +5 -5
- package/misc/WebGL.d.ts +5 -5
- package/modifiers/CurveModifier.d.cts +6 -6
- package/modifiers/CurveModifier.d.ts +6 -6
- package/modifiers/EdgeSplitModifier.d.cts +1 -1
- package/modifiers/EdgeSplitModifier.d.ts +1 -1
- package/modifiers/SimplifyModifier.d.cts +1 -1
- package/modifiers/SimplifyModifier.d.ts +1 -1
- package/modifiers/TessellateModifier.d.cts +1 -1
- package/modifiers/TessellateModifier.d.ts +1 -1
- package/objects/BatchedMesh.d.cts +1 -1
- package/objects/BatchedMesh.d.ts +1 -1
- package/objects/GroundProjectedEnv.d.cts +1 -1
- package/objects/GroundProjectedEnv.d.ts +1 -1
- package/objects/ReflectorRTT.d.cts +1 -1
- package/objects/ReflectorRTT.d.ts +1 -1
- package/objects/Sky.d.cts +1 -1
- package/objects/Sky.d.ts +1 -1
- package/package.json +1 -1
- package/postprocessing/AfterimagePass.d.cts +1 -1
- package/postprocessing/AfterimagePass.d.ts +1 -1
- package/postprocessing/BloomPass.d.cts +1 -1
- package/postprocessing/BloomPass.d.ts +1 -1
- package/postprocessing/BokehPass.d.cts +1 -1
- package/postprocessing/BokehPass.d.ts +1 -1
- package/postprocessing/ClearPass.d.cts +1 -1
- package/postprocessing/ClearPass.d.ts +1 -1
- package/postprocessing/DotScreenPass.d.cts +1 -1
- package/postprocessing/DotScreenPass.d.ts +1 -1
- package/postprocessing/EffectComposer.d.cts +1 -1
- package/postprocessing/EffectComposer.d.ts +1 -1
- package/postprocessing/FilmPass.d.cts +1 -1
- package/postprocessing/FilmPass.d.ts +1 -1
- package/postprocessing/GlitchPass.d.cts +1 -1
- package/postprocessing/GlitchPass.d.ts +1 -1
- package/postprocessing/HalftonePass.d.cts +1 -1
- package/postprocessing/HalftonePass.d.ts +1 -1
- package/postprocessing/MaskPass.d.cts +1 -1
- package/postprocessing/MaskPass.d.ts +1 -1
- package/postprocessing/OutlinePass.d.cts +1 -1
- package/postprocessing/OutlinePass.d.ts +1 -1
- package/postprocessing/Pass.d.cts +1 -1
- package/postprocessing/Pass.d.ts +1 -1
- package/postprocessing/RenderPass.d.cts +1 -1
- package/postprocessing/RenderPass.d.ts +1 -1
- package/postprocessing/ShaderPass.d.cts +1 -1
- package/postprocessing/ShaderPass.d.ts +1 -1
- package/postprocessing/WaterPass.d.cts +1 -1
- package/postprocessing/WaterPass.d.ts +1 -1
- package/shaders/ACESFilmicToneMappingShader.d.cts +1 -1
- package/shaders/ACESFilmicToneMappingShader.d.ts +1 -1
- package/shaders/AfterimageShader.d.cts +1 -1
- package/shaders/AfterimageShader.d.ts +1 -1
- package/shaders/BasicShader.d.cts +1 -1
- package/shaders/BasicShader.d.ts +1 -1
- package/shaders/BleachBypassShader.d.cts +1 -1
- package/shaders/BleachBypassShader.d.ts +1 -1
- package/shaders/BlendShader.d.cts +1 -1
- package/shaders/BlendShader.d.ts +1 -1
- package/shaders/BokehShader.d.cts +1 -1
- package/shaders/BokehShader.d.ts +1 -1
- package/shaders/BokehShader2.d.cts +2 -2
- package/shaders/BokehShader2.d.ts +2 -2
- package/shaders/BrightnessContrastShader.d.cts +1 -1
- package/shaders/BrightnessContrastShader.d.ts +1 -1
- package/shaders/ColorCorrectionShader.d.cts +1 -1
- package/shaders/ColorCorrectionShader.d.ts +1 -1
- package/shaders/ColorifyShader.d.cts +1 -1
- package/shaders/ColorifyShader.d.ts +1 -1
- package/shaders/ConvolutionShader.d.cts +1 -1
- package/shaders/ConvolutionShader.d.ts +1 -1
- package/shaders/CopyShader.d.cts +1 -1
- package/shaders/CopyShader.d.ts +1 -1
- package/shaders/DOFMipMapShader.d.cts +1 -1
- package/shaders/DOFMipMapShader.d.ts +1 -1
- package/shaders/DepthLimitedBlurShader.d.cts +2 -2
- package/shaders/DepthLimitedBlurShader.d.ts +2 -2
- package/shaders/DigitalGlitch.d.cts +1 -1
- package/shaders/DigitalGlitch.d.ts +1 -1
- package/shaders/DotScreenShader.d.cts +1 -1
- package/shaders/DotScreenShader.d.ts +1 -1
- package/shaders/FXAAShader.d.cts +1 -1
- package/shaders/FXAAShader.d.ts +1 -1
- package/shaders/FilmShader.d.cts +1 -1
- package/shaders/FilmShader.d.ts +1 -1
- package/shaders/FocusShader.d.cts +1 -1
- package/shaders/FocusShader.d.ts +1 -1
- package/shaders/FreiChenShader.d.cts +1 -1
- package/shaders/FreiChenShader.d.ts +1 -1
- package/shaders/FresnelShader.d.cts +1 -1
- package/shaders/FresnelShader.d.ts +1 -1
- package/shaders/GammaCorrectionShader.d.cts +1 -1
- package/shaders/GammaCorrectionShader.d.ts +1 -1
- package/shaders/GodRaysShader.d.cts +4 -4
- package/shaders/GodRaysShader.d.ts +4 -4
- package/shaders/HalftoneShader.d.cts +1 -1
- package/shaders/HalftoneShader.d.ts +1 -1
- package/shaders/HorizontalBlurShader.d.cts +1 -1
- package/shaders/HorizontalBlurShader.d.ts +1 -1
- package/shaders/HorizontalTiltShiftShader.d.cts +1 -1
- package/shaders/HorizontalTiltShiftShader.d.ts +1 -1
- package/shaders/HueSaturationShader.d.cts +1 -1
- package/shaders/HueSaturationShader.d.ts +1 -1
- package/shaders/KaleidoShader.d.cts +1 -1
- package/shaders/KaleidoShader.d.ts +1 -1
- package/shaders/LuminosityHighPassShader.d.cts +1 -1
- package/shaders/LuminosityHighPassShader.d.ts +1 -1
- package/shaders/LuminosityShader.d.cts +1 -1
- package/shaders/LuminosityShader.d.ts +1 -1
- package/shaders/MirrorShader.d.cts +1 -1
- package/shaders/MirrorShader.d.ts +1 -1
- package/shaders/NormalMapShader.d.cts +1 -1
- package/shaders/NormalMapShader.d.ts +1 -1
- package/shaders/ParallaxShader.d.cts +1 -1
- package/shaders/ParallaxShader.d.ts +1 -1
- package/shaders/PixelShader.d.cts +1 -1
- package/shaders/PixelShader.d.ts +1 -1
- package/shaders/RGBShiftShader.d.cts +1 -1
- package/shaders/RGBShiftShader.d.ts +1 -1
- package/shaders/SAOShader.d.cts +1 -1
- package/shaders/SAOShader.d.ts +1 -1
- package/shaders/SMAAShader.d.cts +3 -3
- package/shaders/SMAAShader.d.ts +3 -3
- package/shaders/SSAOShader.d.cts +3 -3
- package/shaders/SSAOShader.d.ts +3 -3
- package/shaders/SSRShader.d.cts +3 -3
- package/shaders/SSRShader.d.ts +3 -3
- package/shaders/SepiaShader.d.cts +1 -1
- package/shaders/SepiaShader.d.ts +1 -1
- package/shaders/SobelOperatorShader.d.cts +1 -1
- package/shaders/SobelOperatorShader.d.ts +1 -1
- package/shaders/SubsurfaceScatteringShader.d.cts +1 -1
- package/shaders/SubsurfaceScatteringShader.d.ts +1 -1
- package/shaders/TechnicolorShader.d.cts +1 -1
- package/shaders/TechnicolorShader.d.ts +1 -1
- package/shaders/ToneMapShader.d.cts +1 -1
- package/shaders/ToneMapShader.d.ts +1 -1
- package/shaders/ToonShader.d.cts +4 -4
- package/shaders/ToonShader.d.ts +4 -4
- package/shaders/TriangleBlurShader.d.cts +1 -1
- package/shaders/TriangleBlurShader.d.ts +1 -1
- package/shaders/UnpackDepthRGBAShader.d.cts +1 -1
- package/shaders/UnpackDepthRGBAShader.d.ts +1 -1
- package/shaders/VerticalBlurShader.d.cts +1 -1
- package/shaders/VerticalBlurShader.d.ts +1 -1
- package/shaders/VerticalTiltShiftShader.d.cts +1 -1
- package/shaders/VerticalTiltShiftShader.d.ts +1 -1
- package/shaders/VignetteShader.d.cts +1 -1
- package/shaders/VignetteShader.d.ts +1 -1
- package/shaders/VolumeShader.d.cts +1 -1
- package/shaders/VolumeShader.d.ts +1 -1
- package/shaders/WaterRefractionShader.d.cts +1 -1
- package/shaders/WaterRefractionShader.d.ts +1 -1
- package/textures/FlakesTexture.d.cts +1 -1
- package/textures/FlakesTexture.d.ts +1 -1
- package/types/helpers.d.cts +1 -1
- package/types/helpers.d.ts +1 -1
- package/types/shared.d.cts +1 -1
- package/types/shared.d.ts +1 -1
- package/utils/BufferGeometryUtils.d.cts +8 -8
- package/utils/BufferGeometryUtils.d.ts +8 -8
- package/utils/GeometryCompressionUtils.d.cts +1 -1
- package/utils/GeometryCompressionUtils.d.ts +1 -1
- package/utils/GeometryUtils.d.cts +1 -1
- package/utils/GeometryUtils.d.ts +1 -1
- package/utils/LDrawUtils.d.cts +1 -1
- package/utils/LDrawUtils.d.ts +1 -1
- package/utils/SceneUtils.d.cts +1 -1
- package/utils/SceneUtils.d.ts +1 -1
- package/utils/SkeletonUtils.d.cts +1 -1
- package/utils/SkeletonUtils.d.ts +1 -1
- package/webxr/ARButton.d.cts +1 -1
- package/webxr/ARButton.d.ts +1 -1
- package/webxr/OculusHandModel.d.cts +1 -1
- package/webxr/OculusHandModel.d.ts +1 -1
- package/webxr/VRButton.d.cts +1 -1
- package/webxr/VRButton.d.ts +1 -1
- package/webxr/XRControllerModelFactory.d.cts +1 -1
- package/webxr/XRControllerModelFactory.d.ts +1 -1
- package/webxr/XRHandMeshModel.d.cts +1 -1
- package/webxr/XRHandMeshModel.d.ts +1 -1
package/shaders/BlendShader.d.ts
CHANGED
package/shaders/BokehShader.d.ts
CHANGED
|
@@ -31,12 +31,12 @@ export interface BokehShader2Uniforms {
|
|
|
31
31
|
*
|
|
32
32
|
* Requires #define RINGS and SAMPLES integers
|
|
33
33
|
*/
|
|
34
|
-
export declare const BokehShader2: {
|
|
34
|
+
export type declare const BokehShader2: {
|
|
35
35
|
uniforms: BokehShader2Uniforms;
|
|
36
36
|
vertexShader: string;
|
|
37
37
|
fragmentShader: string;
|
|
38
38
|
};
|
|
39
|
-
export declare const BokehDepthShader: {
|
|
39
|
+
export type declare const BokehDepthShader: {
|
|
40
40
|
uniforms: {
|
|
41
41
|
mNear: {
|
|
42
42
|
value: number;
|
|
@@ -31,12 +31,12 @@ export interface BokehShader2Uniforms {
|
|
|
31
31
|
*
|
|
32
32
|
* Requires #define RINGS and SAMPLES integers
|
|
33
33
|
*/
|
|
34
|
-
export declare const BokehShader2: {
|
|
34
|
+
export type declare const BokehShader2: {
|
|
35
35
|
uniforms: BokehShader2Uniforms;
|
|
36
36
|
vertexShader: string;
|
|
37
37
|
fragmentShader: string;
|
|
38
38
|
};
|
|
39
|
-
export declare const BokehDepthShader: {
|
|
39
|
+
export type declare const BokehDepthShader: {
|
|
40
40
|
uniforms: {
|
|
41
41
|
mNear: {
|
|
42
42
|
value: number;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* brightness: -1 to 1 (-1 is solid black, 0 is no change, and 1 is solid white)
|
|
5
5
|
* contrast: -1 to 1 (-1 is solid gray, 0 is no change, and 1 is maximum contrast)
|
|
6
6
|
*/
|
|
7
|
-
export declare const BrightnessContrastShader: {
|
|
7
|
+
export type declare const BrightnessContrastShader: {
|
|
8
8
|
uniforms: {
|
|
9
9
|
tDiffuse: {
|
|
10
10
|
value: null;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* brightness: -1 to 1 (-1 is solid black, 0 is no change, and 1 is solid white)
|
|
5
5
|
* contrast: -1 to 1 (-1 is solid gray, 0 is no change, and 1 is maximum contrast)
|
|
6
6
|
*/
|
|
7
|
-
export declare const BrightnessContrastShader: {
|
|
7
|
+
export type declare const BrightnessContrastShader: {
|
|
8
8
|
uniforms: {
|
|
9
9
|
tDiffuse: {
|
|
10
10
|
value: null;
|
|
@@ -18,4 +18,4 @@ export type ConvolutionShaderUniforms = {
|
|
|
18
18
|
export interface IConvolutionShader extends IShader<ConvolutionShaderUniforms, ConvolutionShaderDefines> {
|
|
19
19
|
buildKernel: (sigma: number) => number[];
|
|
20
20
|
}
|
|
21
|
-
export declare const ConvolutionShader: IConvolutionShader;
|
|
21
|
+
export type declare const ConvolutionShader: IConvolutionShader;
|
|
@@ -18,4 +18,4 @@ export type ConvolutionShaderUniforms = {
|
|
|
18
18
|
export interface IConvolutionShader extends IShader<ConvolutionShaderUniforms, ConvolutionShaderDefines> {
|
|
19
19
|
buildKernel: (sigma: number) => number[];
|
|
20
20
|
}
|
|
21
|
-
export declare const ConvolutionShader: IConvolutionShader;
|
|
21
|
+
export type declare const ConvolutionShader: IConvolutionShader;
|
package/shaders/CopyShader.d.cts
CHANGED
package/shaders/CopyShader.d.ts
CHANGED
|
@@ -20,8 +20,8 @@ export interface IDepthLimitedBlurShader extends IShader<DepthLimitedBlurShaderU
|
|
|
20
20
|
defines: DepthLimitedBlurShaderDefines;
|
|
21
21
|
needsUpdate?: boolean;
|
|
22
22
|
}
|
|
23
|
-
export declare const DepthLimitedBlurShader: IDepthLimitedBlurShader;
|
|
24
|
-
export declare const BlurShaderUtils: {
|
|
23
|
+
export type declare const DepthLimitedBlurShader: IDepthLimitedBlurShader;
|
|
24
|
+
export type declare const BlurShaderUtils: {
|
|
25
25
|
createSampleWeights: (kernelRadius: number, stdDev: number) => number[];
|
|
26
26
|
createSampleOffsets: (kernelRadius: number, uvIncrement: Vector2) => Vector2[];
|
|
27
27
|
configure: (shader: IDepthLimitedBlurShader, kernelRadius: number, stdDev: number, uvIncrement: Vector2) => void;
|
|
@@ -20,8 +20,8 @@ export interface IDepthLimitedBlurShader extends IShader<DepthLimitedBlurShaderU
|
|
|
20
20
|
defines: DepthLimitedBlurShaderDefines;
|
|
21
21
|
needsUpdate?: boolean;
|
|
22
22
|
}
|
|
23
|
-
export declare const DepthLimitedBlurShader: IDepthLimitedBlurShader;
|
|
24
|
-
export declare const BlurShaderUtils: {
|
|
23
|
+
export type declare const DepthLimitedBlurShader: IDepthLimitedBlurShader;
|
|
24
|
+
export type declare const BlurShaderUtils: {
|
|
25
25
|
createSampleWeights: (kernelRadius: number, stdDev: number) => number[];
|
|
26
26
|
createSampleOffsets: (kernelRadius: number, uvIncrement: Vector2) => Vector2[];
|
|
27
27
|
configure: (shader: IDepthLimitedBlurShader, kernelRadius: number, stdDev: number, uvIncrement: Vector2) => void;
|
package/shaders/FXAAShader.d.cts
CHANGED
package/shaders/FXAAShader.d.ts
CHANGED
package/shaders/FilmShader.d.cts
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* This version is provided under a Creative Commons Attribution 3.0 License
|
|
18
18
|
* http://creativecommons.org/licenses/by/3.0/
|
|
19
19
|
*/
|
|
20
|
-
export declare const FilmShader: {
|
|
20
|
+
export type declare const FilmShader: {
|
|
21
21
|
uniforms: {
|
|
22
22
|
tDiffuse: {
|
|
23
23
|
value: null;
|
package/shaders/FilmShader.d.ts
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* This version is provided under a Creative Commons Attribution 3.0 License
|
|
18
18
|
* http://creativecommons.org/licenses/by/3.0/
|
|
19
19
|
*/
|
|
20
|
-
export declare const FilmShader: {
|
|
20
|
+
export type declare const FilmShader: {
|
|
21
21
|
uniforms: {
|
|
22
22
|
tDiffuse: {
|
|
23
23
|
value: null;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* based on PaintEffect postprocess from ro.me
|
|
4
4
|
* http://code.google.com/p/3-dreams-of-black/source/browse/deploy/js/effects/PaintEffect.js
|
|
5
5
|
*/
|
|
6
|
-
export declare const FocusShader: {
|
|
6
|
+
export type declare const FocusShader: {
|
|
7
7
|
uniforms: {
|
|
8
8
|
tDiffuse: {
|
|
9
9
|
value: null;
|
package/shaders/FocusShader.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* based on PaintEffect postprocess from ro.me
|
|
4
4
|
* http://code.google.com/p/3-dreams-of-black/source/browse/deploy/js/effects/PaintEffect.js
|
|
5
5
|
*/
|
|
6
|
-
export declare const FocusShader: {
|
|
6
|
+
export type declare const FocusShader: {
|
|
7
7
|
uniforms: {
|
|
8
8
|
tDiffuse: {
|
|
9
9
|
value: null;
|
|
@@ -9,4 +9,4 @@ export type GammaCorrectionShaderUniforms = {
|
|
|
9
9
|
};
|
|
10
10
|
export interface IGammaCorrectionShader extends IShader<GammaCorrectionShaderUniforms> {
|
|
11
11
|
}
|
|
12
|
-
export declare const GammaCorrectionShader: IGammaCorrectionShader;
|
|
12
|
+
export type declare const GammaCorrectionShader: IGammaCorrectionShader;
|
|
@@ -9,4 +9,4 @@ export type GammaCorrectionShaderUniforms = {
|
|
|
9
9
|
};
|
|
10
10
|
export interface IGammaCorrectionShader extends IShader<GammaCorrectionShaderUniforms> {
|
|
11
11
|
}
|
|
12
|
-
export declare const GammaCorrectionShader: IGammaCorrectionShader;
|
|
12
|
+
export type declare const GammaCorrectionShader: IGammaCorrectionShader;
|
|
@@ -16,7 +16,7 @@ import type { Color, Vector3 } from 'three';
|
|
|
16
16
|
*
|
|
17
17
|
* Sousa2008 - Crysis Next Gen Effects, GDC2008, http://www.crytek.com/sites/default/files/GDC08_SousaT_CrysisEffects.ppt
|
|
18
18
|
*/
|
|
19
|
-
export declare const GodRaysDepthMaskShader: {
|
|
19
|
+
export type declare const GodRaysDepthMaskShader: {
|
|
20
20
|
uniforms: {
|
|
21
21
|
tInput: {
|
|
22
22
|
value: null;
|
|
@@ -39,7 +39,7 @@ export declare const GodRaysDepthMaskShader: {
|
|
|
39
39
|
* The results of the previous pass are re-blurred, each time with a
|
|
40
40
|
* decreased distance between samples.
|
|
41
41
|
*/
|
|
42
|
-
export declare const GodRaysGenerateShader: {
|
|
42
|
+
export type declare const GodRaysGenerateShader: {
|
|
43
43
|
uniforms: {
|
|
44
44
|
tInput: {
|
|
45
45
|
value: null;
|
|
@@ -58,7 +58,7 @@ export declare const GodRaysGenerateShader: {
|
|
|
58
58
|
* Additively applies god rays from texture tGodRays to a background (tColors).
|
|
59
59
|
* fGodRayIntensity attenuates the god rays.
|
|
60
60
|
*/
|
|
61
|
-
export declare const GodRaysCombineShader: {
|
|
61
|
+
export type declare const GodRaysCombineShader: {
|
|
62
62
|
uniforms: {
|
|
63
63
|
tColors: {
|
|
64
64
|
value: null;
|
|
@@ -77,7 +77,7 @@ export declare const GodRaysCombineShader: {
|
|
|
77
77
|
* A dodgy sun/sky shader. Makes a bright spot at the sun location. Would be
|
|
78
78
|
* cheaper/faster/simpler to implement this as a simple sun sprite.
|
|
79
79
|
*/
|
|
80
|
-
export declare const GodRaysFakeSunShader: {
|
|
80
|
+
export type declare const GodRaysFakeSunShader: {
|
|
81
81
|
uniforms: {
|
|
82
82
|
vSunPositionScreenSpace: {
|
|
83
83
|
value: Vector3;
|
|
@@ -16,7 +16,7 @@ import type { Color, Vector3 } from 'three';
|
|
|
16
16
|
*
|
|
17
17
|
* Sousa2008 - Crysis Next Gen Effects, GDC2008, http://www.crytek.com/sites/default/files/GDC08_SousaT_CrysisEffects.ppt
|
|
18
18
|
*/
|
|
19
|
-
export declare const GodRaysDepthMaskShader: {
|
|
19
|
+
export type declare const GodRaysDepthMaskShader: {
|
|
20
20
|
uniforms: {
|
|
21
21
|
tInput: {
|
|
22
22
|
value: null;
|
|
@@ -39,7 +39,7 @@ export declare const GodRaysDepthMaskShader: {
|
|
|
39
39
|
* The results of the previous pass are re-blurred, each time with a
|
|
40
40
|
* decreased distance between samples.
|
|
41
41
|
*/
|
|
42
|
-
export declare const GodRaysGenerateShader: {
|
|
42
|
+
export type declare const GodRaysGenerateShader: {
|
|
43
43
|
uniforms: {
|
|
44
44
|
tInput: {
|
|
45
45
|
value: null;
|
|
@@ -58,7 +58,7 @@ export declare const GodRaysGenerateShader: {
|
|
|
58
58
|
* Additively applies god rays from texture tGodRays to a background (tColors).
|
|
59
59
|
* fGodRayIntensity attenuates the god rays.
|
|
60
60
|
*/
|
|
61
|
-
export declare const GodRaysCombineShader: {
|
|
61
|
+
export type declare const GodRaysCombineShader: {
|
|
62
62
|
uniforms: {
|
|
63
63
|
tColors: {
|
|
64
64
|
value: null;
|
|
@@ -77,7 +77,7 @@ export declare const GodRaysCombineShader: {
|
|
|
77
77
|
* A dodgy sun/sky shader. Makes a bright spot at the sun location. Would be
|
|
78
78
|
* cheaper/faster/simpler to implement this as a simple sun sprite.
|
|
79
79
|
*/
|
|
80
|
-
export declare const GodRaysFakeSunShader: {
|
|
80
|
+
export type declare const GodRaysFakeSunShader: {
|
|
81
81
|
uniforms: {
|
|
82
82
|
vSunPositionScreenSpace: {
|
|
83
83
|
value: Vector3;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Shape (1 = Dot, 2 = Ellipse, 3 = Line, 4 = Square)
|
|
5
5
|
* Blending Mode (1 = Linear, 2 = Multiply, 3 = Add, 4 = Lighter, 5 = Darker)
|
|
6
6
|
*/
|
|
7
|
-
export declare const HalftoneShader: {
|
|
7
|
+
export type declare const HalftoneShader: {
|
|
8
8
|
uniforms: {
|
|
9
9
|
tDiffuse: {
|
|
10
10
|
value: null;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Shape (1 = Dot, 2 = Ellipse, 3 = Line, 4 = Square)
|
|
5
5
|
* Blending Mode (1 = Linear, 2 = Multiply, 3 = Add, 4 = Lighter, 5 = Darker)
|
|
6
6
|
*/
|
|
7
|
-
export declare const HalftoneShader: {
|
|
7
|
+
export type declare const HalftoneShader: {
|
|
8
8
|
uniforms: {
|
|
9
9
|
tDiffuse: {
|
|
10
10
|
value: null;
|
|
@@ -15,4 +15,4 @@ export type HorizontalBlurShaderUniforms = {
|
|
|
15
15
|
};
|
|
16
16
|
export interface IHorizontalBlurShader extends IShader<HorizontalBlurShaderUniforms> {
|
|
17
17
|
}
|
|
18
|
-
export declare const HorizontalBlurShader: IHorizontalBlurShader;
|
|
18
|
+
export type declare const HorizontalBlurShader: IHorizontalBlurShader;
|
|
@@ -15,4 +15,4 @@ export type HorizontalBlurShaderUniforms = {
|
|
|
15
15
|
};
|
|
16
16
|
export interface IHorizontalBlurShader extends IShader<HorizontalBlurShaderUniforms> {
|
|
17
17
|
}
|
|
18
|
-
export declare const HorizontalBlurShader: IHorizontalBlurShader;
|
|
18
|
+
export type declare const HorizontalBlurShader: IHorizontalBlurShader;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - "h" and "v" parameters should be set to "1 / width" and "1 / height"
|
|
7
7
|
* - "r" parameter control where "focused" horizontal line lies
|
|
8
8
|
*/
|
|
9
|
-
export declare const HorizontalTiltShiftShader: {
|
|
9
|
+
export type declare const HorizontalTiltShiftShader: {
|
|
10
10
|
uniforms: {
|
|
11
11
|
tDiffuse: {
|
|
12
12
|
value: null;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - "h" and "v" parameters should be set to "1 / width" and "1 / height"
|
|
7
7
|
* - "r" parameter control where "focused" horizontal line lies
|
|
8
8
|
*/
|
|
9
|
-
export declare const HorizontalTiltShiftShader: {
|
|
9
|
+
export type declare const HorizontalTiltShiftShader: {
|
|
10
10
|
uniforms: {
|
|
11
11
|
tDiffuse: {
|
|
12
12
|
value: null;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* hue: -1 to 1 (-1 is 180 degrees in the negative direction, 0 is no change, etc.
|
|
5
5
|
* saturation: -1 to 1 (-1 is solid gray, 0 is no change, and 1 is maximum contrast)
|
|
6
6
|
*/
|
|
7
|
-
export declare const HueSaturationShader: {
|
|
7
|
+
export type declare const HueSaturationShader: {
|
|
8
8
|
uniforms: {
|
|
9
9
|
tDiffuse: {
|
|
10
10
|
value: null;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* hue: -1 to 1 (-1 is 180 degrees in the negative direction, 0 is no change, etc.
|
|
5
5
|
* saturation: -1 to 1 (-1 is solid gray, 0 is no change, and 1 is maximum contrast)
|
|
6
6
|
*/
|
|
7
|
-
export declare const HueSaturationShader: {
|
|
7
|
+
export type declare const HueSaturationShader: {
|
|
8
8
|
uniforms: {
|
|
9
9
|
tDiffuse: {
|
|
10
10
|
value: null;
|
package/shaders/PixelShader.d.ts
CHANGED