@tresjs/post-processing 2.3.0 → 2.3.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.
@@ -1,15 +1,15 @@
1
1
  /**
2
2
  * name: @tresjs/post-processing
3
- * version: v2.3.0
3
+ * version: v2.3.1
4
4
  * (c) 2025
5
5
  * description: Post-processing library for TresJS
6
6
  * author: Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)
7
7
  */
8
- import { defineComponent as u, shallowRef as W, provide as Be, computed as O, watch as S, onUnmounted as U, renderSlot as Ne, inject as te, watchEffect as x, nextTick as oe, toRaw as ie } from "vue";
9
- import { EffectComposer as ne, RenderPass as Ie, NormalPass as je, DepthDownsamplingPass as Ve, EffectPass as Ye, BloomEffect as le, DepthOfFieldEffect as ue, GlitchEffect as X, GlitchMode as ke, NoiseEffect as ce, OutlineEffect as de, PixelationEffect as fe, VignetteEffect as he, Effect as q, BlendFunction as Q, ToneMappingEffect as pe, ChromaticAberrationEffect as K, HueSaturationEffect as me, ScanlineEffect as J, ColorAverageEffect as Z, LensDistortionEffect as ge, ShockWaveEffect as ve, TiltShiftEffect as xe, DotScreenEffect as be, SepiaEffect as Se, DepthPickingPass as qe, GodRaysEffect as _, ColorDepthEffect as I, GridEffect as we, BrightnessContrastEffect as Ae } from "postprocessing";
8
+ import { defineComponent as u, shallowRef as W, provide as Be, computed as L, watch as S, onUnmounted as U, renderSlot as Ne, inject as te, watchEffect as x, nextTick as oe, toRaw as ie } from "vue";
9
+ import { EffectComposer as ne, RenderPass as Ve, NormalPass as Ye, DepthDownsamplingPass as ke, EffectPass as qe, BloomEffect as le, DepthOfFieldEffect as ue, GlitchEffect as X, GlitchMode as Qe, NoiseEffect as ce, OutlineEffect as de, PixelationEffect as fe, VignetteEffect as he, Effect as q, BlendFunction as Q, ToneMappingEffect as pe, ChromaticAberrationEffect as K, HueSaturationEffect as me, ScanlineEffect as J, ColorAverageEffect as Z, LensDistortionEffect as ve, ShockWaveEffect as ge, TiltShiftEffect as xe, DotScreenEffect as be, SepiaEffect as Se, DepthPickingPass as Ke, GodRaysEffect as _, ColorDepthEffect as I, GridEffect as we, BrightnessContrastEffect as Ae } from "postprocessing";
10
10
  import { useTresContext as y, useLoop as G, normalizeColor as $ } from "@tresjs/core";
