@tresjs/post-processing 3.1.2 → 3.2.1
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/dist/tres-post-processing.d.ts +154 -153
- package/dist/tres-post-processing.js +9 -5
- package/package.json +8 -9
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @tresjs/post-processing
|
|
3
|
-
* version: v3.1
|
|
4
|
-
* (c)
|
|
3
|
+
* version: v3.2.1
|
|
4
|
+
* (c) 2026
|
|
5
5
|
* description: Post-processing library for TresJS
|
|
6
6
|
* author: Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)
|
|
7
7
|
*/
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue6 from "vue";
|
|
9
9
|
import { Reactive, ShallowRef } from "vue";
|
|
10
10
|
import * as postprocessing0 from "postprocessing";
|
|
11
11
|
import { ASCIIEffect, ASCIITexture, BlendFunction, BloomEffect, BrightnessContrastEffect, ChromaticAberrationEffect, ColorAverageEffect, ColorDepthEffect, DepthCopyMode, DepthOfFieldEffect, DepthPickingPass, DotScreenEffect, EdgeDetectionMode, Effect, EffectComposer, EffectPass, FXAAEffect, GlitchEffect, GlitchMode, GodRaysEffect, GridEffect, HueSaturationEffect, KernelSize, LensDistortionEffect, NoiseEffect, OutlineEffect, PixelationEffect, PredicationMode, SMAAEffect, SMAAPreset, ScanlineEffect, SepiaEffect, ShockWaveEffect, TextureEffect, TiltShiftEffect, ToneMappingEffect, ToneMappingMode, VignetteEffect, VignetteTechnique } from "postprocessing";
|
|
12
12
|
import { TresColor } from "@tresjs/core";
|
|
13
|
-
import { Color, DepthPackingStrategies, Mesh, Object3D, Points, Texture, Vector2, Vector3 } from "three";
|
|
13
|
+
import { Color, DepthPackingStrategies, Mesh, Object3D, Points, Texture, Vector2, Vector3, WebGLRenderTarget } from "three";
|
|
14
14
|
import { EffectComposer as EffectComposer$1 } from "three/examples/jsm/postprocessing/EffectComposer.js";
|
|
15
15
|
import { GlitchPass } from "three/examples/jsm/postprocessing/GlitchPass.js";
|
|
16
16
|
import { HalftonePass } from "three/examples/jsm/postprocessing/HalftonePass.js";
|
|
@@ -76,12 +76,12 @@ interface BloomPmndrsProps {
|
|
|
76
76
|
mipmapBlur?: boolean;
|
|
77
77
|
}
|
|
78
78
|
declare const _default$2: typeof __VLS_export$37;
|
|
79
|
-
declare const __VLS_export$37:
|
|
80
|
-
pass:
|
|
81
|
-
effect:
|
|
82
|
-
}, {}, {}, {},
|
|
79
|
+
declare const __VLS_export$37: vue6.DefineComponent<BloomPmndrsProps, {
|
|
80
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
81
|
+
effect: vue6.ShallowRef<BloomEffect | null>;
|
|
82
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<BloomPmndrsProps> & Readonly<{}>, {
|
|
83
83
|
mipmapBlur: boolean;
|
|
84
|
-
}, {}, {}, {}, string,
|
|
84
|
+
}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/core/pmndrs/composables/useEffectPmndrs.d.ts
|
|
87
87
|
/**
|
|
@@ -125,10 +125,10 @@ interface DepthOfFieldPmndrsProps {
|
|
|
125
125
|
resolutionY?: number;
|
|
126
126
|
}
|
|
127
127
|
declare const _default$7: typeof __VLS_export$36;
|
|
128
|
-
declare const __VLS_export$36:
|
|
129
|
-
pass:
|
|
130
|
-
effect:
|
|
131
|
-
}, {}, {}, {},
|
|
128
|
+
declare const __VLS_export$36: vue6.DefineComponent<DepthOfFieldPmndrsProps, {
|
|
129
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
130
|
+
effect: vue6.ShallowRef<DepthOfFieldEffect | null>;
|
|
131
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<DepthOfFieldPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
132
132
|
//#endregion
|
|
133
133
|
//#region src/core/pmndrs/EffectComposerPmndrs.vue.d.ts
|
|
134
134
|
interface EffectComposerPmndrsProps {
|
|
@@ -142,11 +142,11 @@ interface EffectComposerPmndrsProps {
|
|
|
142
142
|
frameBufferType?: number;
|
|
143
143
|
}
|
|
144
144
|
declare const _default$11: typeof __VLS_export$35;
|
|
145
|
-
declare const __VLS_export$35: __VLS_WithSlots$1<
|
|
145
|
+
declare const __VLS_export$35: __VLS_WithSlots$1<vue6.DefineComponent<EffectComposerPmndrsProps, {
|
|
146
146
|
composer: ShallowRef<EffectComposer | null>;
|
|
147
|
-
}, {}, {}, {},
|
|
147
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {
|
|
148
148
|
render: (...args: any[]) => void;
|
|
149
|
-
}, string,
|
|
149
|
+
}, string, vue6.PublicProps, Readonly<EffectComposerPmndrsProps> & Readonly<{
|
|
150
150
|
onRender?: ((...args: any[]) => any) | undefined;
|
|
151
151
|
}>, {
|
|
152
152
|
enabled: boolean;
|
|
@@ -156,7 +156,7 @@ declare const __VLS_export$35: __VLS_WithSlots$1<vue47.DefineComponent<EffectCom
|
|
|
156
156
|
autoClear: boolean;
|
|
157
157
|
multisampling: number;
|
|
158
158
|
frameBufferType: number;
|
|
159
|
-
}, {}, {}, {}, string,
|
|
159
|
+
}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>, {
|
|
160
160
|
default?: (props: {}) => any;
|
|
161
161
|
}>;
|
|
162
162
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -211,10 +211,10 @@ interface GlitchPmndrsProps {
|
|
|
211
211
|
dtSize?: number;
|
|
212
212
|
}
|
|
213
213
|
declare const _default$15: typeof __VLS_export$34;
|
|
214
|
-
declare const __VLS_export$34:
|
|
215
|
-
pass:
|
|
216
|
-
effect:
|
|
217
|
-
}, {}, {}, {},
|
|
214
|
+
declare const __VLS_export$34: vue6.DefineComponent<GlitchPmndrsProps, {
|
|
215
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
216
|
+
effect: vue6.ShallowRef<GlitchEffect | null>;
|
|
217
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<GlitchPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
218
218
|
//#endregion
|
|
219
219
|
//#region src/core/pmndrs/NoisePmndrs.vue.d.ts
|
|
220
220
|
interface NoisePmndrsProps {
|
|
@@ -225,12 +225,12 @@ interface NoisePmndrsProps {
|
|
|
225
225
|
blendFunction?: BlendFunction;
|
|
226
226
|
}
|
|
227
227
|
declare const _default$23: typeof __VLS_export$33;
|
|
228
|
-
declare const __VLS_export$33:
|
|
229
|
-
pass:
|
|
230
|
-
effect:
|
|
231
|
-
}, {}, {}, {},
|
|
228
|
+
declare const __VLS_export$33: vue6.DefineComponent<NoisePmndrsProps, {
|
|
229
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
230
|
+
effect: vue6.ShallowRef<NoiseEffect | null>;
|
|
231
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<NoisePmndrsProps> & Readonly<{}>, {
|
|
232
232
|
premultiply: boolean;
|
|
233
|
-
}, {}, {}, {}, string,
|
|
233
|
+
}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
234
234
|
//#endregion
|
|
235
235
|
//#region src/core/pmndrs/OutlinePmndrs.vue.d.ts
|
|
236
236
|
interface OutlinePmndrsProps {
|
|
@@ -265,13 +265,13 @@ interface OutlinePmndrsProps {
|
|
|
265
265
|
hiddenEdgeColor?: TresColor;
|
|
266
266
|
visibleEdgeColor?: TresColor;
|
|
267
267
|
}
|
|
268
|
-
declare const __VLS_export$32:
|
|
269
|
-
pass:
|
|
270
|
-
effect:
|
|
271
|
-
}, {}, {}, {},
|
|
268
|
+
declare const __VLS_export$32: vue6.DefineComponent<OutlinePmndrsProps, {
|
|
269
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
270
|
+
effect: vue6.ShallowRef<OutlineEffect | null>;
|
|
271
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<OutlinePmndrsProps> & Readonly<{}>, {
|
|
272
272
|
blur: boolean;
|
|
273
273
|
xRay: boolean;
|
|
274
|
-
}, {}, {}, {}, string,
|
|
274
|
+
}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
275
275
|
declare const _default$24: typeof __VLS_export$32;
|
|
276
276
|
//#endregion
|
|
277
277
|
//#region src/core/pmndrs/PixelationPmndrs.vue.d.ts
|
|
@@ -282,10 +282,10 @@ interface PixelationPmndrsProps {
|
|
|
282
282
|
granularity?: number;
|
|
283
283
|
}
|
|
284
284
|
declare const _default$27: typeof __VLS_export$31;
|
|
285
|
-
declare const __VLS_export$31:
|
|
286
|
-
pass:
|
|
287
|
-
effect:
|
|
288
|
-
}, {}, {}, {},
|
|
285
|
+
declare const __VLS_export$31: vue6.DefineComponent<PixelationPmndrsProps, {
|
|
286
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
287
|
+
effect: vue6.ShallowRef<PixelationEffect | null>;
|
|
288
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<PixelationPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
289
289
|
//#endregion
|
|
290
290
|
//#region src/core/pmndrs/VignettePmndrs.vue.d.ts
|
|
291
291
|
interface VignettePmndrsProps {
|
|
@@ -298,10 +298,10 @@ interface VignettePmndrsProps {
|
|
|
298
298
|
darkness?: number;
|
|
299
299
|
}
|
|
300
300
|
declare const _default$37: typeof __VLS_export$30;
|
|
301
|
-
declare const __VLS_export$30:
|
|
302
|
-
pass:
|
|
303
|
-
effect:
|
|
304
|
-
}, {}, {}, {},
|
|
301
|
+
declare const __VLS_export$30: vue6.DefineComponent<VignettePmndrsProps, {
|
|
302
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
303
|
+
effect: vue6.ShallowRef<VignetteEffect | null>;
|
|
304
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<VignettePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
305
305
|
//#endregion
|
|
306
306
|
//#region src/core/pmndrs/custom/barrel-blur/index.d.ts
|
|
307
307
|
/**
|
|
@@ -362,10 +362,10 @@ interface BarrelBlurPmndrsProps {
|
|
|
362
362
|
*/
|
|
363
363
|
offset?: Vector2 | [number, number];
|
|
364
364
|
}
|
|
365
|
-
declare const __VLS_export$29:
|
|
366
|
-
pass:
|
|
367
|
-
effect:
|
|
368
|
-
}, {}, {}, {},
|
|
365
|
+
declare const __VLS_export$29: vue6.DefineComponent<BarrelBlurPmndrsProps, {
|
|
366
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
367
|
+
effect: vue6.ShallowRef<BarrelBlurEffect | null>;
|
|
368
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<BarrelBlurPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
369
369
|
declare const _default$1: typeof __VLS_export$29;
|
|
370
370
|
//#endregion
|
|
371
371
|
//#region src/core/pmndrs/ToneMappingPmndrs.vue.d.ts
|
|
@@ -399,10 +399,10 @@ interface ToneMappingPmndrsProps {
|
|
|
399
399
|
*/
|
|
400
400
|
whitePoint?: number;
|
|
401
401
|
}
|
|
402
|
-
declare const __VLS_export$28:
|
|
403
|
-
pass:
|
|
404
|
-
effect:
|
|
405
|
-
}, {}, {}, {},
|
|
402
|
+
declare const __VLS_export$28: vue6.DefineComponent<ToneMappingPmndrsProps, {
|
|
403
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
404
|
+
effect: vue6.ShallowRef<ToneMappingEffect | null>;
|
|
405
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<ToneMappingPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
406
406
|
declare const _default$35: typeof __VLS_export$28;
|
|
407
407
|
//#endregion
|
|
408
408
|
//#region src/core/pmndrs/ChromaticAberrationPmndrs.vue.d.ts
|
|
@@ -424,12 +424,12 @@ interface ChromaticAberrationPmndrsProps {
|
|
|
424
424
|
*/
|
|
425
425
|
modulationOffset?: number;
|
|
426
426
|
}
|
|
427
|
-
declare const __VLS_export$27:
|
|
428
|
-
pass:
|
|
429
|
-
effect:
|
|
430
|
-
}, {}, {}, {},
|
|
427
|
+
declare const __VLS_export$27: vue6.DefineComponent<ChromaticAberrationPmndrsProps, {
|
|
428
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
429
|
+
effect: vue6.ShallowRef<ChromaticAberrationEffect | null>;
|
|
430
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<ChromaticAberrationPmndrsProps> & Readonly<{}>, {
|
|
431
431
|
radialModulation: boolean;
|
|
432
|
-
}, {}, {}, {}, string,
|
|
432
|
+
}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
433
433
|
declare const _default$4: typeof __VLS_export$27;
|
|
434
434
|
//#endregion
|
|
435
435
|
//#region src/core/pmndrs/HueSaturationPmndrs.vue.d.ts
|
|
@@ -449,10 +449,10 @@ interface HueSaturationPmndrsProps {
|
|
|
449
449
|
*/
|
|
450
450
|
blendFunction?: BlendFunction;
|
|
451
451
|
}
|
|
452
|
-
declare const __VLS_export$26:
|
|
453
|
-
pass:
|
|
454
|
-
effect:
|
|
455
|
-
}, {}, {}, {},
|
|
452
|
+
declare const __VLS_export$26: vue6.DefineComponent<HueSaturationPmndrsProps, {
|
|
453
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
454
|
+
effect: vue6.ShallowRef<HueSaturationEffect | null>;
|
|
455
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<HueSaturationPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
456
456
|
declare const _default$19: typeof __VLS_export$26;
|
|
457
457
|
//#endregion
|
|
458
458
|
//#region src/core/pmndrs/ScanlinePmndrs.vue.d.ts
|
|
@@ -474,10 +474,10 @@ interface ScanlinePmndrsProps {
|
|
|
474
474
|
*/
|
|
475
475
|
opacity?: number;
|
|
476
476
|
}
|
|
477
|
-
declare const __VLS_export$25:
|
|
478
|
-
pass:
|
|
479
|
-
effect:
|
|
480
|
-
}, {}, {}, {},
|
|
477
|
+
declare const __VLS_export$25: vue6.DefineComponent<ScanlinePmndrsProps, {
|
|
478
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
479
|
+
effect: vue6.ShallowRef<ScanlineEffect | null>;
|
|
480
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<ScanlinePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
481
481
|
declare const _default$30: typeof __VLS_export$25;
|
|
482
482
|
//#endregion
|
|
483
483
|
//#region src/core/pmndrs/custom/kuwahara/index.d.ts
|
|
@@ -537,10 +537,10 @@ interface KuwaharaPmndrsProps {
|
|
|
537
537
|
*/
|
|
538
538
|
sectorCount?: number;
|
|
539
539
|
}
|
|
540
|
-
declare const __VLS_export$24:
|
|
541
|
-
pass:
|
|
542
|
-
effect:
|
|
543
|
-
}, {}, {}, {},
|
|
540
|
+
declare const __VLS_export$24: vue6.DefineComponent<KuwaharaPmndrsProps, {
|
|
541
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
542
|
+
effect: vue6.ShallowRef<KuwaharaEffect | null>;
|
|
543
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<KuwaharaPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
544
544
|
declare const _default$20: typeof __VLS_export$24;
|
|
545
545
|
//#endregion
|
|
546
546
|
//#region src/core/pmndrs/ColorAveragePmndrs.vue.d.ts
|
|
@@ -554,10 +554,10 @@ interface ColorAveragePmndrsProps {
|
|
|
554
554
|
*/
|
|
555
555
|
opacity?: number;
|
|
556
556
|
}
|
|
557
|
-
declare const __VLS_export$23:
|
|
558
|
-
pass:
|
|
559
|
-
effect:
|
|
560
|
-
}, {}, {}, {},
|
|
557
|
+
declare const __VLS_export$23: vue6.DefineComponent<ColorAveragePmndrsProps, {
|
|
558
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
559
|
+
effect: vue6.ShallowRef<ColorAverageEffect | null>;
|
|
560
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<ColorAveragePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
561
561
|
declare const _default$5: typeof __VLS_export$23;
|
|
562
562
|
//#endregion
|
|
563
563
|
//#region src/core/pmndrs/LensDistortionPmndrs.vue.d.ts
|
|
@@ -579,10 +579,10 @@ interface LensDistortionPmndrsProps {
|
|
|
579
579
|
*/
|
|
580
580
|
skew?: number;
|
|
581
581
|
}
|
|
582
|
-
declare const __VLS_export$22:
|
|
583
|
-
pass:
|
|
584
|
-
effect:
|
|
585
|
-
}, {}, {}, {},
|
|
582
|
+
declare const __VLS_export$22: vue6.DefineComponent<LensDistortionPmndrsProps, {
|
|
583
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
584
|
+
effect: vue6.ShallowRef<LensDistortionEffect | null>;
|
|
585
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<LensDistortionPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
586
586
|
declare const _default$21: typeof __VLS_export$22;
|
|
587
587
|
//#endregion
|
|
588
588
|
//#region src/core/pmndrs/ShockWavePmndrs.vue.d.ts
|
|
@@ -608,10 +608,10 @@ interface ShockWavePmndrsProps {
|
|
|
608
608
|
*/
|
|
609
609
|
waveSize?: number;
|
|
610
610
|
}
|
|
611
|
-
declare const __VLS_export$21:
|
|
612
|
-
pass:
|
|
613
|
-
effect:
|
|
614
|
-
}, {}, {}, {},
|
|
611
|
+
declare const __VLS_export$21: vue6.DefineComponent<ShockWavePmndrsProps, {
|
|
612
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
613
|
+
effect: vue6.ShallowRef<ShockWaveEffect | null>;
|
|
614
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<ShockWavePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
615
615
|
declare const _default$32: typeof __VLS_export$21;
|
|
616
616
|
//#endregion
|
|
617
617
|
//#region src/core/pmndrs/TiltShiftPmndrs.vue.d.ts
|
|
@@ -658,10 +658,10 @@ interface TiltShiftPmndrsProps {
|
|
|
658
658
|
*/
|
|
659
659
|
resolutionY?: number;
|
|
660
660
|
}
|
|
661
|
-
declare const __VLS_export$20:
|
|
662
|
-
pass:
|
|
663
|
-
effect:
|
|
664
|
-
}, {}, {}, {},
|
|
661
|
+
declare const __VLS_export$20: vue6.DefineComponent<TiltShiftPmndrsProps, {
|
|
662
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
663
|
+
effect: vue6.ShallowRef<TiltShiftEffect | null>;
|
|
664
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<TiltShiftPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
665
665
|
declare const _default$34: typeof __VLS_export$20;
|
|
666
666
|
//#endregion
|
|
667
667
|
//#region src/core/pmndrs/DotScreenPmndrs.vue.d.ts
|
|
@@ -681,10 +681,10 @@ interface DotScreenPmndrsProps {
|
|
|
681
681
|
*/
|
|
682
682
|
blendFunction?: BlendFunction;
|
|
683
683
|
}
|
|
684
|
-
declare const __VLS_export$19:
|
|
685
|
-
pass:
|
|
686
|
-
effect:
|
|
687
|
-
}, {}, {}, {},
|
|
684
|
+
declare const __VLS_export$19: vue6.DefineComponent<DotScreenPmndrsProps, {
|
|
685
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
686
|
+
effect: vue6.ShallowRef<DotScreenEffect | null>;
|
|
687
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<DotScreenPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
688
688
|
declare const _default$9: typeof __VLS_export$19;
|
|
689
689
|
//#endregion
|
|
690
690
|
//#region src/core/pmndrs/SepiaPmndrs.vue.d.ts
|
|
@@ -698,10 +698,10 @@ interface SepiaPmndrsProps {
|
|
|
698
698
|
*/
|
|
699
699
|
intensity?: number;
|
|
700
700
|
}
|
|
701
|
-
declare const __VLS_export$18:
|
|
702
|
-
pass:
|
|
703
|
-
effect:
|
|
704
|
-
}, {}, {}, {},
|
|
701
|
+
declare const __VLS_export$18: vue6.DefineComponent<SepiaPmndrsProps, {
|
|
702
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
703
|
+
effect: vue6.ShallowRef<SepiaEffect | null>;
|
|
704
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<SepiaPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
705
705
|
declare const _default$31: typeof __VLS_export$18;
|
|
706
706
|
//#endregion
|
|
707
707
|
//#region src/core/pmndrs/custom/linocut/index.d.ts
|
|
@@ -746,10 +746,10 @@ interface LinocutPmndrsProps {
|
|
|
746
746
|
center?: Vector2 | [number, number];
|
|
747
747
|
rotation?: number;
|
|
748
748
|
}
|
|
749
|
-
declare const __VLS_export$17:
|
|
750
|
-
pass:
|
|
751
|
-
effect:
|
|
752
|
-
}, {}, {}, {},
|
|
749
|
+
declare const __VLS_export$17: vue6.DefineComponent<LinocutPmndrsProps, {
|
|
750
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
751
|
+
effect: vue6.ShallowRef<LinocutEffect | null>;
|
|
752
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<LinocutPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
753
753
|
declare const _default$22: typeof __VLS_export$17;
|
|
754
754
|
//#endregion
|
|
755
755
|
//#region src/core/pmndrs/DepthPickingPassPmndrs.vue.d.ts
|
|
@@ -765,9 +765,9 @@ interface DepthPickingPassPmndrsProps {
|
|
|
765
765
|
*/
|
|
766
766
|
mode?: DepthCopyMode;
|
|
767
767
|
}
|
|
768
|
-
declare const __VLS_export$16:
|
|
768
|
+
declare const __VLS_export$16: vue6.DefineComponent<DepthPickingPassPmndrsProps, {
|
|
769
769
|
pass: DepthPickingPass;
|
|
770
|
-
}, {}, {}, {},
|
|
770
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<DepthPickingPassPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
771
771
|
declare const _default$8: typeof __VLS_export$16;
|
|
772
772
|
//#endregion
|
|
773
773
|
//#region src/core/pmndrs/GodRaysPmndrs.vue.d.ts
|
|
@@ -829,10 +829,10 @@ interface GodRaysPmndrsProps {
|
|
|
829
829
|
*/
|
|
830
830
|
clampMax?: number;
|
|
831
831
|
}
|
|
832
|
-
declare const __VLS_export$15:
|
|
833
|
-
pass:
|
|
834
|
-
effect:
|
|
835
|
-
}, {}, {}, {},
|
|
832
|
+
declare const __VLS_export$15: vue6.DefineComponent<GodRaysPmndrsProps, {
|
|
833
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
834
|
+
effect: vue6.ShallowRef<GodRaysEffect | null>;
|
|
835
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<GodRaysPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
836
836
|
declare const _default$16: typeof __VLS_export$15;
|
|
837
837
|
//#endregion
|
|
838
838
|
//#region src/core/pmndrs/ColorDepthPmndrs.vue.d.ts
|
|
@@ -850,10 +850,10 @@ interface ColorDepthPmndrsProps {
|
|
|
850
850
|
*/
|
|
851
851
|
opacity?: number;
|
|
852
852
|
}
|
|
853
|
-
declare const __VLS_export$14:
|
|
854
|
-
pass:
|
|
855
|
-
effect:
|
|
856
|
-
}, {}, {}, {},
|
|
853
|
+
declare const __VLS_export$14: vue6.DefineComponent<ColorDepthPmndrsProps, {
|
|
854
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
855
|
+
effect: vue6.ShallowRef<ColorDepthEffect | null>;
|
|
856
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<ColorDepthPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
857
857
|
declare const _default$6: typeof __VLS_export$14;
|
|
858
858
|
//#endregion
|
|
859
859
|
//#region src/core/pmndrs/GridPmndrs.vue.d.ts
|
|
@@ -871,10 +871,10 @@ interface GridPmndrsProps {
|
|
|
871
871
|
*/
|
|
872
872
|
lineWidth?: number;
|
|
873
873
|
}
|
|
874
|
-
declare const __VLS_export$13:
|
|
875
|
-
pass:
|
|
876
|
-
effect:
|
|
877
|
-
}, {}, {}, {},
|
|
874
|
+
declare const __VLS_export$13: vue6.DefineComponent<GridPmndrsProps, {
|
|
875
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
876
|
+
effect: vue6.ShallowRef<GridEffect | null>;
|
|
877
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<GridPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
878
878
|
declare const _default$17: typeof __VLS_export$13;
|
|
879
879
|
//#endregion
|
|
880
880
|
//#region src/core/pmndrs/custom/fish-eye/index.d.ts
|
|
@@ -949,10 +949,10 @@ interface FishEyePmndrsProps {
|
|
|
949
949
|
*/
|
|
950
950
|
scale?: number;
|
|
951
951
|
}
|
|
952
|
-
declare const __VLS_export$12:
|
|
953
|
-
pass:
|
|
954
|
-
effect:
|
|
955
|
-
}, {}, {}, {},
|
|
952
|
+
declare const __VLS_export$12: vue6.DefineComponent<FishEyePmndrsProps, {
|
|
953
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
954
|
+
effect: vue6.ShallowRef<FishEyeEffect | null>;
|
|
955
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<FishEyePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
956
956
|
declare const _default$13: typeof __VLS_export$12;
|
|
957
957
|
//#endregion
|
|
958
958
|
//#region src/core/pmndrs/BrightnessContrastPmndrs.vue.d.ts
|
|
@@ -970,10 +970,10 @@ interface BrightnessContrastPmndrsProps {
|
|
|
970
970
|
*/
|
|
971
971
|
contrast?: number;
|
|
972
972
|
}
|
|
973
|
-
declare const __VLS_export$11:
|
|
974
|
-
pass:
|
|
975
|
-
effect:
|
|
976
|
-
}, {}, {}, {},
|
|
973
|
+
declare const __VLS_export$11: vue6.DefineComponent<BrightnessContrastPmndrsProps, {
|
|
974
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
975
|
+
effect: vue6.ShallowRef<BrightnessContrastEffect | null>;
|
|
976
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<BrightnessContrastPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
977
977
|
declare const _default$3: typeof __VLS_export$11;
|
|
978
978
|
//#endregion
|
|
979
979
|
//#region src/core/pmndrs/SMAAPmndrs.vue.d.ts
|
|
@@ -1014,10 +1014,10 @@ interface SMAAPmndrsProps {
|
|
|
1014
1014
|
debug?: typeof DEBUG_MODE[keyof typeof DEBUG_MODE];
|
|
1015
1015
|
}
|
|
1016
1016
|
declare const _default$29: typeof __VLS_export$10;
|
|
1017
|
-
declare const __VLS_export$10:
|
|
1018
|
-
pass:
|
|
1019
|
-
effect:
|
|
1020
|
-
}, {}, {}, {},
|
|
1017
|
+
declare const __VLS_export$10: vue6.DefineComponent<SMAAPmndrsProps, {
|
|
1018
|
+
pass: vue6.ShallowRef<EffectPass | null>;
|
|
1019
|
+
effect: vue6.ShallowRef<SMAAEffect | null>;
|
|
1020
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<SMAAPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
1021
1021
|
//#endregion
|
|
1022
1022
|
//#region src/core/pmndrs/FXAAPmndrs.vue.d.ts
|
|
1023
1023
|
interface FXAAPmndrsProps {
|
|
@@ -1046,10 +1046,10 @@ interface FXAAPmndrsProps {
|
|
|
1046
1046
|
*/
|
|
1047
1047
|
subpixelQuality?: number;
|
|
1048
1048
|
}
|
|
1049
|
-
declare const __VLS_export$9:
|
|
1050
|
-
pass:
|
|
1051
|
-
effect:
|
|
1052
|
-
}, {}, {}, {},
|
|
1049
|
+
declare const __VLS_export$9: vue6.DefineComponent<FXAAPmndrsProps, {
|
|
1050
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
1051
|
+
effect: vue6.ShallowRef<FXAAEffect | null>;
|
|
1052
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<FXAAPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
1053
1053
|
declare const _default$12: typeof __VLS_export$9;
|
|
1054
1054
|
//#endregion
|
|
1055
1055
|
//#region src/core/pmndrs/TexturePmndrs.vue.d.ts
|
|
@@ -1067,10 +1067,10 @@ interface TexturePmndrsProps {
|
|
|
1067
1067
|
*/
|
|
1068
1068
|
opacity?: number;
|
|
1069
1069
|
}
|
|
1070
|
-
declare const __VLS_export$8:
|
|
1071
|
-
pass:
|
|
1072
|
-
effect:
|
|
1073
|
-
}, {}, {}, {},
|
|
1070
|
+
declare const __VLS_export$8: vue6.DefineComponent<TexturePmndrsProps, {
|
|
1071
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
1072
|
+
effect: vue6.ShallowRef<TextureEffect | null>;
|
|
1073
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<TexturePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
1074
1074
|
declare const _default$33: typeof __VLS_export$8;
|
|
1075
1075
|
//#endregion
|
|
1076
1076
|
//#region src/core/pmndrs/ASCIIPmndrs.vue.d.ts
|
|
@@ -1107,10 +1107,10 @@ interface ASCIIPmndrsProps {
|
|
|
1107
1107
|
*/
|
|
1108
1108
|
asciiTexture?: ASCIITextureOptions;
|
|
1109
1109
|
}
|
|
1110
|
-
declare const __VLS_export$7:
|
|
1111
|
-
pass:
|
|
1112
|
-
effect:
|
|
1113
|
-
}, {}, {}, {},
|
|
1110
|
+
declare const __VLS_export$7: vue6.DefineComponent<ASCIIPmndrsProps, {
|
|
1111
|
+
pass: vue6.ShallowRef<postprocessing0.EffectPass | null>;
|
|
1112
|
+
effect: vue6.ShallowRef<ASCIIEffect | null>;
|
|
1113
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<ASCIIPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
1114
1114
|
declare const _default: typeof __VLS_export$7;
|
|
1115
1115
|
//#endregion
|
|
1116
1116
|
//#region src/core/three/composables/useEffect.d.ts
|
|
@@ -1126,14 +1126,15 @@ declare const useEffect: <T extends Pass, D extends Record<PropertyKey, any>>(ne
|
|
|
1126
1126
|
//#region src/core/three/EffectComposer.vue.d.ts
|
|
1127
1127
|
interface EffectComposerProps {
|
|
1128
1128
|
enabled?: boolean;
|
|
1129
|
+
renderTarget?: WebGLRenderTarget;
|
|
1129
1130
|
withoutRenderPass?: boolean;
|
|
1130
1131
|
}
|
|
1131
1132
|
declare const _default$10: typeof __VLS_export$6;
|
|
1132
|
-
declare const __VLS_export$6: __VLS_WithSlots<
|
|
1133
|
+
declare const __VLS_export$6: __VLS_WithSlots<vue6.DefineComponent<EffectComposerProps, {
|
|
1133
1134
|
composer: ShallowRef<EffectComposer$1 | null>;
|
|
1134
|
-
}, {}, {}, {},
|
|
1135
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<EffectComposerProps> & Readonly<{}>, {
|
|
1135
1136
|
enabled: boolean;
|
|
1136
|
-
}, {}, {}, {}, string,
|
|
1137
|
+
}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>, {
|
|
1137
1138
|
default?: (props: {}) => any;
|
|
1138
1139
|
}>;
|
|
1139
1140
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1154,9 +1155,9 @@ interface GlitchProps {
|
|
|
1154
1155
|
goWild?: boolean;
|
|
1155
1156
|
}
|
|
1156
1157
|
declare const _default$14: typeof __VLS_export$5;
|
|
1157
|
-
declare const __VLS_export$5:
|
|
1158
|
-
pass:
|
|
1159
|
-
}, {}, {}, {},
|
|
1158
|
+
declare const __VLS_export$5: vue6.DefineComponent<GlitchProps, {
|
|
1159
|
+
pass: vue6.ShallowRef<GlitchPass>;
|
|
1160
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<GlitchProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
1160
1161
|
//#endregion
|
|
1161
1162
|
//#region src/core/three/Halftone.vue.d.ts
|
|
1162
1163
|
declare enum HalftoneShape {
|
|
@@ -1177,9 +1178,9 @@ interface HalftoneProps {
|
|
|
1177
1178
|
blendingMode?: Blending;
|
|
1178
1179
|
}
|
|
1179
1180
|
declare const _default$18: typeof __VLS_export$4;
|
|
1180
|
-
declare const __VLS_export$4:
|
|
1181
|
-
pass:
|
|
1182
|
-
}, {}, {}, {},
|
|
1181
|
+
declare const __VLS_export$4: vue6.DefineComponent<HalftoneProps, {
|
|
1182
|
+
pass: vue6.ShallowRef<HalftonePass>;
|
|
1183
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<HalftoneProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
1183
1184
|
//#endregion
|
|
1184
1185
|
//#region src/core/three/Pixelation.vue.d.ts
|
|
1185
1186
|
interface PixelationProps {
|
|
@@ -1188,14 +1189,14 @@ interface PixelationProps {
|
|
|
1188
1189
|
normalEdgeStrength?: number;
|
|
1189
1190
|
}
|
|
1190
1191
|
declare const _default$26: typeof __VLS_export$3;
|
|
1191
|
-
declare const __VLS_export$3:
|
|
1192
|
-
pass:
|
|
1193
|
-
}, {}, {}, {},
|
|
1192
|
+
declare const __VLS_export$3: vue6.DefineComponent<PixelationProps, {
|
|
1193
|
+
pass: vue6.ShallowRef<RenderPixelatedPass>;
|
|
1194
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<PixelationProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
1194
1195
|
//#endregion
|
|
1195
1196
|
//#region src/core/three/Output.vue.d.ts
|
|
1196
|
-
declare const __VLS_export$2:
|
|
1197
|
-
pass:
|
|
1198
|
-
}, {}, {}, {},
|
|
1197
|
+
declare const __VLS_export$2: vue6.DefineComponent<{}, {
|
|
1198
|
+
pass: vue6.ShallowRef<OutputPass>;
|
|
1199
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, true, {}, any>;
|
|
1199
1200
|
declare const _default$25: typeof __VLS_export$2;
|
|
1200
1201
|
//#endregion
|
|
1201
1202
|
//#region src/core/three/SMAA.vue.d.ts
|
|
@@ -1204,9 +1205,9 @@ interface SMAAProps {
|
|
|
1204
1205
|
height?: number;
|
|
1205
1206
|
}
|
|
1206
1207
|
declare const _default$28: typeof __VLS_export$1;
|
|
1207
|
-
declare const __VLS_export$1:
|
|
1208
|
-
pass:
|
|
1209
|
-
}, {}, {}, {},
|
|
1208
|
+
declare const __VLS_export$1: vue6.DefineComponent<SMAAProps, {
|
|
1209
|
+
pass: vue6.ShallowRef<SMAAPass>;
|
|
1210
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<SMAAProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
1210
1211
|
//#endregion
|
|
1211
1212
|
//#region src/core/three/UnrealBloom.vue.d.ts
|
|
1212
1213
|
interface UnrealBloomProps {
|
|
@@ -1215,12 +1216,12 @@ interface UnrealBloomProps {
|
|
|
1215
1216
|
threshold?: number;
|
|
1216
1217
|
}
|
|
1217
1218
|
declare const _default$36: typeof __VLS_export;
|
|
1218
|
-
declare const __VLS_export:
|
|
1219
|
-
pass:
|
|
1220
|
-
}, {}, {}, {},
|
|
1221
|
-
radius: number;
|
|
1219
|
+
declare const __VLS_export: vue6.DefineComponent<UnrealBloomProps, {
|
|
1220
|
+
pass: vue6.ShallowRef<UnrealBloomPass>;
|
|
1221
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<UnrealBloomProps> & Readonly<{}>, {
|
|
1222
1222
|
strength: number;
|
|
1223
|
+
radius: number;
|
|
1223
1224
|
threshold: number;
|
|
1224
|
-
}, {}, {}, {}, string,
|
|
1225
|
+
}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
1225
1226
|
//#endregion
|
|
1226
1227
|
export { _default as ASCIIPmndrs, ASCIIPmndrsProps, _default$1 as BarrelBlurPmndrs, BarrelBlurPmndrsProps, _default$2 as BloomPmndrs, BloomPmndrsProps, _default$3 as BrightnessContrastPmndrs, BrightnessContrastPmndrsProps, _default$4 as ChromaticAberrationPmndrs, ChromaticAberrationPmndrsProps, _default$5 as ColorAveragePmndrs, ColorAveragePmndrsProps, _default$6 as ColorDepthPmndrs, ColorDepthPmndrsProps, _default$7 as DepthOfFieldPmndrs, DepthOfFieldPmndrsProps, _default$8 as DepthPickingPassPmndrs, DepthPickingPassPmndrsProps, _default$9 as DotScreenPmndrs, DotScreenPmndrsProps, _default$10 as EffectComposer, _default$11 as EffectComposerPmndrs, EffectComposerPmndrsProps, EffectComposerProps, _default$12 as FXAAPmndrs, FXAAPmndrsProps, _default$13 as FishEyePmndrs, FishEyePmndrsProps, _default$14 as Glitch, _default$15 as GlitchPmndrs, GlitchPmndrsProps, GlitchProps, _default$16 as GodRaysPmndrs, GodRaysPmndrsProps, _default$17 as GridPmndrs, GridPmndrsProps, _default$18 as Halftone, HalftoneProps, _default$19 as HueSaturationPmndrs, HueSaturationPmndrsProps, _default$20 as KuwaharaPmndrs, KuwaharaPmndrsProps, _default$21 as LensDistortionPmndrs, LensDistortionPmndrsProps, _default$22 as LinocutPmndrs, LinocutPmndrsProps, _default$23 as NoisePmndrs, NoisePmndrsProps, _default$24 as OutlinePmndrs, OutlinePmndrsProps, _default$25 as Output, _default$26 as Pixelation, _default$27 as PixelationPmndrs, PixelationPmndrsProps, PixelationProps, _default$28 as SMAA, _default$29 as SMAAPmndrs, SMAAPmndrsProps, SMAAProps, _default$30 as ScanlinePmndrs, ScanlinePmndrsProps, _default$31 as SepiaPmndrs, SepiaPmndrsProps, _default$32 as ShockWavePmndrs, ShockWavePmndrsProps, _default$33 as TexturePmndrs, TexturePmndrsProps, _default$34 as TiltShiftPmndrs, TiltShiftPmndrsProps, _default$35 as ToneMappingPmndrs, ToneMappingPmndrsProps, _default$36 as UnrealBloom, UnrealBloomProps, _default$37 as VignettePmndrs, VignettePmndrsProps, useEffect, useEffectPmndrs };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @tresjs/post-processing
|
|
3
|
-
* version: v3.1
|
|
4
|
-
* (c)
|
|
3
|
+
* version: v3.2.1
|
|
4
|
+
* (c) 2026
|
|
5
5
|
* description: Post-processing library for TresJS
|
|
6
6
|
* author: Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)
|
|
7
7
|
*/
|
|
@@ -2331,7 +2331,7 @@ var ASCIIPmndrs_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
2331
2331
|
setup(__props, { expose: __expose }) {
|
|
2332
2332
|
const props = __props;
|
|
2333
2333
|
const plainEffect = new ASCIIEffect();
|
|
2334
|
-
const { asciiTexture
|
|
2334
|
+
const { asciiTexture, ...asciiEffectProps } = props;
|
|
2335
2335
|
const { pass, effect } = useEffectPmndrs(() => new ASCIIEffect(asciiEffectProps), props);
|
|
2336
2336
|
__expose({
|
|
2337
2337
|
pass,
|
|
@@ -2386,6 +2386,10 @@ var EffectComposer_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
2386
2386
|
required: false,
|
|
2387
2387
|
default: true
|
|
2388
2388
|
},
|
|
2389
|
+
renderTarget: {
|
|
2390
|
+
type: Object,
|
|
2391
|
+
required: false
|
|
2392
|
+
},
|
|
2389
2393
|
withoutRenderPass: {
|
|
2390
2394
|
type: Boolean,
|
|
2391
2395
|
required: false
|
|
@@ -2399,7 +2403,7 @@ var EffectComposer_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
2399
2403
|
const { renderer, sizes, scene, camera } = useTresContext();
|
|
2400
2404
|
const initEffectComposer = () => {
|
|
2401
2405
|
effectComposer.value?.dispose();
|
|
2402
|
-
effectComposer.value = new EffectComposer$1(renderer.instance);
|
|
2406
|
+
effectComposer.value = new EffectComposer$1(renderer.instance, props.renderTarget);
|
|
2403
2407
|
};
|
|
2404
2408
|
watchEffect(initEffectComposer);
|
|
2405
2409
|
watchEffect(() => {
|
|
@@ -2669,7 +2673,7 @@ var UnrealBloom_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
2669
2673
|
setup(__props, { expose: __expose }) {
|
|
2670
2674
|
const props = __props;
|
|
2671
2675
|
const { sizes } = useTresContext();
|
|
2672
|
-
const { pass } = useEffect(() => new UnrealBloomPass(new Vector2(sizes.width.value, sizes.height.value), props.
|
|
2676
|
+
const { pass } = useEffect(() => new UnrealBloomPass(new Vector2(sizes.width.value, sizes.height.value), props.strength, props.radius, props.threshold), props);
|
|
2673
2677
|
__expose({ pass });
|
|
2674
2678
|
watchEffect(() => {
|
|
2675
2679
|
pass.value.radius = props.radius ?? pass.value.getCompositeMaterial().uniforms.bloomRadius?.value ?? .1;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tresjs/post-processing",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.1
|
|
4
|
+
"version": "3.2.1",
|
|
5
5
|
"description": "Post-processing library for TresJS",
|
|
6
6
|
"author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
],
|
|
22
22
|
"maintainers": [
|
|
23
23
|
"Alvaro Saburido (https://github.com/alvarosabu/)",
|
|
24
|
-
"Tino Koch (https://github.com/Tinoooo)"
|
|
24
|
+
"Tino Koch (https://github.com/Tinoooo)",
|
|
25
|
+
"Damien Montastier (https://github.com/damienmontastier)"
|
|
25
26
|
],
|
|
26
27
|
"exports": {
|
|
27
28
|
".": "./dist/tres-post-processing.js",
|
|
@@ -38,7 +39,7 @@
|
|
|
38
39
|
"access": "public"
|
|
39
40
|
},
|
|
40
41
|
"peerDependencies": {
|
|
41
|
-
"@tresjs/core": "5.
|
|
42
|
+
"@tresjs/core": "5.3.0",
|
|
42
43
|
"three": ">=0.169",
|
|
43
44
|
"vue": ">=3.4"
|
|
44
45
|
},
|
|
@@ -55,16 +56,16 @@
|
|
|
55
56
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
56
57
|
"rollup-plugin-visualizer": "^6.0.3",
|
|
57
58
|
"three": "^0.180.0",
|
|
58
|
-
"tsdown": "0.
|
|
59
|
+
"tsdown": "0.18.3",
|
|
59
60
|
"typescript": "^5.8.3",
|
|
60
61
|
"vite": "^7.1.9",
|
|
61
62
|
"vite-plugin-banner": "^0.8.1",
|
|
62
63
|
"vite-plugin-dts": "4.5.4",
|
|
63
64
|
"vue": "^3.5.22",
|
|
64
|
-
"vue-tsc": "^3.
|
|
65
|
-
"@tresjs/core": "5.
|
|
65
|
+
"vue-tsc": "^3.2.1",
|
|
66
|
+
"@tresjs/core": "5.3.0",
|
|
66
67
|
"@tresjs/eslint-config": "1.5.1",
|
|
67
|
-
"@tresjs/leches": "1.1.
|
|
68
|
+
"@tresjs/leches": "1.1.3"
|
|
68
69
|
},
|
|
69
70
|
"nx": {
|
|
70
71
|
"implicitDependencies": [
|
|
@@ -72,8 +73,6 @@
|
|
|
72
73
|
]
|
|
73
74
|
},
|
|
74
75
|
"scripts": {
|
|
75
|
-
"dev": "cd playground && npm run dev",
|
|
76
|
-
"playground": "cd playground && npm run dev",
|
|
77
76
|
"build": "tsdown",
|
|
78
77
|
"preview": "vite preview",
|
|
79
78
|
"lint": "eslint .",
|