@tresjs/post-processing 1.0.0 → 2.1.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 (36) hide show
  1. package/dist/core/pmndrs/BarrelBlurPmndrs.vue.d.ts +26 -0
  2. package/dist/core/pmndrs/{Bloom.vue.d.ts → BloomPmndrs.vue.d.ts} +8 -8
  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/{DepthOfField.vue.d.ts → DepthOfFieldPmndrs.vue.d.ts} +3 -3
  6. package/dist/core/pmndrs/DotScreenPmndrs.vue.d.ts +22 -0
  7. package/dist/core/pmndrs/{EffectComposer.vue.d.ts → EffectComposerPmndrs.vue.d.ts} +3 -3
  8. package/dist/core/pmndrs/{Glitch.vue.d.ts → GlitchPmndrs.vue.d.ts} +3 -3
  9. package/dist/core/pmndrs/HueSaturationPmndrs.vue.d.ts +22 -0
  10. package/dist/core/pmndrs/KuwaharaPmndrs.vue.d.ts +27 -0
  11. package/dist/core/pmndrs/LensDistortionPmndrs.vue.d.ts +25 -0
  12. package/dist/core/pmndrs/LinocutPmndrs.vue.d.ts +15 -0
  13. package/dist/core/pmndrs/{Noise.vue.d.ts → NoisePmndrs.vue.d.ts} +3 -4
  14. package/dist/core/pmndrs/{Outline.vue.d.ts → OutlinePmndrs.vue.d.ts} +3 -3
  15. package/dist/core/pmndrs/{Pixelation.vue.d.ts → PixelationPmndrs.vue.d.ts} +3 -3
  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/{Vignette.vue.d.ts → VignettePmndrs.vue.d.ts} +6 -11
  22. package/dist/core/pmndrs/composables/{useEffect.d.ts → useEffectPmndrs.d.ts} +1 -1
  23. package/dist/core/pmndrs/custom/barrel-blur/index.d.ts +36 -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 +23 -10
  27. package/dist/core/three/UnrealBloom.vue.d.ts +1 -1
  28. package/dist/index.d.ts +2 -0
  29. package/dist/tres-post-processing.d.ts +2 -0
  30. package/dist/{three.js → tres-post-processing.js} +1324 -258
  31. package/dist/tres-post-processing.umd.cjs +1209 -0
  32. package/package.json +24 -27
  33. package/dist/pmndrs.d.ts +0 -2
  34. package/dist/pmndrs.js +0 -352
  35. package/dist/prop-BjrXLDuj.js +0 -43
  36. package/dist/three.d.ts +0 -2
@@ -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
+ }
@@ -1,10 +1,23 @@
1
- import { default as Bloom, BloomProps } from './Bloom.vue';
2
- import { useEffect } from './composables/useEffect';
3
- import { default as DepthOfField, DepthOfFieldProps } from './DepthOfField.vue';
4
- import { default as EffectComposer, EffectComposerProps } from './EffectComposer.vue';
5
- import { default as Glitch, GlitchProps } from './Glitch.vue';
6
- import { default as Noise, NoiseProps } from './Noise.vue';
7
- import { default as Outline, OutlineProps } from './Outline.vue';
8
- import { default as Pixelation, PixelationProps } from './Pixelation.vue';
9
- import { default as Vignette, VignetteProps } from './Vignette.vue';
10
- export { Bloom, DepthOfField, EffectComposer, Glitch, Noise, Outline, Pixelation, useEffect, Vignette, BloomProps, DepthOfFieldProps, EffectComposerProps, GlitchProps, NoiseProps, OutlineProps, PixelationProps, VignetteProps, };
1
+ import { default as BloomPmndrs, BloomPmndrsProps } from './BloomPmndrs.vue';
2
+ import { useEffectPmndrs } from './composables/useEffectPmndrs';
3
+ import { default as DepthOfFieldPmndrs, DepthOfFieldPmndrsProps } from './DepthOfFieldPmndrs.vue';
4
+ import { default as EffectComposerPmndrs, EffectComposerPmndrsProps } from './EffectComposerPmndrs.vue';
5
+ import { default as GlitchPmndrs, GlitchPmndrsProps } from './GlitchPmndrs.vue';
6
+ import { default as NoisePmndrs, NoisePmndrsProps } from './NoisePmndrs.vue';
7
+ import { default as OutlinePmndrs, OutlinePmndrsProps } from './OutlinePmndrs.vue';
8
+ import { default as PixelationPmndrs, PixelationPmndrsProps } from './PixelationPmndrs.vue';
9
+ import { default as VignettePmndrs, VignettePmndrsProps } from './VignettePmndrs.vue';
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
+ export { BloomPmndrs, DepthOfFieldPmndrs, EffectComposerPmndrs, GlitchPmndrs, NoisePmndrs, OutlinePmndrs, PixelationPmndrs, useEffectPmndrs, VignettePmndrs, BarrelBlurPmndrs, HueSaturationPmndrs, ToneMappingPmndrs, ChromaticAberrationPmndrs, ScanlinePmndrs, KuwaharaPmndrs, ColorAveragePmndrs, LensDistortionPmndrs, ShockWavePmndrs, TiltShiftPmndrs, DotScreenPmndrs, SepiaPmndrs, LinocutPmndrs, BloomPmndrsProps, DepthOfFieldPmndrsProps, EffectComposerPmndrsProps, GlitchPmndrsProps, NoisePmndrsProps, OutlinePmndrsProps, PixelationPmndrsProps, VignettePmndrsProps, BarrelBlurPmndrsProps, ToneMappingPmndrsProps, ChromaticAberrationPmndrsProps, HueSaturationPmndrsProps, ScanlinePmndrsProps, KuwaharaPmndrsProps, ColorAveragePmndrsProps, LensDistortionPmndrsProps, ShockWavePmndrsProps, TiltShiftPmndrsProps, DotScreenPmndrsProps, SepiaPmndrsProps, LinocutPmndrsProps, };
@@ -7,8 +7,8 @@ export interface UnrealBloomProps {
7
7
  declare const _default: import('vue').DefineComponent<UnrealBloomProps, {
8
8
  pass: import('vue').ShallowRef<UnrealBloomPass>;
9
9
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UnrealBloomProps> & Readonly<{}>, {
10
- radius: number;
11
10
  strength: number;
11
+ radius: number;
12
12
  threshold: number;
13
13
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
@@ -0,0 +1,2 @@
1
+ export * from './core/pmndrs';
2
+ export * from './core/three';
@@ -0,0 +1,2 @@
1
+ export * from './index'
2
+ export {}