three-stdlib 2.35.9 → 2.35.10
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/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/experimental/CameraControls.d.cts +1 -1
- package/controls/experimental/CameraControls.d.ts +1 -1
- package/exporters/STLExporter.d.cts +1 -1
- package/exporters/STLExporter.d.ts +1 -1
- package/geometries/TextGeometry.d.cts +1 -1
- package/geometries/TextGeometry.d.ts +1 -1
- package/libs/zstddec.d.cts +1 -1
- package/libs/zstddec.d.ts +1 -1
- package/loaders/FontLoader.d.cts +2 -2
- package/loaders/FontLoader.d.ts +2 -2
- package/math/SimplexNoise.d.cts +1 -1
- package/math/SimplexNoise.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/objects/GroundProjectedEnv.d.cts +1 -1
- package/objects/GroundProjectedEnv.d.ts +1 -1
- package/package.json +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/types/helpers.d.cts +1 -1
- package/types/helpers.d.ts +1 -1
- package/utils/BufferGeometryUtils.d.cts +8 -8
- package/utils/BufferGeometryUtils.d.ts +8 -8
- package/utils/GeometryUtils.d.cts +1 -1
- package/utils/GeometryUtils.d.ts +1 -1
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
|
|
20
|
+
export 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
|
|
20
|
+
export 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
|
|
6
|
+
export 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
|
|
6
|
+
export 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
|
|
12
|
+
export 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
|
|
12
|
+
export 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
|
|
19
|
+
export declare const GodRaysDepthMaskShader: {
|
|
20
20
|
uniforms: {
|
|
21
21
|
tInput: {
|
|
22
22
|
value: null;
|
|
@@ -39,7 +39,7 @@ export type 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
|
|
42
|
+
export declare const GodRaysGenerateShader: {
|
|
43
43
|
uniforms: {
|
|
44
44
|
tInput: {
|
|
45
45
|
value: null;
|
|
@@ -58,7 +58,7 @@ export type 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
|
|
61
|
+
export declare const GodRaysCombineShader: {
|
|
62
62
|
uniforms: {
|
|
63
63
|
tColors: {
|
|
64
64
|
value: null;
|
|
@@ -77,7 +77,7 @@ export type 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
|
|
80
|
+
export 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
|
|
19
|
+
export declare const GodRaysDepthMaskShader: {
|
|
20
20
|
uniforms: {
|
|
21
21
|
tInput: {
|
|
22
22
|
value: null;
|
|
@@ -39,7 +39,7 @@ export type 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
|
|
42
|
+
export declare const GodRaysGenerateShader: {
|
|
43
43
|
uniforms: {
|
|
44
44
|
tInput: {
|
|
45
45
|
value: null;
|
|
@@ -58,7 +58,7 @@ export type 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
|
|
61
|
+
export declare const GodRaysCombineShader: {
|
|
62
62
|
uniforms: {
|
|
63
63
|
tColors: {
|
|
64
64
|
value: null;
|
|
@@ -77,7 +77,7 @@ export type 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
|
|
80
|
+
export 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
|
|
7
|
+
export 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
|
|
7
|
+
export 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
|
|
18
|
+
export 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
|
|
18
|
+
export 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
|
|
9
|
+
export 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
|
|
9
|
+
export 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
|
|
7
|
+
export 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
|
|
7
|
+
export declare const HueSaturationShader: {
|
|
8
8
|
uniforms: {
|
|
9
9
|
tDiffuse: {
|
|
10
10
|
value: null;
|
package/shaders/PixelShader.d.ts
CHANGED
package/shaders/SAOShader.d.cts
CHANGED
package/shaders/SAOShader.d.ts
CHANGED
package/shaders/SMAAShader.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Vector2 } from 'three';
|
|
|
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
|
|
7
|
+
export declare const SMAAEdgesShader: {
|
|
8
8
|
defines: {
|
|
9
9
|
SMAA_THRESHOLD: string;
|
|
10
10
|
};
|
|
@@ -19,7 +19,7 @@ export type declare const SMAAEdgesShader: {
|
|
|
19
19
|
vertexShader: string;
|
|
20
20
|
fragmentShader: string;
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export 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 type declare const SMAAWeightsShader: {
|
|
|
43
43
|
vertexShader: string;
|
|
44
44
|
fragmentShader: string;
|
|
45
45
|
};
|
|
46
|
-
export
|
|
46
|
+
export declare const SMAABlendShader: {
|
|
47
47
|
uniforms: {
|
|
48
48
|
tDiffuse: {
|
|
49
49
|
value: null;
|
package/shaders/SMAAShader.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Vector2 } from 'three';
|
|
|
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
|
|
7
|
+
export declare const SMAAEdgesShader: {
|
|
8
8
|
defines: {
|
|
9
9
|
SMAA_THRESHOLD: string;
|
|
10
10
|
};
|
|
@@ -19,7 +19,7 @@ export type declare const SMAAEdgesShader: {
|
|
|
19
19
|
vertexShader: string;
|
|
20
20
|
fragmentShader: string;
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export 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 type declare const SMAAWeightsShader: {
|
|
|
43
43
|
vertexShader: string;
|
|
44
44
|
fragmentShader: string;
|
|
45
45
|
};
|
|
46
|
-
export
|
|
46
|
+
export declare const SMAABlendShader: {
|
|
47
47
|
uniforms: {
|
|
48
48
|
tDiffuse: {
|
|
49
49
|
value: null;
|
package/shaders/SSAOShader.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import type { Matrix4, Vector2 } from 'three';
|
|
|
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
|
|
8
|
+
export declare const SSAOShader: {
|
|
9
9
|
defines: {
|
|
10
10
|
PERSPECTIVE_CAMERA: number;
|
|
11
11
|
KERNEL_SIZE: number;
|
|
@@ -54,7 +54,7 @@ export type declare const SSAOShader: {
|
|
|
54
54
|
vertexShader: string;
|
|
55
55
|
fragmentShader: string;
|
|
56
56
|
};
|
|
57
|
-
export
|
|
57
|
+
export declare const SSAODepthShader: {
|
|
58
58
|
defines: {
|
|
59
59
|
PERSPECTIVE_CAMERA: number;
|
|
60
60
|
};
|
|
@@ -72,7 +72,7 @@ export type declare const SSAODepthShader: {
|
|
|
72
72
|
vertexShader: string;
|
|
73
73
|
fragmentShader: string;
|
|
74
74
|
};
|
|
75
|
-
export
|
|
75
|
+
export declare const SSAOBlurShader: {
|
|
76
76
|
uniforms: {
|
|
77
77
|
tDiffuse: {
|
|
78
78
|
value: null;
|
package/shaders/SSAOShader.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { Matrix4, Vector2 } from 'three';
|
|
|
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
|
|
8
|
+
export declare const SSAOShader: {
|
|
9
9
|
defines: {
|
|
10
10
|
PERSPECTIVE_CAMERA: number;
|
|
11
11
|
KERNEL_SIZE: number;
|
|
@@ -54,7 +54,7 @@ export type declare const SSAOShader: {
|
|
|
54
54
|
vertexShader: string;
|
|
55
55
|
fragmentShader: string;
|
|
56
56
|
};
|
|
57
|
-
export
|
|
57
|
+
export declare const SSAODepthShader: {
|
|
58
58
|
defines: {
|
|
59
59
|
PERSPECTIVE_CAMERA: number;
|
|
60
60
|
};
|
|
@@ -72,7 +72,7 @@ export type declare const SSAODepthShader: {
|
|
|
72
72
|
vertexShader: string;
|
|
73
73
|
fragmentShader: string;
|
|
74
74
|
};
|
|
75
|
-
export
|
|
75
|
+
export declare const SSAOBlurShader: {
|
|
76
76
|
uniforms: {
|
|
77
77
|
tDiffuse: {
|
|
78
78
|
value: null;
|
package/shaders/SSRShader.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import type { Matrix4, Vector2 } from 'three';
|
|
|
3
3
|
* References:
|
|
4
4
|
* https://lettier.github.io/3d-game-shaders-for-beginners/screen-space-reflection.html
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export declare const SSRShader: {
|
|
7
7
|
defines: {
|
|
8
8
|
MAX_STEP: number;
|
|
9
9
|
isPerspectiveCamera: boolean;
|
|
@@ -59,7 +59,7 @@ export type declare const SSRShader: {
|
|
|
59
59
|
vertexShader: string;
|
|
60
60
|
fragmentShader: string;
|
|
61
61
|
};
|
|
62
|
-
export
|
|
62
|
+
export declare const SSRDepthShader: {
|
|
63
63
|
defines: {
|
|
64
64
|
PERSPECTIVE_CAMERA: number;
|
|
65
65
|
};
|
|
@@ -77,7 +77,7 @@ export type declare const SSRDepthShader: {
|
|
|
77
77
|
vertexShader: string;
|
|
78
78
|
fragmentShader: string;
|
|
79
79
|
};
|
|
80
|
-
export
|
|
80
|
+
export declare const SSRBlurShader: {
|
|
81
81
|
uniforms: {
|
|
82
82
|
tDiffuse: {
|
|
83
83
|
value: null;
|
package/shaders/SSRShader.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { Matrix4, Vector2 } from 'three';
|
|
|
3
3
|
* References:
|
|
4
4
|
* https://lettier.github.io/3d-game-shaders-for-beginners/screen-space-reflection.html
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export declare const SSRShader: {
|
|
7
7
|
defines: {
|
|
8
8
|
MAX_STEP: number;
|
|
9
9
|
isPerspectiveCamera: boolean;
|
|
@@ -59,7 +59,7 @@ export type declare const SSRShader: {
|
|
|
59
59
|
vertexShader: string;
|
|
60
60
|
fragmentShader: string;
|
|
61
61
|
};
|
|
62
|
-
export
|
|
62
|
+
export declare const SSRDepthShader: {
|
|
63
63
|
defines: {
|
|
64
64
|
PERSPECTIVE_CAMERA: number;
|
|
65
65
|
};
|
|
@@ -77,7 +77,7 @@ export type declare const SSRDepthShader: {
|
|
|
77
77
|
vertexShader: string;
|
|
78
78
|
fragmentShader: string;
|
|
79
79
|
};
|
|
80
|
-
export
|
|
80
|
+
export declare const SSRBlurShader: {
|
|
81
81
|
uniforms: {
|
|
82
82
|
tDiffuse: {
|
|
83
83
|
value: null;
|
package/shaders/SepiaShader.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { Vector2 } from 'three';
|
|
|
5
5
|
* As mentioned in the video the Sobel operator expects a grayscale image as input.
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export declare const SobelOperatorShader: {
|
|
9
9
|
uniforms: {
|
|
10
10
|
tDiffuse: {
|
|
11
11
|
value: null;
|
|
@@ -5,7 +5,7 @@ import type { Vector2 } from 'three';
|
|
|
5
5
|
* As mentioned in the video the Sobel operator expects a grayscale image as input.
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export declare const SobelOperatorShader: {
|
|
9
9
|
uniforms: {
|
|
10
10
|
tDiffuse: {
|
|
11
11
|
value: null;
|