@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,31 @@
1
+ import { BlendFunction, Effect } from 'postprocessing';
2
+ export declare class KuwaharaEffect extends Effect {
3
+ /**
4
+ * Creates a new KuwaharaEffect instance.
5
+ *
6
+ * @param {object} [options] - Configuration options for the effect.
7
+ * @param {BlendFunction} [options.blendFunction] - Blend mode.
8
+ * @param {number} [options.radius] - Intensity of the effect.
9
+ * @param {number} [options.sectorCount] - Number of sectors.
10
+ *
11
+ */
12
+ constructor({ blendFunction, radius, sectorCount }?: {
13
+ blendFunction?: BlendFunction | undefined;
14
+ radius?: number | undefined;
15
+ sectorCount?: number | undefined;
16
+ });
17
+ /**
18
+ * The radius.
19
+ *
20
+ * @type {number}
21
+ */
22
+ get radius(): any;
23
+ set radius(value: any);
24
+ /**
25
+ * The sector count.
26
+ *
27
+ * @type {number}
28
+ */
29
+ get sectorCount(): any;
30
+ set sectorCount(value: any);
31
+ }
@@ -0,0 +1,27 @@
1
+ import { BlendFunction, Effect } from 'postprocessing';
2
+ /**
3
+ * LinocutEffect - A custom effect for applying a linocut shader effect.
4
+ */
5
+ export declare class LinocutEffect extends Effect {
6
+ /**
7
+ * Creates a new LinocutEffect instance.
8
+ *
9
+ * @param {LinocutPmndrsProps} [options] - Configuration options for the effect.
10
+ *
11
+ */
12
+ constructor({ blendFunction, scale, noiseScale, center, rotation }?: {
13
+ blendFunction?: BlendFunction | undefined;
14
+ scale?: number | undefined;
15
+ noiseScale?: number | undefined;
16
+ center?: number[] | undefined;
17
+ rotation?: number | undefined;
18
+ });
19
+ get scale(): any;
20
+ set scale(value: any);
21
+ get noiseScale(): any;
22
+ set noiseScale(value: any);
23
+ get center(): any;
24
+ set center(value: any);
25
+ get rotation(): any;
26
+ set rotation(value: any);
27
+ }
@@ -7,4 +7,23 @@ import { default as NoisePmndrs, NoisePmndrsProps } from './NoisePmndrs.vue';
7
7
  import { default as OutlinePmndrs, OutlinePmndrsProps } from './OutlinePmndrs.vue';
8
8
  import { default as PixelationPmndrs, PixelationPmndrsProps } from './PixelationPmndrs.vue';
9
9
  import { default as VignettePmndrs, VignettePmndrsProps } from './VignettePmndrs.vue';
10
- export { BloomPmndrs, DepthOfFieldPmndrs, EffectComposerPmndrs, GlitchPmndrs, NoisePmndrs, OutlinePmndrs, PixelationPmndrs, useEffectPmndrs, VignettePmndrs, BloomPmndrsProps, DepthOfFieldPmndrsProps, EffectComposerPmndrsProps, GlitchPmndrsProps, NoisePmndrsProps, OutlinePmndrsProps, PixelationPmndrsProps, VignettePmndrsProps, };
10
+ import { default as BarrelBlurPmndrs, BarrelBlurPmndrsProps } from './BarrelBlurPmndrs.vue';
11
+ import { default as ToneMappingPmndrs, ToneMappingPmndrsProps } from './ToneMappingPmndrs.vue';
12
+ import { default as ChromaticAberrationPmndrs, ChromaticAberrationPmndrsProps } from './ChromaticAberrationPmndrs.vue';
13
+ import { default as HueSaturationPmndrs, HueSaturationPmndrsProps } from './HueSaturationPmndrs.vue';
14
+ import { default as ScanlinePmndrs, ScanlinePmndrsProps } from './ScanlinePmndrs.vue';
15
+ import { default as KuwaharaPmndrs, KuwaharaPmndrsProps } from './KuwaharaPmndrs.vue';
16
+ import { default as ColorAveragePmndrs, ColorAveragePmndrsProps } from './ColorAveragePmndrs.vue';
17
+ import { default as LensDistortionPmndrs, LensDistortionPmndrsProps } from './LensDistortionPmndrs.vue';
18
+ import { default as ShockWavePmndrs, ShockWavePmndrsProps } from './ShockWavePmndrs.vue';
19
+ import { default as TiltShiftPmndrs, TiltShiftPmndrsProps } from './TiltShiftPmndrs.vue';
20
+ import { default as DotScreenPmndrs, DotScreenPmndrsProps } from './DotScreenPmndrs.vue';
21
+ import { default as SepiaPmndrs, SepiaPmndrsProps } from './SepiaPmndrs.vue';
22
+ import { default as LinocutPmndrs, LinocutPmndrsProps } from './LinocutPmndrs.vue';
23
+ import { default as DepthPickingPassPmndrs, DepthPickingPassPmndrsProps } from './DepthPickingPassPmndrs.vue';
24
+ import { default as GodRaysPmndrs, GodRaysPmndrsProps } from './GodRaysPmndrs.vue';
25
+ import { default as ColorDepthPmndrs, ColorDepthPmndrsProps } from './ColorDepthPmndrs.vue';
26
+ import { default as GridPmndrs, GridPmndrsProps } from './GridPmndrs.vue';
27
+ import { default as FishEyePmndrs, FishEyePmndrsProps } from './FishEyePmndrs.vue';
28
+ import { default as BrightnessContrastPmndrs, BrightnessContrastPmndrsProps } from './BrightnessContrastPmndrs.vue';
29
+ export { BloomPmndrs, DepthOfFieldPmndrs, EffectComposerPmndrs, GlitchPmndrs, NoisePmndrs, OutlinePmndrs, PixelationPmndrs, useEffectPmndrs, VignettePmndrs, BarrelBlurPmndrs, HueSaturationPmndrs, ToneMappingPmndrs, ChromaticAberrationPmndrs, ScanlinePmndrs, KuwaharaPmndrs, ColorAveragePmndrs, LensDistortionPmndrs, ShockWavePmndrs, TiltShiftPmndrs, DotScreenPmndrs, SepiaPmndrs, LinocutPmndrs, DepthPickingPassPmndrs, GodRaysPmndrs, ColorDepthPmndrs, GridPmndrs, FishEyePmndrs, BrightnessContrastPmndrs, BloomPmndrsProps, DepthOfFieldPmndrsProps, EffectComposerPmndrsProps, GlitchPmndrsProps, NoisePmndrsProps, OutlinePmndrsProps, PixelationPmndrsProps, VignettePmndrsProps, BarrelBlurPmndrsProps, ToneMappingPmndrsProps, ChromaticAberrationPmndrsProps, HueSaturationPmndrsProps, ScanlinePmndrsProps, KuwaharaPmndrsProps, ColorAveragePmndrsProps, LensDistortionPmndrsProps, ShockWavePmndrsProps, TiltShiftPmndrsProps, DotScreenPmndrsProps, SepiaPmndrsProps, LinocutPmndrsProps, DepthPickingPassPmndrsProps, GodRaysPmndrsProps, ColorDepthPmndrsProps, GridPmndrsProps, FishEyePmndrsProps, BrightnessContrastPmndrsProps, };