11
- import { HalfFloatType as T, Uniform as M, Vector2 as d, Vector3 as L, OrthographicCamera as Qe, BufferGeometry as Ke, Float32BufferAttribute as ye, Mesh as Je, ShaderMaterial as A, UniformsUtils as P, WebGLRenderTarget as D, NoBlending as Ze, Clock as _e, Color as k, MathUtils as w, DataTexture as $e, RedFormat as et, FloatType as tt, MeshNormalMaterial as ot, NearestFilter as F, DepthTexture as st, Vector4 as at, RawShaderMaterial as rt, ColorManagement as it, SRGBTransfer as nt, LinearToneMapping as lt, ReinhardToneMapping as ut, CineonToneMapping as ct, ACESFilmicToneMapping as dt, AgXToneMapping as ft, NeutralToneMapping as ht, CustomToneMapping as pt, Texture as Me, LinearFilter as mt, AdditiveBlending as gt, MeshBasicMaterial as vt } from "three";
12
- import { useDevicePixelRatio as ze } from "@vueuse/core";
11
+ import { HalfFloatType as T, Uniform as M, Vector2 as d, Vector3 as O, Mesh as ze, SphereGeometry as Je, MeshBasicMaterial as We, OrthographicCamera as Ze, BufferGeometry as _e, Float32BufferAttribute as ye, ShaderMaterial as A, UniformsUtils as P, WebGLRenderTarget as D, NoBlending as $e, Clock as et, Color as k, MathUtils as w, DataTexture as tt, RedFormat as ot, FloatType as st, MeshNormalMaterial as at, NearestFilter as F, DepthTexture as rt, Vector4 as it, RawShaderMaterial as nt, ColorManagement as lt, SRGBTransfer as ut, LinearToneMapping as ct, ReinhardToneMapping as dt, CineonToneMapping as ft, ACESFilmicToneMapping as ht, AgXToneMapping as pt, NeutralToneMapping as mt, CustomToneMapping as vt, Texture as Me, LinearFilter as gt, AdditiveBlending as xt } from "three";
12
+ import { useDevicePixelRatio as Ue } from "@vueuse/core";
13
13
  class Te {
14
14
  static isWebGL2Available() {
15
15
  try {
@@ -56,7 +56,7 @@ class Te {
56
56
  return console.warn("getWebGLErrorMessage() has been deprecated and will be removed in r178. Use getWebGL2ErrorMessage() instead."), this.getErrorMessage(1);
57
57
  }
58
58
  }
59
- const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
59
+ const se = Symbol("effectComposerPmndrs"), Gt = /* @__PURE__ */ u({
60
60
  __name: "EffectComposerPmndrs",
61
61
  props: {
62
62
  enabled: { type: Boolean, default: !0 },
@@ -70,53 +70,53 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
70
70
  },
71
71
  emits: ["render"],
72
72
  setup(r, { expose: e, emit: t }) {
73
- const o = r, s = t, { scene: a, camera: i, renderer: n, sizes: l, render: p } = y(), f = W(null);
74
- let g = null, c = null;
75
- Be(se, f), e({ composer: f });
73
+ const o = r, s = t, { scene: a, camera: i, renderer: n, sizes: l, render: f } = y(), h = W(null);
74
+ let v = null, c = null;
75
+ Be(se, h), e({ composer: h });
76
76
  const b = () => {
77
- f.value && (c = new je(a.value, i.value), c.enabled = !1, f.value.addPass(c), o.resolutionScale !== void 0 && Te.isWebGL2Available() && (g = new Ve({
77
+ h.value && (c = new Ye(a.value, i.value), c.enabled = !1, h.value.addPass(c), o.resolutionScale !== void 0 && Te.isWebGL2Available() && (v = new ke({
78
78
  normalBuffer: c.texture,
79
79
  resolutionScale: o.resolutionScale
80
- }), g.enabled = !1, f.value.addPass(g)));
81
- }, E = O(() => {
82
- const v = new ne(), z = {
83
- depthBuffer: o.depthBuffer !== void 0 ? o.depthBuffer : v.inputBuffer.depthBuffer,
84
- stencilBuffer: o.stencilBuffer !== void 0 ? o.stencilBuffer : v.inputBuffer.stencilBuffer,
85
- multisampling: Te.isWebGL2Available() ? o.multisampling !== void 0 ? o.multisampling : v.multisampling : 0,
80
+ }), v.enabled = !1, h.value.addPass(v)));
81
+ }, E = L(() => {
82
+ const g = new ne(), z = {
83
+ depthBuffer: o.depthBuffer !== void 0 ? o.depthBuffer : g.inputBuffer.depthBuffer,
84
+ stencilBuffer: o.stencilBuffer !== void 0 ? o.stencilBuffer : g.inputBuffer.stencilBuffer,
85
+ multisampling: Te.isWebGL2Available() ? o.multisampling !== void 0 ? o.multisampling : g.multisampling : 0,
86
86
  frameBufferType: o.frameBufferType !== void 0 ? o.frameBufferType : T
87
87
  };
88
- return v.dispose(), z;
88
+ return g.dispose(), z;
89
89
  }), re = () => {
90
- var v;
91
- !n.value && !a.value && !i.value || ((v = f.value) == null || v.dispose(), f.value = new ne(n.value, E.value), f.value.addPass(new Ie(a.value, i.value)), o.disableNormalPass || b());
90
+ var g;
91
+ !n.value && !a.value && !i.value || ((g = h.value) == null || g.dispose(), h.value = new ne(n.value, E.value), h.value.addPass(new Ve(a.value, i.value)), o.disableNormalPass || b());
92
92
  };
93
93
  S([n, a, i, () => o.disableNormalPass], () => {
94
94
  !l.width.value || !l.height.value || re();
95
- }), S(() => [l.width.value, l.height.value], ([v, z]) => {
96
- !v && !z || (f.value ? f.value.setSize(v, z) : re());
95
+ }), S(() => [l.width.value, l.height.value], ([g, z]) => {
96
+ !g && !z || (h.value ? h.value.setSize(g, z) : re());
97
97
  }, {
98
98
  immediate: !0
99
99
  });
100
- const { render: Xe } = G();
101
- return Xe(() => {
102
- if (o.enabled && n.value && f.value && l.width.value && l.height.value && p.frames.value > 0) {
103
- const v = n.value.autoClear;
104
- n.value.autoClear = o.autoClear, o.stencilBuffer && !o.autoClear && n.value.clearStencil(), f.value.render(), s("render", f.value), n.value.autoClear = v;
100
+ const { render: je } = G();
101
+ return je(() => {
102
+ if (o.enabled && n.value && h.value && l.width.value && l.height.value && f.frames.value > 0) {
103
+ const g = n.value.autoClear;
104
+ n.value.autoClear = o.autoClear, o.stencilBuffer && !o.autoClear && n.value.clearStencil(), h.value.render(), s("render", h.value), n.value.autoClear = g;
105
105
  }
106
- p.frames.value = p.mode.value === "always" ? 1 : Math.max(0, p.frames.value - 1);
106
+ f.frames.value = f.mode.value === "always" ? 1 : Math.max(0, f.frames.value - 1);
107
107
  }), U(() => {
108
- var v;
109
- (v = f.value) == null || v.dispose();
110
- }), (v, z) => Ne(v.$slots, "default");
108
+ var g;
109
+ (g = h.value) == null || g.dispose();
110
+ }), (g, z) => Ne(g.$slots, "default");
111
111
  }
112
- }), h = (r, e, t) => {
112
+ }), p = (r, e, t) => {
113
113
  const o = te(se), s = W(null), a = W(null), { scene: i, camera: n, invalidate: l } = y();
114
114
  S(e, () => l());
115
- const p = () => {
115
+ const f = () => {
116
116
  var c, b, E;
117
117
  s.value && ((c = o == null ? void 0 : o.value) == null || c.removePass(s.value)), (b = a.value) == null || b.dispose(), (E = s.value) == null || E.dispose();
118
- }, f = (c) => {
119
- !n.value || !(o != null && o.value) || !i.value || (a.value = r(), s.value = new Ye(n.value, a.value), o.value.addPass(s.value, c));
118
+ }, h = (c) => {
119
+ !n.value || !(o != null && o.value) || !i.value || (a.value = r(), s.value = new qe(n.value, a.value), o.value.addPass(s.value, c));
120
120
  };
121
121
  t && S(
122
122
  () => t.map((c) => e[c]),
@@ -125,29 +125,29 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
125
125
  if (!(o != null && o.value))
126
126
  return;
127
127
  const c = (b = o.value) == null ? void 0 : b.passes.findIndex((E) => E === s.value);
128
- ~c && (p(), f(c));
128
+ ~c && (f(), h(c));
129
129
  }
130
130
  ), x(() => {
131
131
  !n.value || !(a != null && a.value) || (a.value.mainCamera = n.value);
132
132
  });
133
- const g = x(() => {
134
- !n.value || !(o != null && o.value) || !i.value || (oe(() => g()), !a.value && f());
133
+ const v = x(() => {
134
+ !n.value || !(o != null && o.value) || !i.value || (oe(() => v()), !a.value && h());
135
135
  });
136
136
  return U(() => {
137
- p();
137
+ f();
138
138
  }), {
139
139
  pass: s,
140
140
  effect: a
141
141
  };
142
- }, We = /([^[.\]])+/g, xt = (r, e) => {
142
+ }, Ge = /([^[.\]])+/g, bt = (r, e) => {
143
143
  if (!e)
144
144
  return;
145
- const t = Array.isArray(e) ? e : e.match(We);
145
+ const t = Array.isArray(e) ? e : e.match(Ge);
146
146
  return t == null ? void 0 : t.reduce((o, s) => o && o[s], r);
147
147
  }, Ce = (r, e, t) => {
148
- const o = Array.isArray(e) ? e : e.match(We);
148
+ const o = Array.isArray(e) ? e : e.match(Ge);
149
149
  o && o.reduce((s, a, i) => (s[a] === void 0 && (s[a] = {}), i === o.length - 1 && (s[a] = t), s[a]), r);
150
- }, bt = (r, e) => {
150
+ }, St = (r, e) => {
151
151
  const t = { ...r };
152
152
  return e.forEach((o) => delete t[o]), t;
153
153
  }, H = (r, e, t, o, s = {}) => S(r, (a) => {
@@ -155,7 +155,7 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
155
155
  if (e.value)
156
156
  if (a === void 0) {
157
157
  const n = o();
158
- Ce(e.value, t, xt(n, t)), (i = n.dispose) == null || i.call(n);
158
+ Ce(e.value, t, bt(n, t)), (i = n.dispose) == null || i.call(n);
159
159
  } else
160
160
  Ce(e.value, t, r());
161
161
  }, s), m = (r, e, t) => r.map(([o, s]) => H(
@@ -168,7 +168,7 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
168
168
  e,
169
169
  o,
170
170
  t
171
- )), Gt = /* @__PURE__ */ u({
171
+ )), Ht = /* @__PURE__ */ u({
172
172
  __name: "BloomPmndrs",
173
173
  props: {
174
174
  blendFunction: {},
@@ -179,7 +179,7 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
179
179
  mipmapBlur: { type: Boolean, default: void 0 }
180
180
  },
181
181
  setup(r, { expose: e }) {
182
- const t = r, { pass: o, effect: s } = h(() => new le(t), t, ["mipmapBlur"]);
182
+ const t = r, { pass: o, effect: s } = p(() => new le(t), t, ["mipmapBlur"]);
183
183
  return e({ pass: o, effect: s }), m(
184
184
  [
185
185
  [() => t.blendFunction, "blendMode.blendFunction"],
@@ -193,7 +193,7 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
193
193
  ), () => {
194
194
  };
195
195
  }
196
- }), Ht = /* @__PURE__ */ u({
196
+ }), Xt = /* @__PURE__ */ u({
197
197
  __name: "DepthOfFieldPmndrs",
198
198
  props: {
199
199
  blendFunction: {},
@@ -207,7 +207,7 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
207
207
  resolutionY: {}
208
208
  },
209
209
  setup(r, { expose: e }) {
210
- const t = r, { camera: o } = y(), { pass: s, effect: a } = h(() => new ue(o.value, t), t);
210
+ const t = r, { camera: o } = y(), { pass: s, effect: a } = p(() => new ue(o.value, t), t);
211
211
  return e({ pass: s, effect: a }), m(
212
212
  [
213
213
  [() => t.blendFunction, "blendMode.blendFunction"],
@@ -225,7 +225,7 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
225
225
  ), () => {
226
226
  };
227
227
  }
228
- }), Xt = /* @__PURE__ */ u({
228
+ }), It = /* @__PURE__ */ u({
229
229
  __name: "GlitchPmndrs",
230
230
  props: {
231
231
  blendFunction: {},
@@ -241,13 +241,13 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
241
241
  dtSize: {}
242
242
  },
243
243
  setup(r, { expose: e }) {
244
- const t = r, { pass: o, effect: s } = h(() => new X(t), t, ["dtSize"]);
244
+ const t = r, { pass: o, effect: s } = p(() => new X(t), t, ["dtSize"]);
245
245
  e({ pass: o, effect: s });
246
246
  const { onBeforeRender: a } = G();
247
247
  return a(({ invalidate: i }) => i()), x(() => {
248
248
  const i = () => {
249
249
  if (t.mode !== void 0)
250
- return t.active === !1 ? ke.DISABLED : t.mode;
250
+ return t.active === !1 ? Qe.DISABLED : t.mode;
251
251
  const n = new X(), l = n.mode;
252
252
  return n.dispose(), l;
253
253
  };
@@ -258,20 +258,20 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
258
258
  "blendMode.blendFunction",
259
259
  () => new X()
260
260
  ), ae(
261
- bt(t, ["active", "blendFunction"]),
261
+ St(t, ["active", "blendFunction"]),
262
262
  s,
263
263
  () => new X()
264
264
  ), () => {
265
265
  };
266
266
  }
267
- }), It = /* @__PURE__ */ u({
267
+ }), jt = /* @__PURE__ */ u({
268
268
  __name: "NoisePmndrs",
269
269
  props: {
270
270
  premultiply: { type: Boolean, default: void 0 },
271
271
  blendFunction: {}
272
272
  },
273
273
  setup(r, { expose: e }) {
274
- const t = r, { pass: o, effect: s } = h(() => new ce(t), t);
274
+ const t = r, { pass: o, effect: s } = p(() => new ce(t), t);
275
275
  e({ pass: o, effect: s });
276
276
  const { onBeforeRender: a } = G();
277
277
  return a(({ invalidate: i }) => i()), m(
@@ -284,7 +284,7 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
284
284
  ), () => {
285
285
  };
286
286
  }
287
- }), jt = /* @__PURE__ */ u({
287
+ }), Vt = /* @__PURE__ */ u({
288
288
  __name: "OutlinePmndrs",
289
289
  props: {
290
290
  outlinedObjects: {},
@@ -304,7 +304,7 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
304
304
  visibleEdgeColor: {}
305
305
  },
306
306
  setup(r, { expose: e }) {
307
- const t = r, o = (p) => p !== void 0 ? $(p).getHex() : void 0, { camera: s, scene: a } = y(), { pass: i, effect: n } = h(
307
+ const t = r, o = (f) => f !== void 0 ? $(f).getHex() : void 0, { camera: s, scene: a } = y(), { pass: i, effect: n } = p(
308
308
  () => new de(
309
309
  a.value,
310
310
  s.value,
@@ -332,14 +332,14 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
332
332
  [() => t.outlinedObjects, n],
333
333
  // watchEffect is intentionally not used here as it would result in an endless loop
334
334
  () => {
335
- var p;
336
- (p = n.value) == null || p.selection.set(t.outlinedObjects || []);
335
+ var f;
336
+ (f = n.value) == null || f.selection.set(t.outlinedObjects || []);
337
337
  },
338
338
  {
339
339
  immediate: !0
340
340
  }
341
341
  );
342
- const l = O(() => ({
342
+ const l = L(() => ({
343
343
  hiddenEdgeColor: t.hiddenEdgeColor ? $(t.hiddenEdgeColor) : void 0,
344
344
  visibleEdgeColor: t.visibleEdgeColor ? $(t.visibleEdgeColor) : void 0
345
345
  }));
@@ -365,13 +365,13 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
365
365
  ), () => {
366
366
  };
367
367
  }
368
- }), Vt = /* @__PURE__ */ u({
368
+ }), Yt = /* @__PURE__ */ u({
369
369
  __name: "PixelationPmndrs",
370
370
  props: {
371
371
  granularity: {}
372
372
  },
373
373
  setup(r, { expose: e }) {
374
- const t = r, { pass: o, effect: s } = h(() => new fe(t.granularity), t);
374
+ const t = r, { pass: o, effect: s } = p(() => new fe(t.granularity), t);
375
375
  return e({ pass: o, effect: s }), ae(
376
376
  t,
377
377
  s,
@@ -379,7 +379,7 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
379
379
  ), () => {
380
380
  };
381
381
  }
382
- }), Yt = /* @__PURE__ */ u({
382
+ }), kt = /* @__PURE__ */ u({
383
383
  __name: "VignettePmndrs",
384
384
  props: {
385
385
  technique: {},
@@ -388,7 +388,7 @@ const se = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
388
388
  darkness: {}
389
389
  },
390
390
  setup(r, { expose: e }) {
391
- const t = r, { pass: o, effect: s } = h(() => new he(t), t);
391
+ const t = r, { pass: o, effect: s } = p(() => new he(t), t);
392
392
  return e({ pass: o, effect: s }), m(
393
393
  [
394
394
  [() => t.blendFunction, "blendMode.blendFunction"],
@@ -492,7 +492,7 @@ class Ee extends q {
492
492
  this.uniforms.get("offset").value = e;
493
493
  }
494
494
  }
495
- const kt = /* @__PURE__ */ u({
495
+ const qt = /* @__PURE__ */ u({
496
496
  __name: "BarrelBlurPmndrs",
497
497
  props: {
498
498
  blendFunction: {},
@@ -500,7 +500,7 @@ const kt = /* @__PURE__ */ u({
500
500
  offset: {}
501
501
  },
502
502
  setup(r, { expose: e }) {
503
- const t = r, { pass: o, effect: s } = h(
503
+ const t = r, { pass: o, effect: s } = p(
504
504
  () => new Ee({
505
505
  ...t,
506
506
  offset: Array.isArray(t.offset) ? new d(...t.offset) : t.offset
@@ -518,7 +518,7 @@ const kt = /* @__PURE__ */ u({
518
518
  ), () => {
519
519
  };
520
520
  }
521
- }), qt = /* @__PURE__ */ u({
521
+ }), Qt = /* @__PURE__ */ u({
522
522
  __name: "ToneMappingPmndrs",
523
523
  props: {
524
524
  mode: {},
@@ -530,7 +530,7 @@ const kt = /* @__PURE__ */ u({
530
530
  whitePoint: {}
531
531
  },
532
532
  setup(r, { expose: e }) {
533
- const t = r, { pass: o, effect: s } = h(() => new pe(t), t);
533
+ const t = r, { pass: o, effect: s } = p(() => new pe(t), t);
534
534
  return e({ pass: o, effect: s }), m(
535
535
  [
536
536
  [() => t.mode, "mode"],
@@ -546,7 +546,7 @@ const kt = /* @__PURE__ */ u({
546
546
  ), () => {
547
547
  };
548
548
  }
549
- }), Qt = /* @__PURE__ */ u({
549
+ }), Kt = /* @__PURE__ */ u({
550
550
  __name: "ChromaticAberrationPmndrs",
551
551
  props: {
552
552
  blendFunction: {},
@@ -555,7 +555,7 @@ const kt = /* @__PURE__ */ u({
555
555
  modulationOffset: {}
556
556
  },
557
557
  setup(r, { expose: e }) {
558
- const t = r, o = new K(), { pass: s, effect: a } = h(() => new K({
558
+ const t = r, o = new K(), { pass: s, effect: a } = p(() => new K({
559
559
  ...t,
560
560
  // Unfortunately, these defaults must be set this way as the type in postprocessing is not correct.
561
561
  // The arguments are optional in the actual constructor, but not in the type.
@@ -574,7 +574,7 @@ const kt = /* @__PURE__ */ u({
574
574
  ), () => {
575
575
  };
576
576
  }
577
- }), Kt = /* @__PURE__ */ u({
577
+ }), Jt = /* @__PURE__ */ u({
578
578
  __name: "HueSaturationPmndrs",
579
579
  props: {
580
580
  saturation: {},
@@ -582,7 +582,7 @@ const kt = /* @__PURE__ */ u({
582
582
  blendFunction: {}
583
583
  },
584
584
  setup(r, { expose: e }) {
585
- const t = r, { pass: o, effect: s } = h(() => new me(t), t);
585
+ const t = r, { pass: o, effect: s } = p(() => new me(t), t);
586
586
  return e({ pass: o, effect: s }), m(
587
587
  [
588
588
  [() => t.blendFunction, "blendMode.blendFunction"],
@@ -594,7 +594,7 @@ const kt = /* @__PURE__ */ u({
594
594
  ), () => {
595
595
  };
596
596
  }
597
- }), Jt = /* @__PURE__ */ u({
597
+ }), Zt = /* @__PURE__ */ u({
598
598
  __name: "ScanlinePmndrs",
599
599
  props: {
600
600
  blendFunction: {},
@@ -603,7 +603,7 @@ const kt = /* @__PURE__ */ u({
603
603
  opacity: {}
604
604
  },
605
605
  setup(r, { expose: e }) {
606
- const t = r, { pass: o, effect: s } = h(() => new J(t), t);
606
+ const t = r, { pass: o, effect: s } = p(() => new J(t), t);
607
607
  return e({ pass: o, effect: s }), m(
608
608
  [
609
609
  [() => t.blendFunction, "blendMode.blendFunction"],
@@ -629,7 +629,7 @@ const kt = /* @__PURE__ */ u({
629
629
  ), () => {
630
630
  };
631
631
  }
632
- }), St = `
632
+ }), wt = `
633
633
  uniform float radius;
634
634
  uniform int sectorCount;
635
635
 
@@ -737,7 +737,7 @@ class Pe extends q {
737
737
  *
738
738
  */
739
739
  constructor({ blendFunction: e = Q.NORMAL, radius: t = 1, sectorCount: o = 4 } = {}) {
740
- super("KuwaharaEffect", St, {
740
+ super("KuwaharaEffect", wt, {
741
741
  blendFunction: e,
742
742
  uniforms: /* @__PURE__ */ new Map([
743
743
  ["radius", new M(t)],
@@ -770,7 +770,7 @@ class Pe extends q {
770
770
  this.uniforms.get("sectorCount").value = e;
771
771
  }
772
772
  }
773
- const Zt = /* @__PURE__ */ u({
773
+ const _t = /* @__PURE__ */ u({
774
774
  __name: "KuwaharaPmndrs",
775
775
  props: {
776
776
  blendFunction: {},
@@ -778,7 +778,7 @@ const Zt = /* @__PURE__ */ u({
778
778
  sectorCount: {}
779
779
  },
780
780
  setup(r, { expose: e }) {
781
- const t = r, { pass: o, effect: s } = h(
781
+ const t = r, { pass: o, effect: s } = p(
782
782
  () => new Pe(t),
783
783
  t
784
784
  );
@@ -793,14 +793,14 @@ const Zt = /* @__PURE__ */ u({
793
793
  ), () => {
794
794
  };
795
795
  }
796
- }), _t = /* @__PURE__ */ u({
796
+ }), $t = /* @__PURE__ */ u({
797
797
  __name: "ColorAveragePmndrs",
798
798
  props: {
799
799
  blendFunction: {},
800
800
  opacity: {}
801
801
  },
802
802
  setup(r, { expose: e }) {
803
- const t = r, { pass: o, effect: s } = h(() => new Z(t.blendFunction), t);
803
+ const t = r, { pass: o, effect: s } = p(() => new Z(t.blendFunction), t);
804
804
  return e({ pass: o, effect: s }), H(
805
805
  () => t.blendFunction,
806
806
  s,
@@ -821,7 +821,7 @@ const Zt = /* @__PURE__ */ u({
821
821
  ), () => {
822
822
  };
823
823
  }
824
- }), $t = /* @__PURE__ */ u({
824
+ }), eo = /* @__PURE__ */ u({
825
825
  __name: "LensDistortionPmndrs",
826
826
  props: {
827
827
  distortion: {},
@@ -830,8 +830,8 @@ const Zt = /* @__PURE__ */ u({
830
830
  skew: {}
831
831
  },
832
832
  setup(r, { expose: e }) {
833
- const t = r, { pass: o, effect: s } = h(
834
- () => new ge({
833
+ const t = r, { pass: o, effect: s } = p(
834
+ () => new ve({
835
835
  ...t,
836
836
  distortion: t.distortion ? Array.isArray(t.distortion) ? new d(...t.distortion) : t.distortion : new d(),
837
837
  principalPoint: t.principalPoint ? Array.isArray(t.principalPoint) ? new d(...t.principalPoint) : t.principalPoint : new d(),
@@ -842,11 +842,11 @@ const Zt = /* @__PURE__ */ u({
842
842
  return e({ pass: o, effect: s }), ae(
843
843
  t,
844
844
  s,
845
- () => new ge()
845
+ () => new ve()
846
846
  ), () => {
847
847
  };
848
848
  }
849
- }), eo = /* @__PURE__ */ u({
849
+ }), to = /* @__PURE__ */ u({
850
850
  __name: "ShockWavePmndrs",
851
851
  props: {
852
852
  position: {},
@@ -856,14 +856,14 @@ const Zt = /* @__PURE__ */ u({
856
856
  waveSize: {}
857
857
  },
858
858
  setup(r, { expose: e }) {
859
- const t = r, { camera: o } = y(), { pass: s, effect: a } = h(
860
- () => new ve(o.value, Array.isArray(t.position) ? new L(...t.position) : t.position, t),
859
+ const t = r, { camera: o } = y(), { pass: s, effect: a } = p(
860
+ () => new ge(o.value, Array.isArray(t.position) ? new O(...t.position) : t.position, t),
861
861
  t
862
862
  );
863
863
  return e({ pass: s, effect: a }), S(
864
864
  () => t.position,
865
865
  (i) => {
866
- a.value && (Array.isArray(i) ? a.value.position.set(...i) : i instanceof L && a.value.position.copy(i));
866
+ a.value && (Array.isArray(i) ? a.value.position.set(...i) : i instanceof O && a.value.position.copy(i));
867
867
  },
868
868
  { immediate: !0 }
869
869
  ), m(
@@ -874,11 +874,11 @@ const Zt = /* @__PURE__ */ u({
874
874
  [() => t.speed, "speed"]
875
875
  ],
876
876
  a,
877
- () => new ve()
877
+ () => new ge()
878
878
  ), () => {
879
879
  };
880
880
  }
881
- }), to = /* @__PURE__ */ u({
881
+ }), oo = /* @__PURE__ */ u({
882
882
  __name: "TiltShiftPmndrs",
883
883
  props: {
884
884
  blendFunction: {},
@@ -892,7 +892,7 @@ const Zt = /* @__PURE__ */ u({
892
892
  resolutionY: {}
893
893
  },
894
894
  setup(r, { expose: e }) {
895
- const t = r, { pass: o, effect: s } = h(() => new xe(t), t);
895
+ const t = r, { pass: o, effect: s } = p(() => new xe(t), t);
896
896
  return e({ pass: o, effect: s }), m(
897
897
  [
898
898
  [() => t.blendFunction, "blendMode.blendFunction"],
@@ -910,7 +910,7 @@ const Zt = /* @__PURE__ */ u({
910
910
  ), () => {
911
911
  };
912
912
  }
913
- }), oo = /* @__PURE__ */ u({
913
+ }), so = /* @__PURE__ */ u({
914
914
  __name: "DotScreenPmndrs",
915
915
  props: {
916
916
  angle: {},
@@ -918,7 +918,7 @@ const Zt = /* @__PURE__ */ u({
918
918
  blendFunction: {}
919
919
  },
920
920
  setup(r, { expose: e }) {
921
- const t = r, { pass: o, effect: s } = h(() => new be(t), t);
921
+ const t = r, { pass: o, effect: s } = p(() => new be(t), t);
922
922
  return e({ pass: o, effect: s }), m(
923
923
  [
924
924
  [() => t.blendFunction, "blendMode.blendFunction"],
@@ -930,14 +930,14 @@ const Zt = /* @__PURE__ */ u({
930
930
  ), () => {
931
931
  };
932
932
  }
933
- }), so = /* @__PURE__ */ u({
933
+ }), ao = /* @__PURE__ */ u({
934
934
  __name: "SepiaPmndrs",
935
935
  props: {
936
936
  blendFunction: {},
937
937
  intensity: {}
938
938
  },
939
939
  setup(r, { expose: e }) {
940
- const t = r, { pass: o, effect: s } = h(() => new Se(t), t);
940
+ const t = r, { pass: o, effect: s } = p(() => new Se(t), t);
941
941
  return e({ pass: o, effect: s }), m(
942
942
  [
943
943
  [() => t.blendFunction, "blendMode.blendFunction"],
@@ -1057,7 +1057,7 @@ class De extends q {
1057
1057
  this.uniforms.get("rotation").value = e;
1058
1058
  }
1059
1059
  }
1060
- const ao = /* @__PURE__ */ u({
1060
+ const ro = /* @__PURE__ */ u({
1061
1061
  __name: "LinocutPmndrs",
1062
1062
  props: {
1063
1063
  blendFunction: {},
@@ -1067,7 +1067,7 @@ const ao = /* @__PURE__ */ u({
1067
1067
  rotation: {}
1068
1068
  },
1069
1069
  setup(r, { expose: e }) {
1070
- const t = r, { pass: o, effect: s } = h(
1070
+ const t = r, { pass: o, effect: s } = p(
1071
1071
  () => new De({
1072
1072
  ...t,
1073
1073
  center: t.center instanceof d ? [t.center.x, t.center.y] : t.center
@@ -1087,14 +1087,14 @@ const ao = /* @__PURE__ */ u({
1087
1087
  ), () => {
1088
1088
  };
1089
1089
  }
1090
- }), ro = /* @__PURE__ */ u({
1090
+ }), io = /* @__PURE__ */ u({
1091
1091
  __name: "DepthPickingPassPmndrs",
1092
1092
  props: {
1093
1093
  depthPacking: {},
1094
1094
  mode: {}
1095
1095
  },
1096
1096
  setup(r, { expose: e }) {
1097
- const t = r, o = te(se), s = new qe(t), a = x(() => {
1097
+ const t = r, o = te(se), s = new Ke(t), a = x(() => {
1098
1098
  o != null && o.value && (oe(() => a()), o.value.addPass(s));
1099
1099
  });
1100
1100
  return U(() => {
@@ -1103,7 +1103,7 @@ const ao = /* @__PURE__ */ u({
1103
1103
  }), e({ pass: s }), () => {
1104
1104
  };
1105
1105
  }
1106
- }), io = /* @__PURE__ */ u({
1106
+ }), no = /* @__PURE__ */ u({
1107
1107
  __name: "GodRaysPmndrs",
1108
1108
  props: {
1109
1109
  blendFunction: {},
@@ -1122,11 +1122,16 @@ const ao = /* @__PURE__ */ u({
1122
1122
  clampMax: {}
1123
1123
  },
1124
1124
  setup(r, { expose: e }) {
1125
- const t = r, { camera: o } = y(), { pass: s, effect: a } = h(
1126
- () => new _(o.value, ie(t.lightSource), t),
1125
+ const t = r, { camera: o } = y(), s = L(
1126
+ () => t.lightSource ?? new ze(
1127
+ new Je(1e-5),
1128
+ new We({ visible: !1 })
1129
+ )
1130
+ ), { pass: a, effect: i } = p(
1131
+ () => new _(o.value, s.value, t),
1127
1132
  t
1128
1133
  );
1129
- return e({ pass: s, effect: a }), m(
1134
+ return e({ pass: a, effect: i }), m(
1130
1135
  [
1131
1136
  [() => t.blendFunction, "blendMode.blendFunction"],
1132
1137
  [() => t.density, "godRaysMaterial.density"],
@@ -1138,20 +1143,29 @@ const ao = /* @__PURE__ */ u({
1138
1143
  [() => t.resolutionScale, "resolution.scale"],
1139
1144
  [() => t.resolutionX, "resolution.width"],
1140
1145
  [() => t.resolutionY, "resolution.height"],
1141
- [() => t.kernelSize, "kernelSize"],
1142
- [() => t.blur, "blur"]
1146
+ [() => t.kernelSize, "blurPass.kernelSize"],
1147
+ [() => t.blur, "blurPass.enabled"]
1143
1148
  ],
1144
- a,
1149
+ i,
1145
1150
  () => new _()
1151
+ ), S(
1152
+ [() => t.lightSource, i],
1153
+ () => {
1154
+ i.value && (i.value.lightSource = ie(s.value));
1155
+ },
1156
+ { immediate: !0 }
1146
1157
  ), S(
1147
1158
  [() => t.opacity],
1148
1159
  () => {
1149
- var i, n;
1160
+ var n, l;
1150
1161
  if (t.opacity !== void 0)
1151
- (i = a.value) == null || i.blendMode.setOpacity(t.opacity);
1162
+ (n = i.value) == null || n.blendMode.setOpacity(t.opacity);
1152
1163
  else {
1153
- const l = new _(o.value, ie(t.lightSource));
1154
- (n = a.value) == null || n.blendMode.setOpacity(l.blendMode.getOpacity()), l.dispose();
1164
+ const f = new _(
1165
+ o.value,
1166
+ ie(s.value)
1167
+ );
1168
+ (l = i.value) == null || l.blendMode.setOpacity(f.blendMode.getOpacity()), f.dispose();
1155
1169
  }
1156
1170
  },
1157
1171
  {
@@ -1160,7 +1174,7 @@ const ao = /* @__PURE__ */ u({
1160
1174
  ), () => {
1161
1175
  };
1162
1176
  }
1163
- }), no = /* @__PURE__ */ u({
1177
+ }), lo = /* @__PURE__ */ u({
1164
1178
  __name: "ColorDepthPmndrs",
1165
1179
  props: {
1166
1180
  blendFunction: {},
@@ -1168,7 +1182,7 @@ const ao = /* @__PURE__ */ u({
1168
1182
  opacity: {}
1169
1183
  },
1170
1184
  setup(r, { expose: e }) {
1171
- const t = r, { pass: o, effect: s } = h(() => new I(t), t);
1185
+ const t = r, { pass: o, effect: s } = p(() => new I(t), t);
1172
1186
  return e({ pass: o, effect: s }), H(
1173
1187
  () => t.blendFunction,
1174
1188
  s,
@@ -1201,7 +1215,7 @@ const ao = /* @__PURE__ */ u({
1201
1215
  ), () => {
1202
1216
  };
1203
1217
  }
1204
- }), lo = /* @__PURE__ */ u({
1218
+ }), uo = /* @__PURE__ */ u({
1205
1219
  __name: "GridPmndrs",
1206
1220
  props: {
1207
1221
  blendFunction: {},
@@ -1209,7 +1223,7 @@ const ao = /* @__PURE__ */ u({
1209
1223
  lineWidth: {}
1210
1224
  },
1211
1225
  setup(r, { expose: e }) {
1212
- const t = r, { pass: o, effect: s } = h(() => new we(t), t);
1226
+ const t = r, { pass: o, effect: s } = p(() => new we(t), t);
1213
1227
  return e({ pass: o, effect: s }), m(
1214
1228
  [
1215
1229
  [() => t.blendFunction, "blendMode.blendFunction"],
@@ -1298,7 +1312,7 @@ class Le extends q {
1298
1312
  this.uniforms.get("scale").value = e;
1299
1313
  }
1300
1314
  }
1301
- const uo = /* @__PURE__ */ u({
1315
+ const co = /* @__PURE__ */ u({
1302
1316
  __name: "FishEyePmndrs",
1303
1317
  props: {
1304
1318
  blendFunction: {},
@@ -1307,11 +1321,11 @@ const uo = /* @__PURE__ */ u({
1307
1321
  scale: {}
1308
1322
  },
1309
1323
  setup(r, { expose: e }) {
1310
- const t = r, o = O(
1324
+ const t = r, o = L(
1311
1325
  () => Array.isArray(t.lensS) ? new d(...t.lensS) : t.lensS
1312
- ), s = O(
1326
+ ), s = L(
1313
1327
  () => Array.isArray(t.lensF) ? new d(...t.lensF) : t.lensF
1314
- ), { pass: a, effect: i } = h(
1328
+ ), { pass: a, effect: i } = p(
1315
1329
  () => new Le({
1316
1330
  ...t,
1317
1331
  lensS: o.value,
@@ -1331,7 +1345,7 @@ const uo = /* @__PURE__ */ u({
1331
1345
  ), () => {
1332
1346
  };
1333
1347
  }
1334
- }), co = /* @__PURE__ */ u({
1348
+ }), fo = /* @__PURE__ */ u({
1335
1349
  __name: "BrightnessContrastPmndrs",
1336
1350
  props: {
1337
1351
  blendFunction: {},
@@ -1339,7 +1353,7 @@ const uo = /* @__PURE__ */ u({
1339
1353
  contrast: {}
1340
1354
  },
1341
1355
  setup(r, { expose: e }) {
1342
- const t = r, { pass: o, effect: s } = h(() => new Ae(t), t);
1356
+ const t = r, { pass: o, effect: s } = p(() => new Ae(t), t);
1343
1357
  return e({ pass: o, effect: s }), m(
1344
1358
  [
1345
1359
  [() => t.blendFunction, "blendMode.blendFunction"],
@@ -1351,7 +1365,7 @@ const uo = /* @__PURE__ */ u({
1351
1365
  ), () => {
1352
1366
  };
1353
1367
  }
1354
- }), Ue = {
1368
+ }), He = {
1355
1369
  name: "CopyShader",
1356
1370
  uniforms: {
1357
1371
  tDiffuse: { value: null },
@@ -1401,22 +1415,22 @@ class C {
1401
1415
  dispose() {
1402
1416
  }
1403
1417
  }
1404
- const wt = new Qe(-1, 1, 1, -1, 0, 1);
1405
- class At extends Ke {
1418
+ const At = new Ze(-1, 1, 1, -1, 0, 1);
1419
+ class yt extends _e {
1406
1420
  constructor() {
1407
1421
  super(), this.setAttribute("position", new ye([-1, 3, 0, -1, -1, 0, 3, -1, 0], 3)), this.setAttribute("uv", new ye([0, 2, 0, 0, 2, 0], 2));
1408
1422
  }
1409
1423
  }
1410
- const yt = new At();
1424
+ const Mt = new yt();
1411
1425
  class R {
1412
1426
  constructor(e) {
1413
- this._mesh = new Je(yt, e);
1427
+ this._mesh = new ze(Mt, e);
1414
1428
  }
1415
1429
  dispose() {
1416
1430
  this._mesh.geometry.dispose();
1417
1431
  }
1418
1432
  render(e) {
1419
- e.render(this._mesh, wt);
1433
+ e.render(this._mesh, At);
1420
1434
  }
1421
1435
  get material() {
1422
1436
  return this._mesh.material;
@@ -1425,7 +1439,7 @@ class R {
1425
1439
  this._mesh.material = e;
1426
1440
  }
1427
1441
  }
1428
- class Mt extends C {
1442
+ class Tt extends C {
1429
1443
  constructor(e, t) {
1430
1444
  super(), this.textureID = t !== void 0 ? t : "tDiffuse", e instanceof A ? (this.uniforms = e.uniforms, this.material = e) : e && (this.uniforms = P.clone(e.uniforms), this.material = new A({
1431
1445
  name: e.name !== void 0 ? e.name : "unspecified",
@@ -1453,7 +1467,7 @@ class Oe extends C {
1453
1467
  this.inverse ? (i = 0, n = 1) : (i = 1, n = 0), a.buffers.stencil.setTest(!0), a.buffers.stencil.setOp(s.REPLACE, s.REPLACE, s.REPLACE), a.buffers.stencil.setFunc(s.ALWAYS, i, 4294967295), a.buffers.stencil.setClear(n), a.buffers.stencil.setLocked(!0), e.setRenderTarget(o), this.clear && e.clear(), e.render(this.scene, this.camera), e.setRenderTarget(t), this.clear && e.clear(), e.render(this.scene, this.camera), a.buffers.color.setLocked(!1), a.buffers.depth.setLocked(!1), a.buffers.color.setMask(!0), a.buffers.depth.setMask(!0), a.buffers.stencil.setLocked(!1), a.buffers.stencil.setFunc(s.EQUAL, 1, 4294967295), a.buffers.stencil.setOp(s.KEEP, s.KEEP, s.KEEP), a.buffers.stencil.setLocked(!0);
1454
1468
  }
1455
1469
  }
1456
- class Tt extends C {
1470
+ class Ct extends C {
1457
1471
  constructor() {
1458
1472
  super(), this.needsSwap = !1;
1459
1473
  }
@@ -1461,14 +1475,14 @@ class Tt extends C {
1461
1475
  e.state.buffers.stencil.setLocked(!1), e.state.buffers.stencil.setTest(!1);
1462
1476
  }
1463
1477
  }
1464
- class Ct {
1478
+ class Et {
1465
1479
  constructor(e, t) {
1466
1480
  if (this.renderer = e, this._pixelRatio = e.getPixelRatio(), t === void 0) {
1467
1481
  const o = e.getSize(new d());
1468
1482
  this._width = o.width, this._height = o.height, t = new D(this._width * this._pixelRatio, this._height * this._pixelRatio, { type: T }), t.texture.name = "EffectComposer.rt1";
1469
1483
  } else
1470
1484
  this._width = t.width, this._height = t.height;
1471
- this.renderTarget1 = t, this.renderTarget2 = t.clone(), this.renderTarget2.texture.name = "EffectComposer.rt2", this.writeBuffer = this.renderTarget1, this.readBuffer = this.renderTarget2, this.renderToScreen = !0, this.passes = [], this.copyPass = new Mt(Ue), this.copyPass.material.blending = Ze, this.clock = new _e();
1485
+ this.renderTarget1 = t, this.renderTarget2 = t.clone(), this.renderTarget2.texture.name = "EffectComposer.rt2", this.writeBuffer = this.renderTarget1, this.readBuffer = this.renderTarget2, this.renderToScreen = !0, this.passes = [], this.copyPass = new Tt(He), this.copyPass.material.blending = $e, this.clock = new et();
1472
1486
  }
1473
1487
  swapBuffers() {
1474
1488
  const e = this.readBuffer;
@@ -1504,7 +1518,7 @@ class Ct {
1504
1518
  }
1505
1519
  this.swapBuffers();
1506
1520
  }
1507
- Oe !== void 0 && (i instanceof Oe ? o = !0 : i instanceof Tt && (o = !1));
1521
+ Oe !== void 0 && (i instanceof Oe ? o = !0 : i instanceof Ct && (o = !1));
1508
1522
  }
1509
1523
  }
1510
1524
  this.renderer.setRenderTarget(t);
@@ -1530,7 +1544,7 @@ class Ct {
1530
1544
  this.renderTarget1.dispose(), this.renderTarget2.dispose(), this.copyPass.dispose();
1531
1545
  }
1532
1546
  }
1533
- class Et extends C {
1547
+ class Pt extends C {
1534
1548
  constructor(e, t, o = null, s = null, a = null) {
1535
1549
  super(), this.scene = e, this.camera = t, this.overrideMaterial = o, this.clearColor = s, this.clearAlpha = a, this.clear = !0, this.clearDepth = !1, this.needsSwap = !1, this._oldClearColor = new k();
1536
1550
  }
@@ -1541,7 +1555,7 @@ class Et extends C {
1541
1555
  this.overrideMaterial !== null && (i = this.scene.overrideMaterial, this.scene.overrideMaterial = this.overrideMaterial), this.clearColor !== null && (e.getClearColor(this._oldClearColor), e.setClearColor(this.clearColor, e.getClearAlpha())), this.clearAlpha !== null && (a = e.getClearAlpha(), e.setClearAlpha(this.clearAlpha)), this.clearDepth == !0 && e.clearDepth(), e.setRenderTarget(this.renderToScreen ? null : o), this.clear === !0 && e.clear(e.autoClearColor, e.autoClearDepth, e.autoClearStencil), e.render(this.scene, this.camera), this.clearColor !== null && e.setClearColor(this._oldClearColor), this.clearAlpha !== null && e.setClearAlpha(a), this.overrideMaterial !== null && (this.scene.overrideMaterial = i), e.autoClear = s;
1542
1556
  }
1543
1557
  }
1544
- const Ge = Symbol("effectComposerThree"), fo = /* @__PURE__ */ u({
1558
+ const Xe = Symbol("effectComposerThree"), ho = /* @__PURE__ */ u({
1545
1559
  __name: "EffectComposer",
1546
1560
  props: {
1547
1561
  enabled: { type: Boolean, default: !0 },
@@ -1549,25 +1563,25 @@ const Ge = Symbol("effectComposerThree"), fo = /* @__PURE__ */ u({
1549
1563
  },
1550
1564
  setup(r, { expose: e }) {
1551
1565
  const t = r, o = W(null);
1552
- Be(Ge, o), e({ composer: o });
1566
+ Be(Xe, o), e({ composer: o });
1553
1567
  const { renderer: s, sizes: a, scene: i, camera: n, render: l } = y();
1554
1568
  x(() => {
1555
1569
  var c;
1556
- (c = o.value) == null || c.dispose(), o.value = new Ct(s.value);
1570
+ (c = o.value) == null || c.dispose(), o.value = new Et(s.value);
1557
1571
  }), x(() => {
1558
1572
  var E;
1559
1573
  const { width: c, height: b } = a;
1560
1574
  b.value && c.value && ((E = o.value) == null || E.setSize(c.value, b.value));
1561
1575
  });
1562
- const { pixelRatio: f } = ze();
1576
+ const { pixelRatio: h } = Ue();
1563
1577
  x(() => {
1564
1578
  var c;
1565
- (c = o.value) == null || c.setPixelRatio(f.value);
1579
+ (c = o.value) == null || c.setPixelRatio(h.value);
1566
1580
  }), t.withoutRenderPass || x(() => {
1567
- n.value && i.value && o.value && o.value.addPass(new Et(i.value, n.value));
1581
+ n.value && i.value && o.value && o.value.addPass(new Pt(i.value, n.value));
1568
1582
  });
1569
- const { render: g } = G();
1570
- return g(() => {
1583
+ const { render: v } = G();
1584
+ return v(() => {
1571
1585
  l.frames.value > 0 && o.value && t.enabled && o.value.render(), l.frames.value = l.mode.value === "always" ? 1 : Math.max(0, l.frames.value - 1);
1572
1586
  }), U(() => {
1573
1587
  var c;
@@ -1577,26 +1591,26 @@ const Ge = Symbol("effectComposerThree"), fo = /* @__PURE__ */ u({
1577
1591
  }), N = (r, e, t) => {
1578
1592
  if (!e && t)
1579
1593
  throw new Error("passDependencies is required when dependencyFieldsTriggeringRecreation is provided");
1580
- const o = te(Ge), s = W(r()), { sizes: a, invalidate: i } = y();
1594
+ const o = te(Xe), s = W(r()), { sizes: a, invalidate: i } = y();
1581
1595
  e && S(e, () => i());
1582
1596
  const n = () => {
1583
- var p;
1584
- (p = o == null ? void 0 : o.value) == null || p.removePass(s.value), s.value.dispose();
1597
+ var f;
1598
+ (f = o == null ? void 0 : o.value) == null || f.removePass(s.value), s.value.dispose();
1585
1599
  }, l = x(() => {
1586
1600
  !(o != null && o.value) || !a.height.value || !a.width.value || (o.value.addPass(s.value), oe(() => l()));
1587
1601
  });
1588
1602
  return t && S(
1589
- () => t.map((p) => e == null ? void 0 : e[p]),
1603
+ () => t.map((f) => e == null ? void 0 : e[f]),
1590
1604
  () => {
1591
1605
  if (!(o != null && o.value))
1592
1606
  return;
1593
- const p = o.value.passes.findIndex((f) => f === s.value);
1594
- ~p && (n(), s.value = r(), o.value.insertPass(s.value, p));
1607
+ const f = o.value.passes.findIndex((h) => h === s.value);
1608
+ ~f && (n(), s.value = r(), o.value.insertPass(s.value, f));
1595
1609
  }
1596
1610
  ), U(() => {
1597
1611
  n();
1598
1612
  }), { pass: s };
1599
- }, Pt = {
1613
+ }, Dt = {
1600
1614
  uniforms: {
1601
1615
  tDiffuse: { value: null },
1602
1616
  //diffuse texture
@@ -1694,7 +1708,7 @@ const Ge = Symbol("effectComposerThree"), fo = /* @__PURE__ */ u({
1694
1708
  class Re extends C {
1695
1709
  constructor(e = 64) {
1696
1710
  super();
1697
- const t = Pt;
1711
+ const t = Dt;
1698
1712
  this.uniforms = P.clone(t.uniforms), this.heightMap = this.generateHeightmap(e), this.uniforms.tDisp.value = this.heightMap, this.material = new A({
1699
1713
  uniforms: this.uniforms,
1700
1714
  vertexShader: t.vertexShader,
@@ -1713,14 +1727,14 @@ class Re extends C {
1713
1727
  const i = w.randFloat(0, 1);
1714
1728
  t[a] = i;
1715
1729
  }
1716
- const s = new $e(t, e, e, et, tt);
1730
+ const s = new tt(t, e, e, ot, st);
1717
1731
  return s.needsUpdate = !0, s;
1718
1732
  }
1719
1733
  dispose() {
1720
1734
  this.material.dispose(), this.heightMap.dispose(), this.fsQuad.dispose();
1721
1735
  }
1722
1736
  }
1723
- const ho = /* @__PURE__ */ u({
1737
+ const po = /* @__PURE__ */ u({
1724
1738
  __name: "Glitch",
1725
1739
  props: {
1726
1740
  dtSize: {},
@@ -2041,7 +2055,7 @@ const ho = /* @__PURE__ */ u({
2041
2055
  }`
2042
2056
  )
2043
2057
  };
2044
- class Dt extends C {
2058
+ class Lt extends C {
2045
2059
  constructor(e, t, o) {
2046
2060
  super(), this.uniforms = P.clone(Y.uniforms), this.material = new A({
2047
2061
  uniforms: this.uniforms,
@@ -2062,7 +2076,7 @@ class Dt extends C {
2062
2076
  this.material.dispose(), this.fsQuad.dispose();
2063
2077
  }
2064
2078
  }
2065
- const po = /* @__PURE__ */ u({
2079
+ const mo = /* @__PURE__ */ u({
2066
2080
  __name: "Halftone",
2067
2081
  props: {
2068
2082
  shape: {},
@@ -2076,11 +2090,11 @@ const po = /* @__PURE__ */ u({
2076
2090
  blendingMode: {}
2077
2091
  },
2078
2092
  setup(r, { expose: e }) {
2079
- const t = r, { sizes: o } = y(), s = O(
2093
+ const t = r, { sizes: o } = y(), s = L(
2080
2094
  () => Object.fromEntries(
2081
2095
  Object.entries(t).filter(([i, n]) => n !== void 0)
2082
2096
  )
2083
- ), { pass: a } = N(() => new Dt(
2097
+ ), { pass: a } = N(() => new Lt(
2084
2098
  o.width.value,
2085
2099
  o.height.value,
2086
2100
  s.value
@@ -2097,7 +2111,7 @@ const po = /* @__PURE__ */ u({
2097
2111
  });
2098
2112
  class Fe extends C {
2099
2113
  constructor(e, t, o, s = {}) {
2100
- super(), this.pixelSize = e, this.resolution = new d(), this.renderResolution = new d(), this.pixelatedMaterial = this.createPixelatedMaterial(), this.normalMaterial = new ot(), this.fsQuad = new R(this.pixelatedMaterial), this.scene = t, this.camera = o, this.normalEdgeStrength = s.normalEdgeStrength || 0.3, this.depthEdgeStrength = s.depthEdgeStrength || 0.4, this.beautyRenderTarget = new D(), this.beautyRenderTarget.texture.minFilter = F, this.beautyRenderTarget.texture.magFilter = F, this.beautyRenderTarget.texture.type = T, this.beautyRenderTarget.depthTexture = new st(), this.normalRenderTarget = new D(), this.normalRenderTarget.texture.minFilter = F, this.normalRenderTarget.texture.magFilter = F, this.normalRenderTarget.texture.type = T;
2114
+ super(), this.pixelSize = e, this.resolution = new d(), this.renderResolution = new d(), this.pixelatedMaterial = this.createPixelatedMaterial(), this.normalMaterial = new at(), this.fsQuad = new R(this.pixelatedMaterial), this.scene = t, this.camera = o, this.normalEdgeStrength = s.normalEdgeStrength || 0.3, this.depthEdgeStrength = s.depthEdgeStrength || 0.4, this.beautyRenderTarget = new D(), this.beautyRenderTarget.texture.minFilter = F, this.beautyRenderTarget.texture.magFilter = F, this.beautyRenderTarget.texture.type = T, this.beautyRenderTarget.depthTexture = new rt(), this.normalRenderTarget = new D(), this.normalRenderTarget.texture.minFilter = F, this.normalRenderTarget.texture.magFilter = F, this.normalRenderTarget.texture.type = T;
2101
2115
  }
2102
2116
  dispose() {
2103
2117
  this.beautyRenderTarget.dispose(), this.normalRenderTarget.dispose(), this.pixelatedMaterial.dispose(), this.normalMaterial.dispose(), this.fsQuad.dispose();
@@ -2123,7 +2137,7 @@ class Fe extends C {
2123
2137
  tDepth: { value: null },
2124
2138
  tNormal: { value: null },
2125
2139
  resolution: {
2126
- value: new at(
2140
+ value: new it(
2127
2141
  this.renderResolution.x,
2128
2142
  this.renderResolution.y,
2129
2143
  1 / this.renderResolution.x,
@@ -2242,7 +2256,7 @@ class Fe extends C {
2242
2256
  });
2243
2257
  }
2244
2258
  }
2245
- const mo = /* @__PURE__ */ u({
2259
+ const vo = /* @__PURE__ */ u({
2246
2260
  __name: "Pixelation",
2247
2261
  props: {
2248
2262
  pixelSize: {},
@@ -2263,7 +2277,7 @@ const mo = /* @__PURE__ */ u({
2263
2277
  ), () => {
2264
2278
  };
2265
2279
  }
2266
- }), Lt = {
2280
+ }), Ot = {
2267
2281
  name: "OutputShader",
2268
2282
  uniforms: {
2269
2283
  tDiffuse: { value: null },
@@ -2349,11 +2363,11 @@ const mo = /* @__PURE__ */ u({
2349
2363
  }`
2350
2364
  )
2351
2365
  };
2352
- class Ot extends C {
2366
+ class Rt extends C {
2353
2367
  constructor() {
2354
2368
  super();
2355
- const e = Lt;
2356
- this.uniforms = P.clone(e.uniforms), this.material = new rt({
2369
+ const e = Ot;
2370
+ this.uniforms = P.clone(e.uniforms), this.material = new nt({
2357
2371
  name: e.name,
2358
2372
  uniforms: this.uniforms,
2359
2373
  vertexShader: e.vertexShader,
@@ -2361,7 +2375,7 @@ class Ot extends C {
2361
2375
  }), this.fsQuad = new R(this.material), this._outputColorSpace = null, this._toneMapping = null;
2362
2376
  }
2363
2377
  render(e, t, o) {
2364
- this.uniforms.tDiffuse.value = o.texture, this.uniforms.toneMappingExposure.value = e.toneMappingExposure, (this._outputColorSpace !== e.outputColorSpace || this._toneMapping !== e.toneMapping) && (this._outputColorSpace = e.outputColorSpace, this._toneMapping = e.toneMapping, this.material.defines = {}, it.getTransfer(this._outputColorSpace) === nt && (this.material.defines.SRGB_TRANSFER = ""), this._toneMapping === lt ? this.material.defines.LINEAR_TONE_MAPPING = "" : this._toneMapping === ut ? this.material.defines.REINHARD_TONE_MAPPING = "" : this._toneMapping === ct ? this.material.defines.CINEON_TONE_MAPPING = "" : this._toneMapping === dt ? this.material.defines.ACES_FILMIC_TONE_MAPPING = "" : this._toneMapping === ft ? this.material.defines.AGX_TONE_MAPPING = "" : this._toneMapping === ht ? this.material.defines.NEUTRAL_TONE_MAPPING = "" : this._toneMapping === pt && (this.material.defines.CUSTOM_TONE_MAPPING = ""), this.material.needsUpdate = !0), this.renderToScreen === !0 ? (e.setRenderTarget(null), this.fsQuad.render(e)) : (e.setRenderTarget(t), this.clear && e.clear(e.autoClearColor, e.autoClearDepth, e.autoClearStencil), this.fsQuad.render(e));
2378
+ this.uniforms.tDiffuse.value = o.texture, this.uniforms.toneMappingExposure.value = e.toneMappingExposure, (this._outputColorSpace !== e.outputColorSpace || this._toneMapping !== e.toneMapping) && (this._outputColorSpace = e.outputColorSpace, this._toneMapping = e.toneMapping, this.material.defines = {}, lt.getTransfer(this._outputColorSpace) === ut && (this.material.defines.SRGB_TRANSFER = ""), this._toneMapping === ct ? this.material.defines.LINEAR_TONE_MAPPING = "" : this._toneMapping === dt ? this.material.defines.REINHARD_TONE_MAPPING = "" : this._toneMapping === ft ? this.material.defines.CINEON_TONE_MAPPING = "" : this._toneMapping === ht ? this.material.defines.ACES_FILMIC_TONE_MAPPING = "" : this._toneMapping === pt ? this.material.defines.AGX_TONE_MAPPING = "" : this._toneMapping === mt ? this.material.defines.NEUTRAL_TONE_MAPPING = "" : this._toneMapping === vt && (this.material.defines.CUSTOM_TONE_MAPPING = ""), this.material.needsUpdate = !0), this.renderToScreen === !0 ? (e.setRenderTarget(null), this.fsQuad.render(e)) : (e.setRenderTarget(t), this.clear && e.clear(e.autoClearColor, e.autoClearDepth, e.autoClearStencil), this.fsQuad.render(e));
2365
2379
  }
2366
2380
  dispose() {
2367
2381
  this.material.dispose(), this.fsQuad.dispose();
@@ -2370,7 +2384,7 @@ class Ot extends C {
2370
2384
  const go = /* @__PURE__ */ u({
2371
2385
  __name: "Output",
2372
2386
  setup(r, { expose: e }) {
2373
- const { pass: t } = N(() => new Ot());
2387
+ const { pass: t } = N(() => new Rt());
2374
2388
  return e({ pass: t }), () => {
2375
2389
  };
2376
2390
  }
@@ -2815,7 +2829,7 @@ const go = /* @__PURE__ */ u({
2815
2829
  }`
2816
2830
  )
2817
2831
  };
2818
- class Rt extends C {
2832
+ class Ft extends C {
2819
2833
  constructor(e, t) {
2820
2834
  super(), this.edgesRT = new D(e, t, {
2821
2835
  depthBuffer: !1,
@@ -2827,7 +2841,7 @@ class Rt extends C {
2827
2841
  const o = this, s = new Image();
2828
2842
  s.src = this.getAreaTexture(), s.onload = function() {
2829
2843
  o.areaTexture.needsUpdate = !0;
2830
- }, this.areaTexture = new Me(), this.areaTexture.name = "SMAAPass.area", this.areaTexture.image = s, this.areaTexture.minFilter = mt, this.areaTexture.generateMipmaps = !1, this.areaTexture.flipY = !1;
2844
+ }, this.areaTexture = new Me(), this.areaTexture.name = "SMAAPass.area", this.areaTexture.image = s, this.areaTexture.minFilter = gt, this.areaTexture.generateMipmaps = !1, this.areaTexture.flipY = !1;
2831
2845
  const a = new Image();
2832
2846
  a.src = this.getSearchTexture(), a.onload = function() {
2833
2847
  o.searchTexture.needsUpdate = !0;
@@ -2863,20 +2877,20 @@ class Rt extends C {
2863
2877
  this.edgesRT.dispose(), this.weightsRT.dispose(), this.areaTexture.dispose(), this.searchTexture.dispose(), this.materialEdges.dispose(), this.materialWeights.dispose(), this.materialBlend.dispose(), this.fsQuad.dispose();
2864
2878
  }
2865
2879
  }
2866
- const vo = /* @__PURE__ */ u({
2880
+ const xo = /* @__PURE__ */ u({
2867
2881
  __name: "SMAA",
2868
2882
  props: {
2869
2883
  width: {},
2870
2884
  height: {}
2871
2885
  },
2872
2886
  setup(r, { expose: e }) {
2873
- const t = r, { sizes: o } = y(), { pixelRatio: s } = ze(), a = O(() => t.width ?? o.width.value * s.value), i = O(() => t.height ?? o.height.value * s.value), { pass: n } = N(() => new Rt(a.value, i.value), t);
2887
+ const t = r, { sizes: o } = y(), { pixelRatio: s } = Ue(), a = L(() => t.width ?? o.width.value * s.value), i = L(() => t.height ?? o.height.value * s.value), { pass: n } = N(() => new Ft(a.value, i.value), t);
2874
2888
  return e({ pass: n }), x(() => {
2875
2889
  n.value.setSize(a.value, i.value);
2876
2890
  }), () => {
2877
2891
  };
2878
2892
  }
2879
- }), He = {
2893
+ }), Ie = {
2880
2894
  name: "LuminosityHighPassShader",
2881
2895
  shaderID: "luminosityHighPass",
2882
2896
  uniforms: {
@@ -2932,13 +2946,13 @@ class B extends C {
2932
2946
  super(), this.strength = t !== void 0 ? t : 1, this.radius = o, this.threshold = s, this.resolution = e !== void 0 ? new d(e.x, e.y) : new d(256, 256), this.clearColor = new k(0, 0, 0), this.renderTargetsHorizontal = [], this.renderTargetsVertical = [], this.nMips = 5;
2933
2947
  let a = Math.round(this.resolution.x / 2), i = Math.round(this.resolution.y / 2);
2934
2948
  this.renderTargetBright = new D(a, i, { type: T }), this.renderTargetBright.texture.name = "UnrealBloomPass.bright", this.renderTargetBright.texture.generateMipmaps = !1;
2935
- for (let g = 0; g < this.nMips; g++) {
2949
+ for (let v = 0; v < this.nMips; v++) {
2936
2950
  const c = new D(a, i, { type: T });
2937
- c.texture.name = "UnrealBloomPass.h" + g, c.texture.generateMipmaps = !1, this.renderTargetsHorizontal.push(c);
2951
+ c.texture.name = "UnrealBloomPass.h" + v, c.texture.generateMipmaps = !1, this.renderTargetsHorizontal.push(c);
2938
2952
  const b = new D(a, i, { type: T });
2939
- b.texture.name = "UnrealBloomPass.v" + g, b.texture.generateMipmaps = !1, this.renderTargetsVertical.push(b), a = Math.round(a / 2), i = Math.round(i / 2);
2953
+ b.texture.name = "UnrealBloomPass.v" + v, b.texture.generateMipmaps = !1, this.renderTargetsVertical.push(b), a = Math.round(a / 2), i = Math.round(i / 2);
2940
2954
  }
2941
- const n = He;
2955
+ const n = Ie;
2942
2956
  this.highPassUniforms = P.clone(n.uniforms), this.highPassUniforms.luminosityThreshold.value = s, this.highPassUniforms.smoothWidth.value = 0.01, this.materialHighPassFilter = new A({
2943
2957
  uniforms: this.highPassUniforms,
2944
2958
  vertexShader: n.vertexShader,
@@ -2946,21 +2960,21 @@ class B extends C {
2946
2960
  }), this.separableBlurMaterials = [];
2947
2961
  const l = [3, 5, 7, 9, 11];
2948
2962
  a = Math.round(this.resolution.x / 2), i = Math.round(this.resolution.y / 2);
2949
- for (let g = 0; g < this.nMips; g++)
2950
- this.separableBlurMaterials.push(this.getSeparableBlurMaterial(l[g])), this.separableBlurMaterials[g].uniforms.invSize.value = new d(1 / a, 1 / i), a = Math.round(a / 2), i = Math.round(i / 2);
2963
+ for (let v = 0; v < this.nMips; v++)
2964
+ this.separableBlurMaterials.push(this.getSeparableBlurMaterial(l[v])), this.separableBlurMaterials[v].uniforms.invSize.value = new d(1 / a, 1 / i), a = Math.round(a / 2), i = Math.round(i / 2);
2951
2965
  this.compositeMaterial = this.getCompositeMaterial(this.nMips), this.compositeMaterial.uniforms.blurTexture1.value = this.renderTargetsVertical[0].texture, this.compositeMaterial.uniforms.blurTexture2.value = this.renderTargetsVertical[1].texture, this.compositeMaterial.uniforms.blurTexture3.value = this.renderTargetsVertical[2].texture, this.compositeMaterial.uniforms.blurTexture4.value = this.renderTargetsVertical[3].texture, this.compositeMaterial.uniforms.blurTexture5.value = this.renderTargetsVertical[4].texture, this.compositeMaterial.uniforms.bloomStrength.value = t, this.compositeMaterial.uniforms.bloomRadius.value = 0.1;
2952
- const p = [1, 0.8, 0.6, 0.4, 0.2];
2953
- this.compositeMaterial.uniforms.bloomFactors.value = p, this.bloomTintColors = [new L(1, 1, 1), new L(1, 1, 1), new L(1, 1, 1), new L(1, 1, 1), new L(1, 1, 1)], this.compositeMaterial.uniforms.bloomTintColors.value = this.bloomTintColors;
2954
- const f = Ue;
2955
- this.copyUniforms = P.clone(f.uniforms), this.blendMaterial = new A({
2966
+ const f = [1, 0.8, 0.6, 0.4, 0.2];
2967
+ this.compositeMaterial.uniforms.bloomFactors.value = f, this.bloomTintColors = [new O(1, 1, 1), new O(1, 1, 1), new O(1, 1, 1), new O(1, 1, 1), new O(1, 1, 1)], this.compositeMaterial.uniforms.bloomTintColors.value = this.bloomTintColors;
2968
+ const h = He;
2969
+ this.copyUniforms = P.clone(h.uniforms), this.blendMaterial = new A({
2956
2970
  uniforms: this.copyUniforms,
2957
- vertexShader: f.vertexShader,
2958
- fragmentShader: f.fragmentShader,
2959
- blending: gt,
2971
+ vertexShader: h.vertexShader,
2972
+ fragmentShader: h.fragmentShader,
2973
+ blending: xt,
2960
2974
  depthTest: !1,
2961
2975
  depthWrite: !1,
2962
2976
  transparent: !0
2963
- }), this.enabled = !0, this.needsSwap = !1, this._oldClearColor = new k(), this.oldClearAlpha = 1, this.basic = new vt(), this.fsQuad = new R(null);
2977
+ }), this.enabled = !0, this.needsSwap = !1, this._oldClearColor = new k(), this.oldClearAlpha = 1, this.basic = new We(), this.fsQuad = new R(null);
2964
2978
  }
2965
2979
  dispose() {
2966
2980
  for (let e = 0; e < this.renderTargetsHorizontal.length; e++)
@@ -3080,7 +3094,7 @@ class B extends C {
3080
3094
  }
3081
3095
  B.BlurDirectionX = new d(1, 0);
3082
3096
  B.BlurDirectionY = new d(0, 1);
3083
- const xo = /* @__PURE__ */ u({
3097
+ const bo = /* @__PURE__ */ u({
3084
3098
  __name: "UnrealBloom",
3085
3099
  props: {
3086
3100
  radius: { default: 0 },
@@ -3102,46 +3116,46 @@ const xo = /* @__PURE__ */ u({
3102
3116
  s.value.strength = t.strength ?? ((a = s.value.getCompositeMaterial().uniforms.bloomStrength) == null ? void 0 : a.value) ?? 1;
3103
3117
  }), x(() => {
3104
3118
  var a;
3105
- s.value.threshold = t.threshold ?? ((a = He.uniforms.luminosityThreshold) == null ? void 0 : a.value) ?? 1;
3119
+ s.value.threshold = t.threshold ?? ((a = Ie.uniforms.luminosityThreshold) == null ? void 0 : a.value) ?? 1;
3106
3120
  }), () => {
3107
3121
  };
3108
3122
  }
3109
3123
  });
3110
3124
  export {
3111
- kt as BarrelBlurPmndrs,
3112
- Gt as BloomPmndrs,
3113
- co as BrightnessContrastPmndrs,
3114
- Qt as ChromaticAberrationPmndrs,
3115
- _t as ColorAveragePmndrs,
3116
- no as ColorDepthPmndrs,
3117
- Ht as DepthOfFieldPmndrs,
3118
- ro as DepthPickingPassPmndrs,
3119
- oo as DotScreenPmndrs,
3120
- fo as EffectComposer,
3121
- Ut as EffectComposerPmndrs,
3122
- uo as FishEyePmndrs,
3123
- ho as Glitch,
3124
- Xt as GlitchPmndrs,
3125
- io as GodRaysPmndrs,
3126
- lo as GridPmndrs,
3127
- po as Halftone,
3128
- Kt as HueSaturationPmndrs,
3129
- Zt as KuwaharaPmndrs,
3130
- $t as LensDistortionPmndrs,
3131
- ao as LinocutPmndrs,
3132
- It as NoisePmndrs,
3133
- jt as OutlinePmndrs,
3125
+ qt as BarrelBlurPmndrs,
3126
+ Ht as BloomPmndrs,
3127
+ fo as BrightnessContrastPmndrs,
3128
+ Kt as ChromaticAberrationPmndrs,
3129
+ $t as ColorAveragePmndrs,
3130
+ lo as ColorDepthPmndrs,
3131
+ Xt as DepthOfFieldPmndrs,
3132
+ io as DepthPickingPassPmndrs,
3133
+ so as DotScreenPmndrs,
3134
+ ho as EffectComposer,
3135
+ Gt as EffectComposerPmndrs,
3136
+ co as FishEyePmndrs,
3137
+ po as Glitch,
3138
+ It as GlitchPmndrs,
3139
+ no as GodRaysPmndrs,
3140
+ uo as GridPmndrs,
3141
+ mo as Halftone,
3142
+ Jt as HueSaturationPmndrs,
3143
+ _t as KuwaharaPmndrs,
3144
+ eo as LensDistortionPmndrs,
3145
+ ro as LinocutPmndrs,
3146
+ jt as NoisePmndrs,
3147
+ Vt as OutlinePmndrs,
3134
3148
  go as Output,
3135
- mo as Pixelation,
3136
- Vt as PixelationPmndrs,
3137
- vo as SMAA,
3138
- Jt as ScanlinePmndrs,
3139
- so as SepiaPmndrs,
3140
- eo as ShockWavePmndrs,
3141
- to as TiltShiftPmndrs,
3142
- qt as ToneMappingPmndrs,
3143
- xo as UnrealBloom,
3144
- Yt as VignettePmndrs,
3149
+ vo as Pixelation,
3150
+ Yt as PixelationPmndrs,
3151
+ xo as SMAA,
3152
+ Zt as ScanlinePmndrs,
3153
+ ao as SepiaPmndrs,
3154
+ to as ShockWavePmndrs,
3155
+ oo as TiltShiftPmndrs,
3156
+ Qt as ToneMappingPmndrs,
3157
+ bo as UnrealBloom,
3158
+ kt as VignettePmndrs,
3145
3159
  N as useEffect,
3146
- h as useEffectPmndrs
3160
+ p as useEffectPmndrs
3147
3161
  };