@tresjs/post-processing 2.0.0 → 2.2.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 (29) hide show
  1. package/dist/core/pmndrs/BarrelBlurPmndrs.vue.d.ts +26 -0
  2. package/dist/core/pmndrs/BrightnessContrastPmndrs.vue.d.ts +20 -0
  3. package/dist/core/pmndrs/ChromaticAberrationPmndrs.vue.d.ts +27 -0
  4. package/dist/core/pmndrs/ColorAveragePmndrs.vue.d.ts +16 -0
  5. package/dist/core/pmndrs/ColorDepthPmndrs.vue.d.ts +20 -0
  6. package/dist/core/pmndrs/DepthPickingPassPmndrs.vue.d.ts +18 -0
  7. package/dist/core/pmndrs/DotScreenPmndrs.vue.d.ts +22 -0
  8. package/dist/core/pmndrs/FishEyePmndrs.vue.d.ts +30 -0
  9. package/dist/core/pmndrs/GodRaysPmndrs.vue.d.ts +65 -0
  10. package/dist/core/pmndrs/GridPmndrs.vue.d.ts +20 -0
  11. package/dist/core/pmndrs/HueSaturationPmndrs.vue.d.ts +22 -0
  12. package/dist/core/pmndrs/KuwaharaPmndrs.vue.d.ts +27 -0
  13. package/dist/core/pmndrs/LensDistortionPmndrs.vue.d.ts +25 -0
  14. package/dist/core/pmndrs/LinocutPmndrs.vue.d.ts +15 -0
  15. package/dist/core/pmndrs/NoisePmndrs.vue.d.ts +0 -1
  16. package/dist/core/pmndrs/ScanlinePmndrs.vue.d.ts +24 -0
  17. package/dist/core/pmndrs/SepiaPmndrs.vue.d.ts +16 -0
  18. package/dist/core/pmndrs/ShockWavePmndrs.vue.d.ts +29 -0
  19. package/dist/core/pmndrs/TiltShiftPmndrs.vue.d.ts +49 -0
  20. package/dist/core/pmndrs/ToneMappingPmndrs.vue.d.ts +36 -0
  21. package/dist/core/pmndrs/VignettePmndrs.vue.d.ts +4 -9
  22. package/dist/core/pmndrs/custom/barrel-blur/index.d.ts +36 -0
  23. package/dist/core/pmndrs/custom/fish-eye/index.d.ts +44 -0
  24. package/dist/core/pmndrs/custom/kuwahara/index.d.ts +31 -0
  25. package/dist/core/pmndrs/custom/linocut/index.d.ts +27 -0
  26. package/dist/core/pmndrs/index.d.ts +20 -1
  27. package/dist/tres-post-processing.js +1514 -541
  28. package/dist/tres-post-processing.umd.cjs +236 -14
  29. package/package.json +20 -19
@@ -0,0 +1,26 @@
1
+ import { BlendFunction } from 'postprocessing';
2
+ import { Vector2 } from 'three';
3
+ import { BarrelBlurEffect } from './custom/barrel-blur/index';
4
+ export interface BarrelBlurPmndrsProps {
5
+ /**
6
+ * The blend function for the effect.
7
+ * Determines how this effect blends with other effects.
8
+ */
9
+ blendFunction?: BlendFunction;
10
+ /**
11
+ * The intensity of the barrel distortion.
12
+ * A value between 0 (no distortion) and 1 (maximum distortion).
13
+ */
14
+ amount?: number;
15
+ /**
16
+ * The offset of the barrel distortion center.
17
+ * A Vector2 value or an A value or an array of two numbers, with both values ranging from 0 to 1.
18
+ * This allows you to change the position of the distortion effect.
19
+ */
20
+ offset?: Vector2 | [number, number];
21
+ }
22
+ declare const _default: import('vue').DefineComponent<BarrelBlurPmndrsProps, {
23
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
24
+ effect: import('vue').ShallowRef<BarrelBlurEffect | null>;
25
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BarrelBlurPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { BlendFunction, BrightnessContrastEffect } from 'postprocessing';
2
+ export interface BrightnessContrastPmndrsProps {
3
+ /**
4
+ * The blend function.
5
+ */
6
+ blendFunction?: BlendFunction;
7
+ /**
8
+ * The brightness of the effect.
9
+ */
10
+ brightness?: number;
11
+ /**
12
+ * The contrast of the effect.
13
+ */
14
+ contrast?: number;
15
+ }
16
+ declare const _default: import('vue').DefineComponent<BrightnessContrastPmndrsProps, {
17
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
18
+ effect: import('vue').ShallowRef<BrightnessContrastEffect | null>;
19
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BrightnessContrastPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { ChromaticAberrationEffect, BlendFunction } from 'postprocessing';
2
+ import { Vector2 } from 'three';
3
+ export interface ChromaticAberrationPmndrsProps {
4
+ /**
5
+ * The blend function.
6
+ */
7
+ blendFunction?: BlendFunction;
8
+ /**
9
+ * The color offset.
10
+ */
11
+ offset?: Vector2;
12
+ /**
13
+ * Whether the effect should be modulated with a radial gradient.
14
+ */
15
+ radialModulation?: boolean;
16
+ /**
17
+ * The modulation offset, applicable if radial modulation is enabled.
18
+ */
19
+ modulationOffset?: number;
20
+ }
21
+ declare const _default: import('vue').DefineComponent<ChromaticAberrationPmndrsProps, {
22
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
23
+ effect: import('vue').ShallowRef<ChromaticAberrationEffect | null>;
24
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ChromaticAberrationPmndrsProps> & Readonly<{}>, {
25
+ radialModulation: boolean;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { BlendFunction, ColorAverageEffect } from 'postprocessing';
2
+ export interface ColorAveragePmndrsProps {
3
+ /**
4
+ * The blend function.
5
+ */
6
+ blendFunction?: BlendFunction;
7
+ /**
8
+ * The opacity of the color Average.
9
+ */
10
+ opacity?: number;
11
+ }
12
+ declare const _default: import('vue').DefineComponent<ColorAveragePmndrsProps, {
13
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
14
+ effect: import('vue').ShallowRef<ColorAverageEffect | null>;
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ColorAveragePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { BlendFunction, ColorDepthEffect } from 'postprocessing';
2
+ export interface ColorDepthPmndrsProps {
3
+ /**
4
+ * The blend function.
5
+ */
6
+ blendFunction?: BlendFunction;
7
+ /**
8
+ * The color bit depth.
9
+ */
10
+ bits?: number;
11
+ /**
12
+ * The opacity of the effect.
13
+ */
14
+ opacity?: number;
15
+ }
16
+ declare const _default: import('vue').DefineComponent<ColorDepthPmndrsProps, {
17
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
18
+ effect: import('vue').ShallowRef<ColorDepthEffect | null>;
19
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ColorDepthPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { DepthPackingStrategies } from 'three';
2
+ import { DepthCopyMode, DepthPickingPass } from 'postprocessing';
3
+ export interface DepthPickingPassPmndrsProps {
4
+ /**
5
+ * The depth packing strategy.
6
+ * Default: RGBADepthPacking
7
+ */
8
+ depthPacking?: DepthPackingStrategies;
9
+ /**
10
+ * The depth copy mode.
11
+ * Default: DepthCopyMode.SINGLE
12
+ */
13
+ mode?: DepthCopyMode;
14
+ }
15
+ declare const _default: import('vue').DefineComponent<DepthPickingPassPmndrsProps, {
16
+ pass: DepthPickingPass;
17
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DepthPickingPassPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import { BlendFunction, DotScreenEffect } from 'postprocessing';
2
+ export interface DotScreenPmndrsProps {
3
+ /**
4
+ * The angle of the dot pattern.
5
+ * Default: 1.57
6
+ */
7
+ angle?: number;
8
+ /**
9
+ * The scale of the dot pattern.
10
+ * Default: 1.0
11
+ */
12
+ scale?: number;
13
+ /**
14
+ * The blend function. Defines how the effect blends with the original scene.
15
+ */
16
+ blendFunction?: BlendFunction;
17
+ }
18
+ declare const _default: import('vue').DefineComponent<DotScreenPmndrsProps, {
19
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
20
+ effect: import('vue').ShallowRef<DotScreenEffect | null>;
21
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DotScreenPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import { BlendFunction } from 'postprocessing';
2
+ import { Vector2 } from 'three';
3
+ import { FishEyeEffect } from './custom/fish-eye/index';
4
+ export interface FishEyePmndrsProps {
5
+ /**
6
+ * The blend function for the effect.
7
+ * Determines how this effect blends with other effects.
8
+ */
9
+ blendFunction?: BlendFunction;
10
+ /**
11
+ * The lens scale.
12
+ * A Vector2 value or an array of two numbers.
13
+ */
14
+ lensS?: Vector2 | [number, number];
15
+ /**
16
+ * The lens factor.
17
+ * A Vector2 value or an array of two numbers.
18
+ */
19
+ lensF?: Vector2 | [number, number];
20
+ /**
21
+ * The scale of the effect.
22
+ * A number value.
23
+ */
24
+ scale?: number;
25
+ }
26
+ declare const _default: import('vue').DefineComponent<FishEyePmndrsProps, {
27
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
28
+ effect: import('vue').ShallowRef<FishEyeEffect | null>;
29
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FishEyePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
+ export default _default;
@@ -0,0 +1,65 @@
1
+ import { BlendFunction, KernelSize, GodRaysEffect } from 'postprocessing';
2
+ import { Mesh, Points } from 'three';
3
+ export interface GodRaysPmndrsProps {
4
+ /**
5
+ * The blend function of this effect.
6
+ */
7
+ blendFunction?: BlendFunction;
8
+ /**
9
+ * The light source. Must not write depth and has to be flagged as transparent.
10
+ */
11
+ lightSource?: Mesh | Points;
12
+ /**
13
+ * The opacity of the God Rays.
14
+ */
15
+ opacity?: number;
16
+ /**
17
+ * The density of the light rays.
18
+ */
19
+ density?: number;
20
+ /**
21
+ * The decay of the light rays.
22
+ */
23
+ decay?: number;
24
+ /**
25
+ * The blur kernel size. Has no effect if blur is disabled.
26
+ */
27
+ kernelSize?: KernelSize;
28
+ /**
29
+ * The resolution scale.
30
+ */
31
+ resolutionScale?: number;
32
+ /**
33
+ * Whether the god rays should be blurred to reduce artifacts.
34
+ */
35
+ blur?: boolean;
36
+ /**
37
+ * The horizontal resolution.
38
+ */
39
+ resolutionX?: number;
40
+ /**
41
+ * The vertical resolution.
42
+ */
43
+ resolutionY?: number;
44
+ /**
45
+ * The weight of the light rays.
46
+ */
47
+ weight?: number;
48
+ /**
49
+ * A constant attenuation coefficient.
50
+ */
51
+ exposure?: number;
52
+ /**
53
+ * The number of samples per pixel.
54
+ */
55
+ samples?: number;
56
+ /**
57
+ * An upper bound for the saturation of the overall effect.
58
+ */
59
+ clampMax?: number;
60
+ }
61
+ declare const _default: import('vue').DefineComponent<GodRaysPmndrsProps, {
62
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
63
+ effect: import('vue').ShallowRef<GodRaysEffect | null>;
64
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GodRaysPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
65
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { BlendFunction, GridEffect } from 'postprocessing';
2
+ export interface GridPmndrsProps {
3
+ /**
4
+ * The blend function.
5
+ */
6
+ blendFunction?: BlendFunction;
7
+ /**
8
+ * The scale.
9
+ */
10
+ scale?: number;
11
+ /**
12
+ * The line width.
13
+ */
14
+ lineWidth?: number;
15
+ }
16
+ declare const _default: import('vue').DefineComponent<GridPmndrsProps, {
17
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
18
+ effect: import('vue').ShallowRef<GridEffect | null>;
19
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GridPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import { BlendFunction, HueSaturationEffect } from 'postprocessing';
2
+ export interface HueSaturationPmndrsProps {
3
+ /**
4
+ * The saturation adjustment. A value of 0.0 results in grayscale, and 1.0 leaves saturation unchanged.
5
+ * Range: [0.0, 1.0]
6
+ */
7
+ saturation?: number;
8
+ /**
9
+ * The hue adjustment in radians.
10
+ * Range: [-π, π] (or [0, 2π] for a full rotation)
11
+ */
12
+ hue?: number;
13
+ /**
14
+ * The blend function. Defines how the effect blends with the original scene.
15
+ */
16
+ blendFunction?: BlendFunction;
17
+ }
18
+ declare const _default: import('vue').DefineComponent<HueSaturationPmndrsProps, {
19
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
20
+ effect: import('vue').ShallowRef<HueSaturationEffect | null>;
21
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<HueSaturationPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { BlendFunction } from 'postprocessing';
2
+ import { KuwaharaEffect } from './custom/kuwahara/index';
3
+ export interface KuwaharaPmndrsProps {
4
+ /**
5
+ * The blend function for the effect.
6
+ * Determines how this effect blends with other effects.
7
+ */
8
+ blendFunction?: BlendFunction;
9
+ /**
10
+ * The intensity of the barrel distortion.
11
+ * A value between 0 (no distortion) and 1 (maximum distortion).
12
+ */
13
+ radius?: number;
14
+ /**
15
+ * The number of sectors.
16
+ * Determines the number of angular divisions used in the Kuwahara filter.
17
+ * Higher values can improve the quality of the effect but may reduce performance.
18
+ * The maximum value is defined by MAX_SECTOR_COUNT = 8 in the kuwahara/index.ts file.
19
+ * It is preferable that the value is an integer.
20
+ */
21
+ sectorCount?: number;
22
+ }
23
+ declare const _default: import('vue').DefineComponent<KuwaharaPmndrsProps, {
24
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
25
+ effect: import('vue').ShallowRef<KuwaharaEffect | null>;
26
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KuwaharaPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import { LensDistortionEffect } from 'postprocessing';
2
+ import { Vector2 } from 'three';
3
+ export interface LensDistortionPmndrsProps {
4
+ /**
5
+ * The distortion effect strength.
6
+ */
7
+ distortion?: Vector2 | [number, number];
8
+ /**
9
+ * The center point.
10
+ */
11
+ principalPoint?: Vector2 | [number, number];
12
+ /**
13
+ * The focal length.
14
+ */
15
+ focalLength?: Vector2 | [number, number];
16
+ /**
17
+ * The skew value.
18
+ */
19
+ skew?: number;
20
+ }
21
+ declare const _default: import('vue').DefineComponent<LensDistortionPmndrsProps, {
22
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
23
+ effect: import('vue').ShallowRef<LensDistortionEffect | null>;
24
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LensDistortionPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { BlendFunction } from 'postprocessing';
2
+ import { LinocutEffect } from './custom/linocut/index';
3
+ import { Vector2 } from 'three';
4
+ export interface LinocutPmndrsProps {
5
+ blendFunction?: BlendFunction;
6
+ scale?: number;
7
+ noiseScale?: number;
8
+ center?: Vector2 | [number, number];
9
+ rotation?: number;
10
+ }
11
+ declare const _default: import('vue').DefineComponent<LinocutPmndrsProps, {
12
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
13
+ effect: import('vue').ShallowRef<LinocutEffect | null>;
14
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LinocutPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
@@ -10,7 +10,6 @@ declare const _default: import('vue').DefineComponent<NoisePmndrsProps, {
10
10
  pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
11
11
  effect: import('vue').ShallowRef<NoiseEffect | null>;
12
12
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NoisePmndrsProps> & Readonly<{}>, {
13
- blendFunction: BlendFunction;
14
13
  premultiply: boolean;
15
14
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
15
  export default _default;
@@ -0,0 +1,24 @@
1
+ import { BlendFunction, ScanlineEffect } from 'postprocessing';
2
+ export interface ScanlinePmndrsProps {
3
+ /**
4
+ * The blend function.
5
+ */
6
+ blendFunction?: BlendFunction;
7
+ /**
8
+ * The density of the scanlines.
9
+ */
10
+ density?: number;
11
+ /**
12
+ * The density of the scanlines.
13
+ */
14
+ scrollSpeed?: number;
15
+ /**
16
+ * The opacity of the scanlines.
17
+ */
18
+ opacity?: number;
19
+ }
20
+ declare const _default: import('vue').DefineComponent<ScanlinePmndrsProps, {
21
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
22
+ effect: import('vue').ShallowRef<ScanlineEffect | null>;
23
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ScanlinePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { BlendFunction, SepiaEffect } from 'postprocessing';
2
+ export interface SepiaPmndrsProps {
3
+ /**
4
+ * The blend function.
5
+ */
6
+ blendFunction?: BlendFunction;
7
+ /**
8
+ * The intensity of the sepia effect.
9
+ */
10
+ intensity?: number;
11
+ }
12
+ declare const _default: import('vue').DefineComponent<SepiaPmndrsProps, {
13
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
14
+ effect: import('vue').ShallowRef<SepiaEffect | null>;
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SepiaPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
@@ -0,0 +1,29 @@
1
+ import { ShockWaveEffect } from 'postprocessing';
2
+ import { Vector3 } from 'three';
3
+ export interface ShockWavePmndrsProps {
4
+ /**
5
+ * The position of the shockwave.
6
+ */
7
+ position?: Vector3 | [number, number, number];
8
+ /**
9
+ * The amplitude of the shockwave.
10
+ */
11
+ amplitude?: number;
12
+ /**
13
+ * The speed of the shockwave.
14
+ */
15
+ speed?: number;
16
+ /**
17
+ * The max radius of the shockwave.
18
+ */
19
+ maxRadius?: number;
20
+ /**
21
+ * The wave size of the shockwave.
22
+ */
23
+ waveSize?: number;
24
+ }
25
+ declare const _default: import('vue').DefineComponent<ShockWavePmndrsProps, {
26
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
27
+ effect: import('vue').ShallowRef<ShockWaveEffect | null>;
28
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ShockWavePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
+ export default _default;
@@ -0,0 +1,49 @@
1
+ import { BlendFunction, KernelSize, TiltShiftEffect } from 'postprocessing';
2
+ export interface TiltShiftPmndrsProps {
3
+ /**
4
+ * The blend function. Defines how the effect blends with the original scene.
5
+ */
6
+ blendFunction?: BlendFunction;
7
+ /**
8
+ * The relative offset of the focus area.
9
+ * Range: [-0.5, 0.5]
10
+ */
11
+ offset?: number;
12
+ /**
13
+ * The rotation of the focus area in radians.
14
+ * Range: [-π, π]
15
+ */
16
+ rotation?: number;
17
+ /**
18
+ * The relative size of the focus area.
19
+ * Range: [0, 1]
20
+ */
21
+ focusArea?: number;
22
+ /**
23
+ * The softness of the focus area edges.
24
+ * Range: [0, 1]
25
+ */
26
+ feather?: number;
27
+ /**
28
+ * The blur kernel size.
29
+ */
30
+ kernelSize?: KernelSize;
31
+ /**
32
+ * The resolution scale.
33
+ * Range: [0.1, 1]
34
+ */
35
+ resolutionScale?: number;
36
+ /**
37
+ * The horizontal resolution.
38
+ */
39
+ resolutionX?: number;
40
+ /**
41
+ * The vertical resolution.
42
+ */
43
+ resolutionY?: number;
44
+ }
45
+ declare const _default: import('vue').DefineComponent<TiltShiftPmndrsProps, {
46
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
47
+ effect: import('vue').ShallowRef<TiltShiftEffect | null>;
48
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TiltShiftPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
49
+ export default _default;
@@ -0,0 +1,36 @@
1
+ import { BlendFunction, ToneMappingMode, ToneMappingEffect } from 'postprocessing';
2
+ export interface ToneMappingPmndrsProps {
3
+ /**
4
+ * The tone mapping mode.
5
+ */
6
+ mode?: ToneMappingMode;
7
+ /**
8
+ * The blend function.
9
+ */
10
+ blendFunction?: BlendFunction;
11
+ /**
12
+ * The resolution for luminance texture. The resolution of the luminance texture. Must be a power of two.
13
+ */
14
+ resolution?: number;
15
+ /**
16
+ * The average luminance. Only for `REINHARD2`.
17
+ */
18
+ averageLuminance?: number;
19
+ /**
20
+ * The middle grey factor. Only for `REINHARD2`.
21
+ */
22
+ middleGrey?: number;
23
+ /**
24
+ * The minimum luminance. Only for `REINHARD2`.
25
+ */
26
+ minLuminance?: number;
27
+ /**
28
+ * The white point. Only for `REINHARD2`.
29
+ */
30
+ whitePoint?: number;
31
+ }
32
+ declare const _default: import('vue').DefineComponent<ToneMappingPmndrsProps, {
33
+ pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
34
+ effect: import('vue').ShallowRef<ToneMappingEffect | null>;
35
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ToneMappingPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
+ export default _default;
@@ -1,20 +1,15 @@
1
- import { BlendFunction, VignetteEffect, VignetteTechnique } from 'postprocessing';
1
+ import { BlendFunction, VignetteTechnique, VignetteEffect } from 'postprocessing';
2
2
  export interface VignettePmndrsProps {
3
3
  /**
4
4
  * Whether the noise should be multiplied with the input color.
5
5
  */
6
6
  technique?: VignetteTechnique;
7
7
  blendFunction?: BlendFunction;
8
- offset: number;
9
- darkness: number;
8
+ offset?: number;
9
+ darkness?: number;
10
10
  }
11
11
  declare const _default: import('vue').DefineComponent<VignettePmndrsProps, {
12
12
  pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
13
13
  effect: import('vue').ShallowRef<VignetteEffect | null>;
14
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<VignettePmndrsProps> & Readonly<{}>, {
15
- blendFunction: BlendFunction;
16
- technique: VignetteTechnique;
17
- offset: number;
18
- darkness: number;
19
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<VignettePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
15
  export default _default;
@@ -0,0 +1,36 @@
1
+ import { Vector2 } from 'three';
2
+ import { BlendFunction, Effect } from 'postprocessing';
3
+ /**
4
+ * BarrelBlurEffect - A custom effect for applying a barrel distortion
5
+ * with chromatic aberration blur.
6
+ */
7
+ export declare class BarrelBlurEffect extends Effect {
8
+ /**
9
+ * Creates a new BarrelBlurEffect instance.
10
+ *
11
+ * @param {object} [options] - Configuration options for the effect.
12
+ * @param {BlendFunction} [options.blendFunction] - Blend mode.
13
+ * @param {number} [options.amount] - Intensity of the barrel distortion (0 to 1).
14
+ * @param {Vector2} [options.offset] - Offset of the barrel distortion center (0 to 1 for both x and y). This allows you to change the position of the distortion effect.
15
+ *
16
+ */
17
+ constructor({ blendFunction, amount, offset }?: {
18
+ blendFunction?: BlendFunction | undefined;
19
+ amount?: number | undefined;
20
+ offset?: Vector2 | undefined;
21
+ });
22
+ /**
23
+ * The amount.
24
+ *
25
+ * @type {number}
26
+ */
27
+ get amount(): any;
28
+ set amount(value: any);
29
+ /**
30
+ * The offset.
31
+ *
32
+ * @type {Vector2}
33
+ */
34
+ get offset(): any;
35
+ set offset(value: any);
36
+ }
@@ -0,0 +1,44 @@
1
+ import { Vector2 } from 'three';
2
+ import { BlendFunction, Effect } from 'postprocessing';
3
+ /**
4
+ * FishEyeEffect - A custom effect for applying a fish-eye distortion
5
+ */
6
+ export declare class FishEyeEffect extends Effect {
7
+ /**
8
+ * Creates a new FishEyeEffect instance.
9
+ *
10
+ * @param {object} [options] - Configuration options for the effect.
11
+ * @param {BlendFunction} [options.blendFunction] - Blend mode.
12
+ * @param {Vector2} [options.lensS] - Lens scale.
13
+ * @param {Vector2} [options.lensF] - Lens factor.
14
+ * @param {number} [options.scale] - Scale.
15
+ *
16
+ */
17
+ constructor({ blendFunction, lensS, lensF, scale }?: {
18
+ blendFunction?: BlendFunction | undefined;
19
+ lensS?: Vector2 | undefined;
20
+ lensF?: Vector2 | undefined;
21
+ scale?: number | undefined;
22
+ });
23
+ /**
24
+ * The lensS.
25
+ *
26
+ * @type {Vector2}
27
+ */
28
+ get lensS(): any;
29
+ set lensS(value: any);
30
+ /**
31
+ * The lensF.
32
+ *
33
+ * @type {Vector2}
34
+ */
35
+ get lensF(): any;
36
+ set lensF(value: any);
37
+ /**
38
+ * The scale.
39
+ *
40
+ * @type {number}
41
+ */
42
+ get scale(): any;
43
+ set scale(value: any);
44
+ }