@tresjs/post-processing 2.2.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.
- package/dist/core/pmndrs/BloomPmndrs.vue.d.ts +1 -1
- package/dist/core/pmndrs/DepthOfFieldPmndrs.vue.d.ts +1 -1
- package/dist/core/pmndrs/GodRaysPmndrs.vue.d.ts +2 -2
- package/dist/core/pmndrs/OutlinePmndrs.vue.d.ts +0 -3
- package/dist/core/pmndrs/composables/useEffectPmndrs.d.ts +6 -1
- package/dist/core/three/composables/useEffect.d.ts +2 -1
- package/dist/tres-post-processing.js +862 -803
- package/dist/tres-post-processing.umd.cjs +17 -17
- package/dist/util/prop.d.ts +1 -1
- package/package.json +4 -3
|
@@ -1,58 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @tresjs/post-processing
|
|
3
|
-
* version: v2.
|
|
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 {
|
|
9
|
-
import { EffectComposer as
|
|
10
|
-
import { useTresContext as
|
|
11
|
-
import { HalfFloatType as
|
|
12
|
-
import { useDevicePixelRatio as
|
|
13
|
-
|
|
14
|
-
if (!t)
|
|
15
|
-
return;
|
|
16
|
-
const e = Array.isArray(t) ? t : t.match(Ue);
|
|
17
|
-
return e == null ? void 0 : e.reduce((o, s) => o && o[s], r);
|
|
18
|
-
}, Ce = (r, t, e) => {
|
|
19
|
-
const o = Array.isArray(t) ? t : t.match(Ue);
|
|
20
|
-
o && o.reduce((s, a, i) => (s[a] === void 0 && (s[a] = {}), i === o.length - 1 && (s[a] = e), s[a]), r);
|
|
21
|
-
}, ae = (r, t) => {
|
|
22
|
-
const e = { ...r };
|
|
23
|
-
return t.forEach((o) => delete e[o]), e;
|
|
24
|
-
}, Q = (r, t, e, o, s = {}) => w(r, (a) => {
|
|
25
|
-
var i;
|
|
26
|
-
if (t.value)
|
|
27
|
-
if (a === void 0) {
|
|
28
|
-
const n = o();
|
|
29
|
-
Ce(t.value, e, bt(n, e)), (i = n.dispose) == null || i.call(n);
|
|
30
|
-
} else
|
|
31
|
-
Ce(t.value, e, r());
|
|
32
|
-
}, s), p = (r, t, e) => r.map(([o, s]) => Q(
|
|
33
|
-
o,
|
|
34
|
-
t,
|
|
35
|
-
s,
|
|
36
|
-
e
|
|
37
|
-
)), G = (r, t, e) => Object.keys(r).map((o) => Q(
|
|
38
|
-
() => r[o],
|
|
39
|
-
t,
|
|
40
|
-
o,
|
|
41
|
-
e
|
|
42
|
-
));
|
|
43
|
-
class Ee {
|
|
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
|
+
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 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
|
+
class Te {
|
|
44
14
|
static isWebGL2Available() {
|
|
45
15
|
try {
|
|
46
|
-
const
|
|
47
|
-
return !!(window.WebGL2RenderingContext &&
|
|
16
|
+
const e = document.createElement("canvas");
|
|
17
|
+
return !!(window.WebGL2RenderingContext && e.getContext("webgl2"));
|
|
48
18
|
} catch {
|
|
49
19
|
return !1;
|
|
50
20
|
}
|
|
51
21
|
}
|
|
52
|
-
static isColorSpaceAvailable(
|
|
22
|
+
static isColorSpaceAvailable(e) {
|
|
53
23
|
try {
|
|
54
|
-
const
|
|
55
|
-
return o.drawingBufferColorSpace =
|
|
24
|
+
const t = document.createElement("canvas"), o = window.WebGL2RenderingContext && t.getContext("webgl2");
|
|
25
|
+
return o.drawingBufferColorSpace = e, o.drawingBufferColorSpace === e;
|
|
56
26
|
} catch {
|
|
57
27
|
return !1;
|
|
58
28
|
}
|
|
@@ -60,8 +30,8 @@ class Ee {
|
|
|
60
30
|
static getWebGL2ErrorMessage() {
|
|
61
31
|
return this.getErrorMessage(2);
|
|
62
32
|
}
|
|
63
|
-
static getErrorMessage(
|
|
64
|
-
const
|
|
33
|
+
static getErrorMessage(e) {
|
|
34
|
+
const t = {
|
|
65
35
|
1: "WebGL",
|
|
66
36
|
2: "WebGL 2"
|
|
67
37
|
}, o = {
|
|
@@ -70,14 +40,14 @@ class Ee {
|
|
|
70
40
|
};
|
|
71
41
|
let s = 'Your $0 does not seem to support <a href="http://khronos.org/webgl/wiki/Getting_a_WebGL_Implementation" style="color:#000">$1</a>';
|
|
72
42
|
const a = document.createElement("div");
|
|
73
|
-
return a.id = "webglmessage", a.style.fontFamily = "monospace", a.style.fontSize = "13px", a.style.fontWeight = "normal", a.style.textAlign = "center", a.style.background = "#fff", a.style.color = "#000", a.style.padding = "1.5em", a.style.width = "400px", a.style.margin = "5em auto 0", o[
|
|
43
|
+
return a.id = "webglmessage", a.style.fontFamily = "monospace", a.style.fontSize = "13px", a.style.fontWeight = "normal", a.style.textAlign = "center", a.style.background = "#fff", a.style.color = "#000", a.style.padding = "1.5em", a.style.width = "400px", a.style.margin = "5em auto 0", o[e] ? s = s.replace("$0", "graphics card") : s = s.replace("$0", "browser"), s = s.replace("$1", t[e]), a.innerHTML = s, a;
|
|
74
44
|
}
|
|
75
45
|
// @deprecated, r168
|
|
76
46
|
static isWebGLAvailable() {
|
|
77
47
|
console.warn("isWebGLAvailable() has been deprecated and will be removed in r178. Use isWebGL2Available() instead.");
|
|
78
48
|
try {
|
|
79
|
-
const
|
|
80
|
-
return !!(window.WebGLRenderingContext && (
|
|
49
|
+
const e = document.createElement("canvas");
|
|
50
|
+
return !!(window.WebGLRenderingContext && (e.getContext("webgl") || e.getContext("experimental-webgl")));
|
|
81
51
|
} catch {
|
|
82
52
|
return !1;
|
|
83
53
|
}
|
|
@@ -86,7 +56,7 @@ class Ee {
|
|
|
86
56
|
return console.warn("getWebGLErrorMessage() has been deprecated and will be removed in r178. Use getWebGL2ErrorMessage() instead."), this.getErrorMessage(1);
|
|
87
57
|
}
|
|
88
58
|
}
|
|
89
|
-
const
|
|
59
|
+
const se = Symbol("effectComposerPmndrs"), Gt = /* @__PURE__ */ u({
|
|
90
60
|
__name: "EffectComposerPmndrs",
|
|
91
61
|
props: {
|
|
92
62
|
enabled: { type: Boolean, default: !0 },
|
|
@@ -96,65 +66,109 @@ const re = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
|
|
|
96
66
|
resolutionScale: {},
|
|
97
67
|
autoClear: { type: Boolean, default: !0 },
|
|
98
68
|
multisampling: { default: 0 },
|
|
99
|
-
frameBufferType: { default:
|
|
69
|
+
frameBufferType: { default: T }
|
|
100
70
|
},
|
|
101
71
|
emits: ["render"],
|
|
102
|
-
setup(r, { expose:
|
|
103
|
-
const o = r, s =
|
|
104
|
-
let
|
|
105
|
-
|
|
106
|
-
const
|
|
107
|
-
|
|
108
|
-
normalBuffer:
|
|
72
|
+
setup(r, { expose: e, emit: t }) {
|
|
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
|
+
const b = () => {
|
|
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
|
+
normalBuffer: c.texture,
|
|
109
79
|
resolutionScale: o.resolutionScale
|
|
110
|
-
}),
|
|
111
|
-
},
|
|
112
|
-
const g = new
|
|
80
|
+
}), v.enabled = !1, h.value.addPass(v)));
|
|
81
|
+
}, E = L(() => {
|
|
82
|
+
const g = new ne(), z = {
|
|
113
83
|
depthBuffer: o.depthBuffer !== void 0 ? o.depthBuffer : g.inputBuffer.depthBuffer,
|
|
114
84
|
stencilBuffer: o.stencilBuffer !== void 0 ? o.stencilBuffer : g.inputBuffer.stencilBuffer,
|
|
115
|
-
multisampling:
|
|
116
|
-
frameBufferType: o.frameBufferType !== void 0 ? o.frameBufferType :
|
|
85
|
+
multisampling: Te.isWebGL2Available() ? o.multisampling !== void 0 ? o.multisampling : g.multisampling : 0,
|
|
86
|
+
frameBufferType: o.frameBufferType !== void 0 ? o.frameBufferType : T
|
|
117
87
|
};
|
|
118
|
-
return g.dispose(),
|
|
119
|
-
}),
|
|
88
|
+
return g.dispose(), z;
|
|
89
|
+
}), re = () => {
|
|
120
90
|
var g;
|
|
121
|
-
!n.value && !a.value && !i.value || ((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());
|
|
122
92
|
};
|
|
123
|
-
|
|
124
|
-
!l.width.value || !l.height.value ||
|
|
125
|
-
}),
|
|
126
|
-
!g && !
|
|
93
|
+
S([n, a, i, () => o.disableNormalPass], () => {
|
|
94
|
+
!l.width.value || !l.height.value || re();
|
|
95
|
+
}), S(() => [l.width.value, l.height.value], ([g, z]) => {
|
|
96
|
+
!g && !z || (h.value ? h.value.setSize(g, z) : re());
|
|
127
97
|
}, {
|
|
128
98
|
immediate: !0
|
|
129
99
|
});
|
|
130
|
-
const { render:
|
|
131
|
-
return
|
|
132
|
-
if (o.enabled && n.value &&
|
|
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) {
|
|
133
103
|
const g = n.value.autoClear;
|
|
134
|
-
n.value.autoClear = o.autoClear, o.stencilBuffer && !o.autoClear && n.value.clearStencil(),
|
|
104
|
+
n.value.autoClear = o.autoClear, o.stencilBuffer && !o.autoClear && n.value.clearStencil(), h.value.render(), s("render", h.value), n.value.autoClear = g;
|
|
135
105
|
}
|
|
136
|
-
|
|
137
|
-
}),
|
|
106
|
+
f.frames.value = f.mode.value === "always" ? 1 : Math.max(0, f.frames.value - 1);
|
|
107
|
+
}), U(() => {
|
|
138
108
|
var g;
|
|
139
|
-
(g =
|
|
140
|
-
}), (g,
|
|
141
|
-
}
|
|
142
|
-
}),
|
|
143
|
-
const
|
|
144
|
-
|
|
145
|
-
|
|
109
|
+
(g = h.value) == null || g.dispose();
|
|
110
|
+
}), (g, z) => Ne(g.$slots, "default");
|
|
111
|
+
}
|
|
112
|
+
}), p = (r, e, t) => {
|
|
113
|
+
const o = te(se), s = W(null), a = W(null), { scene: i, camera: n, invalidate: l } = y();
|
|
114
|
+
S(e, () => l());
|
|
115
|
+
const f = () => {
|
|
116
|
+
var c, b, E;
|
|
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
|
+
}, 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
|
+
};
|
|
121
|
+
t && S(
|
|
122
|
+
() => t.map((c) => e[c]),
|
|
123
|
+
() => {
|
|
124
|
+
var b;
|
|
125
|
+
if (!(o != null && o.value))
|
|
126
|
+
return;
|
|
127
|
+
const c = (b = o.value) == null ? void 0 : b.passes.findIndex((E) => E === s.value);
|
|
128
|
+
~c && (f(), h(c));
|
|
129
|
+
}
|
|
130
|
+
), x(() => {
|
|
131
|
+
!n.value || !(a != null && a.value) || (a.value.mainCamera = n.value);
|
|
146
132
|
});
|
|
147
|
-
const
|
|
148
|
-
!
|
|
133
|
+
const v = x(() => {
|
|
134
|
+
!n.value || !(o != null && o.value) || !i.value || (oe(() => v()), !a.value && h());
|
|
149
135
|
});
|
|
150
|
-
return
|
|
151
|
-
|
|
152
|
-
o.value && ((x = e == null ? void 0 : e.value) == null || x.removePass(o.value)), (d = s.value) == null || d.dispose(), (m = o.value) == null || m.dispose();
|
|
136
|
+
return U(() => {
|
|
137
|
+
f();
|
|
153
138
|
}), {
|
|
154
|
-
pass:
|
|
155
|
-
effect:
|
|
139
|
+
pass: s,
|
|
140
|
+
effect: a
|
|
156
141
|
};
|
|
157
|
-
},
|
|
142
|
+
}, Ge = /([^[.\]])+/g, bt = (r, e) => {
|
|
143
|
+
if (!e)
|
|
144
|
+
return;
|
|
145
|
+
const t = Array.isArray(e) ? e : e.match(Ge);
|
|
146
|
+
return t == null ? void 0 : t.reduce((o, s) => o && o[s], r);
|
|
147
|
+
}, Ce = (r, e, t) => {
|
|
148
|
+
const o = Array.isArray(e) ? e : e.match(Ge);
|
|
149
|
+
o && o.reduce((s, a, i) => (s[a] === void 0 && (s[a] = {}), i === o.length - 1 && (s[a] = t), s[a]), r);
|
|
150
|
+
}, St = (r, e) => {
|
|
151
|
+
const t = { ...r };
|
|
152
|
+
return e.forEach((o) => delete t[o]), t;
|
|
153
|
+
}, H = (r, e, t, o, s = {}) => S(r, (a) => {
|
|
154
|
+
var i;
|
|
155
|
+
if (e.value)
|
|
156
|
+
if (a === void 0) {
|
|
157
|
+
const n = o();
|
|
158
|
+
Ce(e.value, t, bt(n, t)), (i = n.dispose) == null || i.call(n);
|
|
159
|
+
} else
|
|
160
|
+
Ce(e.value, t, r());
|
|
161
|
+
}, s), m = (r, e, t) => r.map(([o, s]) => H(
|
|
162
|
+
o,
|
|
163
|
+
e,
|
|
164
|
+
s,
|
|
165
|
+
t
|
|
166
|
+
)), ae = (r, e, t) => Object.keys(r).map((o) => H(
|
|
167
|
+
() => r[o],
|
|
168
|
+
e,
|
|
169
|
+
o,
|
|
170
|
+
t
|
|
171
|
+
)), Ht = /* @__PURE__ */ u({
|
|
158
172
|
__name: "BloomPmndrs",
|
|
159
173
|
props: {
|
|
160
174
|
blendFunction: {},
|
|
@@ -164,22 +178,22 @@ const re = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
|
|
|
164
178
|
luminanceSmoothing: {},
|
|
165
179
|
mipmapBlur: { type: Boolean, default: void 0 }
|
|
166
180
|
},
|
|
167
|
-
setup(r, { expose:
|
|
168
|
-
const
|
|
169
|
-
return
|
|
181
|
+
setup(r, { expose: e }) {
|
|
182
|
+
const t = r, { pass: o, effect: s } = p(() => new le(t), t, ["mipmapBlur"]);
|
|
183
|
+
return e({ pass: o, effect: s }), m(
|
|
170
184
|
[
|
|
171
|
-
|
|
172
|
-
[() =>
|
|
173
|
-
[() =>
|
|
174
|
-
[() =>
|
|
175
|
-
[() =>
|
|
185
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
186
|
+
[() => t.intensity, "intensity"],
|
|
187
|
+
[() => t.kernelSize, "kernelSize"],
|
|
188
|
+
[() => t.luminanceSmoothing, "luminanceMaterial.smoothing"],
|
|
189
|
+
[() => t.luminanceThreshold, "luminanceMaterial.threshold"]
|
|
176
190
|
],
|
|
177
191
|
s,
|
|
178
|
-
() => new
|
|
192
|
+
() => new le()
|
|
179
193
|
), () => {
|
|
180
194
|
};
|
|
181
195
|
}
|
|
182
|
-
}),
|
|
196
|
+
}), Xt = /* @__PURE__ */ u({
|
|
183
197
|
__name: "DepthOfFieldPmndrs",
|
|
184
198
|
props: {
|
|
185
199
|
blendFunction: {},
|
|
@@ -192,26 +206,26 @@ const re = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
|
|
|
192
206
|
resolutionX: {},
|
|
193
207
|
resolutionY: {}
|
|
194
208
|
},
|
|
195
|
-
setup(r, { expose:
|
|
196
|
-
const
|
|
197
|
-
return
|
|
209
|
+
setup(r, { expose: e }) {
|
|
210
|
+
const t = r, { camera: o } = y(), { pass: s, effect: a } = p(() => new ue(o.value, t), t);
|
|
211
|
+
return e({ pass: s, effect: a }), m(
|
|
198
212
|
[
|
|
199
|
-
|
|
200
|
-
[() =>
|
|
201
|
-
[() =>
|
|
202
|
-
[() =>
|
|
203
|
-
[() =>
|
|
204
|
-
[() =>
|
|
205
|
-
[() =>
|
|
206
|
-
[() =>
|
|
207
|
-
[() =>
|
|
213
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
214
|
+
[() => t.worldFocusDistance, "circleOfConfusionMaterial.worldFocusDistance"],
|
|
215
|
+
[() => t.focusDistance, "circleOfConfusionMaterial.focusDistance"],
|
|
216
|
+
[() => t.worldFocusRange, "circleOfConfusionMaterial.worldFocusRange"],
|
|
217
|
+
[() => t.focusRange, "circleOfConfusionMaterial.focusRange"],
|
|
218
|
+
[() => t.bokehScale, "bokehScale"],
|
|
219
|
+
[() => t.resolutionScale, "blurPass.resolution.scale"],
|
|
220
|
+
[() => t.resolutionX, "resolution.width"],
|
|
221
|
+
[() => t.resolutionY, "resolution.height"]
|
|
208
222
|
],
|
|
209
223
|
a,
|
|
210
|
-
() => new
|
|
224
|
+
() => new ue()
|
|
211
225
|
), () => {
|
|
212
226
|
};
|
|
213
227
|
}
|
|
214
|
-
}),
|
|
228
|
+
}), It = /* @__PURE__ */ u({
|
|
215
229
|
__name: "GlitchPmndrs",
|
|
216
230
|
props: {
|
|
217
231
|
blendFunction: {},
|
|
@@ -226,43 +240,51 @@ const re = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
|
|
|
226
240
|
perturbationMap: {},
|
|
227
241
|
dtSize: {}
|
|
228
242
|
},
|
|
229
|
-
setup(r, { expose:
|
|
230
|
-
const
|
|
231
|
-
|
|
232
|
-
const { onBeforeRender: a } =
|
|
233
|
-
return a(({ invalidate: i }) => i()),
|
|
243
|
+
setup(r, { expose: e }) {
|
|
244
|
+
const t = r, { pass: o, effect: s } = p(() => new X(t), t, ["dtSize"]);
|
|
245
|
+
e({ pass: o, effect: s });
|
|
246
|
+
const { onBeforeRender: a } = G();
|
|
247
|
+
return a(({ invalidate: i }) => i()), x(() => {
|
|
234
248
|
const i = () => {
|
|
235
|
-
if (
|
|
236
|
-
return
|
|
237
|
-
const n = new
|
|
249
|
+
if (t.mode !== void 0)
|
|
250
|
+
return t.active === !1 ? Qe.DISABLED : t.mode;
|
|
251
|
+
const n = new X(), l = n.mode;
|
|
238
252
|
return n.dispose(), l;
|
|
239
253
|
};
|
|
240
254
|
s.value && (s.value.mode = i());
|
|
241
|
-
}),
|
|
242
|
-
|
|
255
|
+
}), H(
|
|
256
|
+
() => t.blendFunction,
|
|
243
257
|
s,
|
|
244
|
-
|
|
258
|
+
"blendMode.blendFunction",
|
|
259
|
+
() => new X()
|
|
260
|
+
), ae(
|
|
261
|
+
St(t, ["active", "blendFunction"]),
|
|
262
|
+
s,
|
|
263
|
+
() => new X()
|
|
245
264
|
), () => {
|
|
246
265
|
};
|
|
247
266
|
}
|
|
248
|
-
}),
|
|
267
|
+
}), jt = /* @__PURE__ */ u({
|
|
249
268
|
__name: "NoisePmndrs",
|
|
250
269
|
props: {
|
|
251
270
|
premultiply: { type: Boolean, default: void 0 },
|
|
252
271
|
blendFunction: {}
|
|
253
272
|
},
|
|
254
|
-
setup(r, { expose:
|
|
255
|
-
const
|
|
256
|
-
|
|
257
|
-
const { onBeforeRender: a } =
|
|
258
|
-
return a(({ invalidate: i }) => i()),
|
|
259
|
-
|
|
273
|
+
setup(r, { expose: e }) {
|
|
274
|
+
const t = r, { pass: o, effect: s } = p(() => new ce(t), t);
|
|
275
|
+
e({ pass: o, effect: s });
|
|
276
|
+
const { onBeforeRender: a } = G();
|
|
277
|
+
return a(({ invalidate: i }) => i()), m(
|
|
278
|
+
[
|
|
279
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
280
|
+
[() => t.premultiply, "premultiply"]
|
|
281
|
+
],
|
|
260
282
|
s,
|
|
261
|
-
() => new
|
|
283
|
+
() => new ce()
|
|
262
284
|
), () => {
|
|
263
285
|
};
|
|
264
286
|
}
|
|
265
|
-
}),
|
|
287
|
+
}), Vt = /* @__PURE__ */ u({
|
|
266
288
|
__name: "OutlinePmndrs",
|
|
267
289
|
props: {
|
|
268
290
|
outlinedObjects: {},
|
|
@@ -281,77 +303,83 @@ const re = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
|
|
|
281
303
|
hiddenEdgeColor: {},
|
|
282
304
|
visibleEdgeColor: {}
|
|
283
305
|
},
|
|
284
|
-
setup(r, { expose:
|
|
285
|
-
const
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
306
|
+
setup(r, { expose: e }) {
|
|
307
|
+
const t = r, o = (f) => f !== void 0 ? $(f).getHex() : void 0, { camera: s, scene: a } = y(), { pass: i, effect: n } = p(
|
|
308
|
+
() => new de(
|
|
309
|
+
a.value,
|
|
310
|
+
s.value,
|
|
311
|
+
{
|
|
312
|
+
blur: t.blur,
|
|
313
|
+
xRay: t.xRay,
|
|
314
|
+
kernelSize: t.kernelSize,
|
|
315
|
+
pulseSpeed: t.pulseSpeed,
|
|
316
|
+
resolutionX: t.resolutionX,
|
|
317
|
+
resolutionY: t.resolutionY,
|
|
318
|
+
patternScale: t.patternScale,
|
|
319
|
+
edgeStrength: t.edgeStrength,
|
|
320
|
+
blendFunction: t.blendFunction,
|
|
321
|
+
multisampling: t.multisampling,
|
|
322
|
+
patternTexture: t.patternTexture,
|
|
323
|
+
resolutionScale: t.resolutionScale,
|
|
324
|
+
hiddenEdgeColor: o(t.hiddenEdgeColor),
|
|
325
|
+
visibleEdgeColor: o(t.visibleEdgeColor)
|
|
326
|
+
// width and height are explicitly omitted, because they are deprecated in postprocessing's OutlineEffect
|
|
327
|
+
}
|
|
328
|
+
),
|
|
329
|
+
t
|
|
330
|
+
);
|
|
331
|
+
e({ pass: i, effect: n }), S(
|
|
332
|
+
[() => t.outlinedObjects, n],
|
|
303
333
|
// watchEffect is intentionally not used here as it would result in an endless loop
|
|
304
334
|
() => {
|
|
305
|
-
var
|
|
306
|
-
(
|
|
335
|
+
var f;
|
|
336
|
+
(f = n.value) == null || f.selection.set(t.outlinedObjects || []);
|
|
307
337
|
},
|
|
308
338
|
{
|
|
309
339
|
immediate: !0
|
|
310
340
|
}
|
|
311
341
|
);
|
|
312
|
-
const
|
|
313
|
-
hiddenEdgeColor:
|
|
314
|
-
visibleEdgeColor:
|
|
342
|
+
const l = L(() => ({
|
|
343
|
+
hiddenEdgeColor: t.hiddenEdgeColor ? $(t.hiddenEdgeColor) : void 0,
|
|
344
|
+
visibleEdgeColor: t.visibleEdgeColor ? $(t.visibleEdgeColor) : void 0
|
|
315
345
|
}));
|
|
316
|
-
return
|
|
346
|
+
return m(
|
|
317
347
|
[
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
[() =>
|
|
326
|
-
[() =>
|
|
327
|
-
[() =>
|
|
328
|
-
[() =>
|
|
329
|
-
[() =>
|
|
330
|
-
[() =>
|
|
331
|
-
[() =>
|
|
332
|
-
[() => x.value.hiddenEdgeColor, "hiddenEdgeColor"],
|
|
333
|
-
[() => x.value.visibleEdgeColor, "visibleEdgeColor"]
|
|
348
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
349
|
+
[() => t.blur, "blur"],
|
|
350
|
+
[() => t.xRay, "xRay"],
|
|
351
|
+
[() => t.pulseSpeed, "pulseSpeed"],
|
|
352
|
+
[() => t.kernelSize, "kernelSize"],
|
|
353
|
+
[() => t.edgeStrength, "edgeStrength"],
|
|
354
|
+
[() => t.patternScale, "patternScale"],
|
|
355
|
+
[() => t.multisampling, "multisampling"],
|
|
356
|
+
[() => t.resolutionX, "resolution.width"],
|
|
357
|
+
[() => t.resolutionY, "resolution.height"],
|
|
358
|
+
[() => t.patternTexture, "patternTexture"],
|
|
359
|
+
[() => t.resolutionScale, "resolution.scale"],
|
|
360
|
+
[() => l.value.hiddenEdgeColor, "hiddenEdgeColor"],
|
|
361
|
+
[() => l.value.visibleEdgeColor, "visibleEdgeColor"]
|
|
334
362
|
],
|
|
335
|
-
|
|
336
|
-
() => new
|
|
363
|
+
n,
|
|
364
|
+
() => new de()
|
|
337
365
|
), () => {
|
|
338
366
|
};
|
|
339
367
|
}
|
|
340
|
-
}),
|
|
368
|
+
}), Yt = /* @__PURE__ */ u({
|
|
341
369
|
__name: "PixelationPmndrs",
|
|
342
370
|
props: {
|
|
343
371
|
granularity: {}
|
|
344
372
|
},
|
|
345
|
-
setup(r, { expose:
|
|
346
|
-
const
|
|
347
|
-
return
|
|
348
|
-
|
|
373
|
+
setup(r, { expose: e }) {
|
|
374
|
+
const t = r, { pass: o, effect: s } = p(() => new fe(t.granularity), t);
|
|
375
|
+
return e({ pass: o, effect: s }), ae(
|
|
376
|
+
t,
|
|
349
377
|
s,
|
|
350
|
-
() => new
|
|
378
|
+
() => new fe()
|
|
351
379
|
), () => {
|
|
352
380
|
};
|
|
353
381
|
}
|
|
354
|
-
}),
|
|
382
|
+
}), kt = /* @__PURE__ */ u({
|
|
355
383
|
__name: "VignettePmndrs",
|
|
356
384
|
props: {
|
|
357
385
|
technique: {},
|
|
@@ -359,17 +387,22 @@ const re = Symbol("effectComposerPmndrs"), Ut = /* @__PURE__ */ u({
|
|
|
359
387
|
offset: {},
|
|
360
388
|
darkness: {}
|
|
361
389
|
},
|
|
362
|
-
setup(r, { expose:
|
|
363
|
-
const
|
|
364
|
-
return
|
|
365
|
-
|
|
390
|
+
setup(r, { expose: e }) {
|
|
391
|
+
const t = r, { pass: o, effect: s } = p(() => new he(t), t);
|
|
392
|
+
return e({ pass: o, effect: s }), m(
|
|
393
|
+
[
|
|
394
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
395
|
+
[() => t.offset, "offset"],
|
|
396
|
+
[() => t.darkness, "darkness"],
|
|
397
|
+
[() => t.technique, "technique"]
|
|
398
|
+
],
|
|
366
399
|
s,
|
|
367
|
-
() => new
|
|
400
|
+
() => new he()
|
|
368
401
|
), () => {
|
|
369
402
|
};
|
|
370
403
|
}
|
|
371
404
|
});
|
|
372
|
-
class
|
|
405
|
+
class Ee extends q {
|
|
373
406
|
/**
|
|
374
407
|
* Creates a new BarrelBlurEffect instance.
|
|
375
408
|
*
|
|
@@ -379,7 +412,7 @@ class De extends k {
|
|
|
379
412
|
* @param {Vector2} [options.offset] - Offset of the barrel distortion center (0 to 1 for both x and y). This allows you to change the position of the distortion effect.
|
|
380
413
|
*
|
|
381
414
|
*/
|
|
382
|
-
constructor({ blendFunction:
|
|
415
|
+
constructor({ blendFunction: e = Q.NORMAL, amount: t = 0.15, offset: o = new d(0.5, 0.5) } = {}) {
|
|
383
416
|
super("BarrelBlurEffect", `
|
|
384
417
|
uniform float amount;
|
|
385
418
|
uniform vec2 offset;
|
|
@@ -425,11 +458,11 @@ class De extends k {
|
|
|
425
458
|
outputColor = vec4(outcol, inputColor.a); // Preserves original alpha
|
|
426
459
|
}
|
|
427
460
|
`, {
|
|
428
|
-
blendFunction:
|
|
461
|
+
blendFunction: e,
|
|
429
462
|
uniforms: /* @__PURE__ */ new Map([
|
|
430
|
-
["amount", new
|
|
463
|
+
["amount", new M(t)],
|
|
431
464
|
// Uniform controlling the intensity of distortion
|
|
432
|
-
["offset", new
|
|
465
|
+
["offset", new M(o)]
|
|
433
466
|
// Uniform controlling the offset of distortion
|
|
434
467
|
])
|
|
435
468
|
});
|
|
@@ -440,11 +473,11 @@ class De extends k {
|
|
|
440
473
|
* @type {number}
|
|
441
474
|
*/
|
|
442
475
|
get amount() {
|
|
443
|
-
var
|
|
444
|
-
return (
|
|
476
|
+
var e;
|
|
477
|
+
return (e = this.uniforms.get("amount")) == null ? void 0 : e.value;
|
|
445
478
|
}
|
|
446
|
-
set amount(
|
|
447
|
-
this.uniforms.get("amount").value =
|
|
479
|
+
set amount(e) {
|
|
480
|
+
this.uniforms.get("amount").value = e;
|
|
448
481
|
}
|
|
449
482
|
/**
|
|
450
483
|
* The offset.
|
|
@@ -452,40 +485,40 @@ class De extends k {
|
|
|
452
485
|
* @type {Vector2}
|
|
453
486
|
*/
|
|
454
487
|
get offset() {
|
|
455
|
-
var
|
|
456
|
-
return (
|
|
488
|
+
var e;
|
|
489
|
+
return (e = this.uniforms.get("offset")) == null ? void 0 : e.value;
|
|
457
490
|
}
|
|
458
|
-
set offset(
|
|
459
|
-
this.uniforms.get("offset").value =
|
|
491
|
+
set offset(e) {
|
|
492
|
+
this.uniforms.get("offset").value = e;
|
|
460
493
|
}
|
|
461
494
|
}
|
|
462
|
-
const
|
|
495
|
+
const qt = /* @__PURE__ */ u({
|
|
463
496
|
__name: "BarrelBlurPmndrs",
|
|
464
497
|
props: {
|
|
465
498
|
blendFunction: {},
|
|
466
499
|
amount: {},
|
|
467
500
|
offset: {}
|
|
468
501
|
},
|
|
469
|
-
setup(r, { expose:
|
|
470
|
-
const
|
|
471
|
-
() => new
|
|
472
|
-
...
|
|
473
|
-
offset: Array.isArray(
|
|
502
|
+
setup(r, { expose: e }) {
|
|
503
|
+
const t = r, { pass: o, effect: s } = p(
|
|
504
|
+
() => new Ee({
|
|
505
|
+
...t,
|
|
506
|
+
offset: Array.isArray(t.offset) ? new d(...t.offset) : t.offset
|
|
474
507
|
}),
|
|
475
|
-
|
|
508
|
+
t
|
|
476
509
|
);
|
|
477
|
-
return
|
|
510
|
+
return e({ pass: o, effect: s }), m(
|
|
478
511
|
[
|
|
479
|
-
[() =>
|
|
480
|
-
[() =>
|
|
481
|
-
[() =>
|
|
512
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
513
|
+
[() => t.amount, "amount"],
|
|
514
|
+
[() => t.offset, "offset"]
|
|
482
515
|
],
|
|
483
516
|
s,
|
|
484
|
-
() => new
|
|
517
|
+
() => new Ee()
|
|
485
518
|
), () => {
|
|
486
519
|
};
|
|
487
520
|
}
|
|
488
|
-
}),
|
|
521
|
+
}), Qt = /* @__PURE__ */ u({
|
|
489
522
|
__name: "ToneMappingPmndrs",
|
|
490
523
|
props: {
|
|
491
524
|
mode: {},
|
|
@@ -496,24 +529,24 @@ const kt = /* @__PURE__ */ u({
|
|
|
496
529
|
minLuminance: {},
|
|
497
530
|
whitePoint: {}
|
|
498
531
|
},
|
|
499
|
-
setup(r, { expose:
|
|
500
|
-
const
|
|
501
|
-
return
|
|
532
|
+
setup(r, { expose: e }) {
|
|
533
|
+
const t = r, { pass: o, effect: s } = p(() => new pe(t), t);
|
|
534
|
+
return e({ pass: o, effect: s }), m(
|
|
502
535
|
[
|
|
503
|
-
[() =>
|
|
504
|
-
[() =>
|
|
505
|
-
[() =>
|
|
506
|
-
[() =>
|
|
507
|
-
[() =>
|
|
508
|
-
[() =>
|
|
509
|
-
[() =>
|
|
536
|
+
[() => t.mode, "mode"],
|
|
537
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
538
|
+
[() => t.resolution, "resolution"],
|
|
539
|
+
[() => t.averageLuminance, "averageLuminance"],
|
|
540
|
+
[() => t.middleGrey, "middleGrey"],
|
|
541
|
+
[() => t.minLuminance, "adaptiveLuminanceMaterial.minLuminance"],
|
|
542
|
+
[() => t.whitePoint, "whitePoint"]
|
|
510
543
|
],
|
|
511
544
|
s,
|
|
512
|
-
() => new
|
|
545
|
+
() => new pe()
|
|
513
546
|
), () => {
|
|
514
547
|
};
|
|
515
548
|
}
|
|
516
|
-
}),
|
|
549
|
+
}), Kt = /* @__PURE__ */ u({
|
|
517
550
|
__name: "ChromaticAberrationPmndrs",
|
|
518
551
|
props: {
|
|
519
552
|
blendFunction: {},
|
|
@@ -521,47 +554,47 @@ const kt = /* @__PURE__ */ u({
|
|
|
521
554
|
radialModulation: { type: Boolean, default: void 0 },
|
|
522
555
|
modulationOffset: {}
|
|
523
556
|
},
|
|
524
|
-
setup(r, { expose:
|
|
525
|
-
const
|
|
526
|
-
...
|
|
557
|
+
setup(r, { expose: e }) {
|
|
558
|
+
const t = r, o = new K(), { pass: s, effect: a } = p(() => new K({
|
|
559
|
+
...t,
|
|
527
560
|
// Unfortunately, these defaults must be set this way as the type in postprocessing is not correct.
|
|
528
561
|
// The arguments are optional in the actual constructor, but not in the type.
|
|
529
|
-
radialModulation:
|
|
530
|
-
modulationOffset:
|
|
531
|
-
}),
|
|
532
|
-
return o.dispose(),
|
|
562
|
+
radialModulation: t.radialModulation ?? o.radialModulation,
|
|
563
|
+
modulationOffset: t.modulationOffset ?? o.modulationOffset
|
|
564
|
+
}), t);
|
|
565
|
+
return o.dispose(), e({ pass: s, effect: a }), m(
|
|
533
566
|
[
|
|
534
|
-
[() =>
|
|
535
|
-
[() =>
|
|
536
|
-
[() =>
|
|
537
|
-
[() =>
|
|
567
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
568
|
+
[() => t.offset, "offset"],
|
|
569
|
+
[() => t.radialModulation, "radialModulation"],
|
|
570
|
+
[() => t.modulationOffset, "modulationOffset"]
|
|
538
571
|
],
|
|
539
572
|
a,
|
|
540
|
-
() => new
|
|
573
|
+
() => new K()
|
|
541
574
|
), () => {
|
|
542
575
|
};
|
|
543
576
|
}
|
|
544
|
-
}),
|
|
577
|
+
}), Jt = /* @__PURE__ */ u({
|
|
545
578
|
__name: "HueSaturationPmndrs",
|
|
546
579
|
props: {
|
|
547
580
|
saturation: {},
|
|
548
581
|
hue: {},
|
|
549
582
|
blendFunction: {}
|
|
550
583
|
},
|
|
551
|
-
setup(r, { expose:
|
|
552
|
-
const
|
|
553
|
-
return
|
|
584
|
+
setup(r, { expose: e }) {
|
|
585
|
+
const t = r, { pass: o, effect: s } = p(() => new me(t), t);
|
|
586
|
+
return e({ pass: o, effect: s }), m(
|
|
554
587
|
[
|
|
555
|
-
[() =>
|
|
556
|
-
[() =>
|
|
557
|
-
[() =>
|
|
588
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
589
|
+
[() => t.hue, "hue"],
|
|
590
|
+
[() => t.saturation, "saturation"]
|
|
558
591
|
],
|
|
559
592
|
s,
|
|
560
|
-
() => new
|
|
593
|
+
() => new me()
|
|
561
594
|
), () => {
|
|
562
595
|
};
|
|
563
596
|
}
|
|
564
|
-
}),
|
|
597
|
+
}), Zt = /* @__PURE__ */ u({
|
|
565
598
|
__name: "ScanlinePmndrs",
|
|
566
599
|
props: {
|
|
567
600
|
blendFunction: {},
|
|
@@ -569,24 +602,24 @@ const kt = /* @__PURE__ */ u({
|
|
|
569
602
|
scrollSpeed: {},
|
|
570
603
|
opacity: {}
|
|
571
604
|
},
|
|
572
|
-
setup(r, { expose:
|
|
573
|
-
const
|
|
574
|
-
return
|
|
605
|
+
setup(r, { expose: e }) {
|
|
606
|
+
const t = r, { pass: o, effect: s } = p(() => new J(t), t);
|
|
607
|
+
return e({ pass: o, effect: s }), m(
|
|
575
608
|
[
|
|
576
|
-
[() =>
|
|
577
|
-
[() =>
|
|
578
|
-
[() =>
|
|
609
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
610
|
+
[() => t.density, "density"],
|
|
611
|
+
[() => t.scrollSpeed, "scrollSpeed"]
|
|
579
612
|
],
|
|
580
613
|
s,
|
|
581
|
-
() => new
|
|
582
|
-
),
|
|
583
|
-
[() =>
|
|
614
|
+
() => new J()
|
|
615
|
+
), S(
|
|
616
|
+
[() => t.opacity],
|
|
584
617
|
() => {
|
|
585
618
|
var a, i;
|
|
586
|
-
if (
|
|
587
|
-
(a = s.value) == null || a.blendMode.setOpacity(
|
|
619
|
+
if (t.opacity !== void 0)
|
|
620
|
+
(a = s.value) == null || a.blendMode.setOpacity(t.opacity);
|
|
588
621
|
else {
|
|
589
|
-
const n = new
|
|
622
|
+
const n = new J();
|
|
590
623
|
(i = s.value) == null || i.blendMode.setOpacity(n.blendMode.getOpacity()), n.dispose();
|
|
591
624
|
}
|
|
592
625
|
},
|
|
@@ -596,7 +629,7 @@ const kt = /* @__PURE__ */ u({
|
|
|
596
629
|
), () => {
|
|
597
630
|
};
|
|
598
631
|
}
|
|
599
|
-
}),
|
|
632
|
+
}), wt = `
|
|
600
633
|
uniform float radius;
|
|
601
634
|
uniform int sectorCount;
|
|
602
635
|
|
|
@@ -693,7 +726,7 @@ void mainImage(const in vec4 inputColor, const in vec2 uv, out vec4 outputColor)
|
|
|
693
726
|
outputColor = vec4(finalColor, inputColor.a);
|
|
694
727
|
}
|
|
695
728
|
`;
|
|
696
|
-
class Pe extends
|
|
729
|
+
class Pe extends q {
|
|
697
730
|
/**
|
|
698
731
|
* Creates a new KuwaharaEffect instance.
|
|
699
732
|
*
|
|
@@ -703,12 +736,12 @@ class Pe extends k {
|
|
|
703
736
|
* @param {number} [options.sectorCount] - Number of sectors.
|
|
704
737
|
*
|
|
705
738
|
*/
|
|
706
|
-
constructor({ blendFunction:
|
|
707
|
-
super("KuwaharaEffect",
|
|
708
|
-
blendFunction:
|
|
739
|
+
constructor({ blendFunction: e = Q.NORMAL, radius: t = 1, sectorCount: o = 4 } = {}) {
|
|
740
|
+
super("KuwaharaEffect", wt, {
|
|
741
|
+
blendFunction: e,
|
|
709
742
|
uniforms: /* @__PURE__ */ new Map([
|
|
710
|
-
["radius", new
|
|
711
|
-
["sectorCount", new
|
|
743
|
+
["radius", new M(t)],
|
|
744
|
+
["sectorCount", new M(o)]
|
|
712
745
|
])
|
|
713
746
|
});
|
|
714
747
|
}
|
|
@@ -718,11 +751,11 @@ class Pe extends k {
|
|
|
718
751
|
* @type {number}
|
|
719
752
|
*/
|
|
720
753
|
get radius() {
|
|
721
|
-
var
|
|
722
|
-
return (
|
|
754
|
+
var e;
|
|
755
|
+
return (e = this.uniforms.get("radius")) == null ? void 0 : e.value;
|
|
723
756
|
}
|
|
724
|
-
set radius(
|
|
725
|
-
this.uniforms.get("radius").value =
|
|
757
|
+
set radius(e) {
|
|
758
|
+
this.uniforms.get("radius").value = e;
|
|
726
759
|
}
|
|
727
760
|
/**
|
|
728
761
|
* The sector count.
|
|
@@ -730,65 +763,65 @@ class Pe extends k {
|
|
|
730
763
|
* @type {number}
|
|
731
764
|
*/
|
|
732
765
|
get sectorCount() {
|
|
733
|
-
var
|
|
734
|
-
return (
|
|
766
|
+
var e;
|
|
767
|
+
return (e = this.uniforms.get("sectorCount")) == null ? void 0 : e.value;
|
|
735
768
|
}
|
|
736
|
-
set sectorCount(
|
|
737
|
-
this.uniforms.get("sectorCount").value =
|
|
769
|
+
set sectorCount(e) {
|
|
770
|
+
this.uniforms.get("sectorCount").value = e;
|
|
738
771
|
}
|
|
739
772
|
}
|
|
740
|
-
const
|
|
773
|
+
const _t = /* @__PURE__ */ u({
|
|
741
774
|
__name: "KuwaharaPmndrs",
|
|
742
775
|
props: {
|
|
743
776
|
blendFunction: {},
|
|
744
777
|
radius: {},
|
|
745
778
|
sectorCount: {}
|
|
746
779
|
},
|
|
747
|
-
setup(r, { expose:
|
|
748
|
-
const
|
|
749
|
-
() => new Pe(
|
|
750
|
-
|
|
780
|
+
setup(r, { expose: e }) {
|
|
781
|
+
const t = r, { pass: o, effect: s } = p(
|
|
782
|
+
() => new Pe(t),
|
|
783
|
+
t
|
|
751
784
|
);
|
|
752
|
-
return
|
|
785
|
+
return e({ pass: o, effect: s }), m(
|
|
753
786
|
[
|
|
754
|
-
[() =>
|
|
755
|
-
[() =>
|
|
756
|
-
[() =>
|
|
787
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
788
|
+
[() => t.radius, "radius"],
|
|
789
|
+
[() => t.sectorCount, "sectorCount"]
|
|
757
790
|
],
|
|
758
791
|
s,
|
|
759
792
|
() => new Pe()
|
|
760
793
|
), () => {
|
|
761
794
|
};
|
|
762
795
|
}
|
|
763
|
-
}),
|
|
796
|
+
}), $t = /* @__PURE__ */ u({
|
|
764
797
|
__name: "ColorAveragePmndrs",
|
|
765
798
|
props: {
|
|
766
799
|
blendFunction: {},
|
|
767
800
|
opacity: {}
|
|
768
801
|
},
|
|
769
|
-
setup(r, { expose:
|
|
770
|
-
const
|
|
771
|
-
return
|
|
772
|
-
() =>
|
|
802
|
+
setup(r, { expose: e }) {
|
|
803
|
+
const t = r, { pass: o, effect: s } = p(() => new Z(t.blendFunction), t);
|
|
804
|
+
return e({ pass: o, effect: s }), H(
|
|
805
|
+
() => t.blendFunction,
|
|
773
806
|
s,
|
|
774
807
|
"blendMode.blendFunction",
|
|
775
|
-
() => new
|
|
776
|
-
),
|
|
777
|
-
[s, () =>
|
|
808
|
+
() => new Z()
|
|
809
|
+
), S(
|
|
810
|
+
[s, () => t.opacity],
|
|
778
811
|
() => {
|
|
779
812
|
var a, i;
|
|
780
813
|
if (s.value)
|
|
781
|
-
if (
|
|
782
|
-
(a = s.value) == null || a.blendMode.setOpacity(
|
|
814
|
+
if (t.opacity !== void 0)
|
|
815
|
+
(a = s.value) == null || a.blendMode.setOpacity(t.opacity);
|
|
783
816
|
else {
|
|
784
|
-
const n = new
|
|
817
|
+
const n = new Z();
|
|
785
818
|
(i = s.value) == null || i.blendMode.setOpacity(n.blendMode.getOpacity()), n.dispose();
|
|
786
819
|
}
|
|
787
820
|
}
|
|
788
821
|
), () => {
|
|
789
822
|
};
|
|
790
823
|
}
|
|
791
|
-
}),
|
|
824
|
+
}), eo = /* @__PURE__ */ u({
|
|
792
825
|
__name: "LensDistortionPmndrs",
|
|
793
826
|
props: {
|
|
794
827
|
distortion: {},
|
|
@@ -796,24 +829,24 @@ const Zt = /* @__PURE__ */ u({
|
|
|
796
829
|
focalLength: {},
|
|
797
830
|
skew: {}
|
|
798
831
|
},
|
|
799
|
-
setup(r, { expose:
|
|
800
|
-
const
|
|
832
|
+
setup(r, { expose: e }) {
|
|
833
|
+
const t = r, { pass: o, effect: s } = p(
|
|
801
834
|
() => new ve({
|
|
802
|
-
...
|
|
803
|
-
distortion:
|
|
804
|
-
principalPoint:
|
|
805
|
-
focalLength:
|
|
835
|
+
...t,
|
|
836
|
+
distortion: t.distortion ? Array.isArray(t.distortion) ? new d(...t.distortion) : t.distortion : new d(),
|
|
837
|
+
principalPoint: t.principalPoint ? Array.isArray(t.principalPoint) ? new d(...t.principalPoint) : t.principalPoint : new d(),
|
|
838
|
+
focalLength: t.focalLength ? Array.isArray(t.focalLength) ? new d(...t.focalLength) : t.focalLength : new d()
|
|
806
839
|
}),
|
|
807
|
-
|
|
840
|
+
t
|
|
808
841
|
);
|
|
809
|
-
return
|
|
810
|
-
|
|
842
|
+
return e({ pass: o, effect: s }), ae(
|
|
843
|
+
t,
|
|
811
844
|
s,
|
|
812
845
|
() => new ve()
|
|
813
846
|
), () => {
|
|
814
847
|
};
|
|
815
848
|
}
|
|
816
|
-
}),
|
|
849
|
+
}), to = /* @__PURE__ */ u({
|
|
817
850
|
__name: "ShockWavePmndrs",
|
|
818
851
|
props: {
|
|
819
852
|
position: {},
|
|
@@ -822,30 +855,30 @@ const Zt = /* @__PURE__ */ u({
|
|
|
822
855
|
maxRadius: {},
|
|
823
856
|
waveSize: {}
|
|
824
857
|
},
|
|
825
|
-
setup(r, { expose:
|
|
826
|
-
const
|
|
827
|
-
() => new
|
|
828
|
-
|
|
858
|
+
setup(r, { expose: e }) {
|
|
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
|
+
t
|
|
829
862
|
);
|
|
830
|
-
return
|
|
831
|
-
() =>
|
|
863
|
+
return e({ pass: s, effect: a }), S(
|
|
864
|
+
() => t.position,
|
|
832
865
|
(i) => {
|
|
833
|
-
a.value && (Array.isArray(i) ? a.value.position.set(...i) : i instanceof
|
|
866
|
+
a.value && (Array.isArray(i) ? a.value.position.set(...i) : i instanceof O && a.value.position.copy(i));
|
|
834
867
|
},
|
|
835
868
|
{ immediate: !0 }
|
|
836
|
-
),
|
|
869
|
+
), m(
|
|
837
870
|
[
|
|
838
|
-
[() =>
|
|
839
|
-
[() =>
|
|
840
|
-
[() =>
|
|
841
|
-
[() =>
|
|
871
|
+
[() => t.amplitude, "amplitude"],
|
|
872
|
+
[() => t.waveSize, "waveSize"],
|
|
873
|
+
[() => t.maxRadius, "maxRadius"],
|
|
874
|
+
[() => t.speed, "speed"]
|
|
842
875
|
],
|
|
843
876
|
a,
|
|
844
|
-
() => new
|
|
877
|
+
() => new ge()
|
|
845
878
|
), () => {
|
|
846
879
|
};
|
|
847
880
|
}
|
|
848
|
-
}),
|
|
881
|
+
}), oo = /* @__PURE__ */ u({
|
|
849
882
|
__name: "TiltShiftPmndrs",
|
|
850
883
|
props: {
|
|
851
884
|
blendFunction: {},
|
|
@@ -858,73 +891,73 @@ const Zt = /* @__PURE__ */ u({
|
|
|
858
891
|
resolutionX: {},
|
|
859
892
|
resolutionY: {}
|
|
860
893
|
},
|
|
861
|
-
setup(r, { expose:
|
|
862
|
-
const
|
|
863
|
-
return
|
|
894
|
+
setup(r, { expose: e }) {
|
|
895
|
+
const t = r, { pass: o, effect: s } = p(() => new xe(t), t);
|
|
896
|
+
return e({ pass: o, effect: s }), m(
|
|
864
897
|
[
|
|
865
|
-
[() =>
|
|
866
|
-
[() =>
|
|
867
|
-
[() =>
|
|
868
|
-
[() =>
|
|
869
|
-
[() =>
|
|
870
|
-
[() =>
|
|
871
|
-
[() =>
|
|
872
|
-
[() =>
|
|
873
|
-
[() =>
|
|
898
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
899
|
+
[() => t.offset, "offset"],
|
|
900
|
+
[() => t.rotation, "rotation"],
|
|
901
|
+
[() => t.focusArea, "focusArea"],
|
|
902
|
+
[() => t.feather, "feather"],
|
|
903
|
+
[() => t.kernelSize, "kernelSize"],
|
|
904
|
+
[() => t.resolutionScale, "resolution.scale"],
|
|
905
|
+
[() => t.resolutionX, "resolution.width"],
|
|
906
|
+
[() => t.resolutionY, "resolution.height"]
|
|
874
907
|
],
|
|
875
908
|
s,
|
|
876
|
-
() => new
|
|
909
|
+
() => new xe()
|
|
877
910
|
), () => {
|
|
878
911
|
};
|
|
879
912
|
}
|
|
880
|
-
}),
|
|
913
|
+
}), so = /* @__PURE__ */ u({
|
|
881
914
|
__name: "DotScreenPmndrs",
|
|
882
915
|
props: {
|
|
883
916
|
angle: {},
|
|
884
917
|
scale: {},
|
|
885
918
|
blendFunction: {}
|
|
886
919
|
},
|
|
887
|
-
setup(r, { expose:
|
|
888
|
-
const
|
|
889
|
-
return
|
|
920
|
+
setup(r, { expose: e }) {
|
|
921
|
+
const t = r, { pass: o, effect: s } = p(() => new be(t), t);
|
|
922
|
+
return e({ pass: o, effect: s }), m(
|
|
890
923
|
[
|
|
891
|
-
[() =>
|
|
892
|
-
[() =>
|
|
893
|
-
[() =>
|
|
924
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
925
|
+
[() => t.angle, "angle"],
|
|
926
|
+
[() => t.scale, "scale"]
|
|
894
927
|
],
|
|
895
928
|
s,
|
|
896
|
-
() => new
|
|
929
|
+
() => new be()
|
|
897
930
|
), () => {
|
|
898
931
|
};
|
|
899
932
|
}
|
|
900
|
-
}),
|
|
933
|
+
}), ao = /* @__PURE__ */ u({
|
|
901
934
|
__name: "SepiaPmndrs",
|
|
902
935
|
props: {
|
|
903
936
|
blendFunction: {},
|
|
904
937
|
intensity: {}
|
|
905
938
|
},
|
|
906
|
-
setup(r, { expose:
|
|
907
|
-
const
|
|
908
|
-
return
|
|
939
|
+
setup(r, { expose: e }) {
|
|
940
|
+
const t = r, { pass: o, effect: s } = p(() => new Se(t), t);
|
|
941
|
+
return e({ pass: o, effect: s }), m(
|
|
909
942
|
[
|
|
910
|
-
[() =>
|
|
911
|
-
[() =>
|
|
943
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
944
|
+
[() => t.intensity, "intensity"]
|
|
912
945
|
],
|
|
913
946
|
s,
|
|
914
|
-
() => new
|
|
947
|
+
() => new Se()
|
|
915
948
|
), () => {
|
|
916
949
|
};
|
|
917
950
|
}
|
|
918
951
|
});
|
|
919
|
-
class
|
|
952
|
+
class De extends q {
|
|
920
953
|
/**
|
|
921
954
|
* Creates a new LinocutEffect instance.
|
|
922
955
|
*
|
|
923
956
|
* @param {LinocutPmndrsProps} [options] - Configuration options for the effect.
|
|
924
957
|
*
|
|
925
958
|
*/
|
|
926
|
-
constructor({ blendFunction:
|
|
927
|
-
const i = Array.isArray(s) ? new
|
|
959
|
+
constructor({ blendFunction: e = Q.NORMAL, scale: t = 0.85, noiseScale: o = 0, center: s = [0.5, 0.5], rotation: a = 0 } = {}) {
|
|
960
|
+
const i = Array.isArray(s) ? new d().fromArray(s) : s;
|
|
928
961
|
super("LinocutEffect", `
|
|
929
962
|
uniform float scale;
|
|
930
963
|
uniform float noiseScale;
|
|
@@ -986,45 +1019,45 @@ class Le extends k {
|
|
|
986
1019
|
outputColor = vec4(vec3(f), 1.0);
|
|
987
1020
|
}
|
|
988
1021
|
`, {
|
|
989
|
-
blendFunction:
|
|
1022
|
+
blendFunction: e,
|
|
990
1023
|
uniforms: /* @__PURE__ */ new Map([
|
|
991
|
-
["scale", new
|
|
992
|
-
["noiseScale", new
|
|
993
|
-
["center", new
|
|
994
|
-
["rotation", new
|
|
1024
|
+
["scale", new M(t)],
|
|
1025
|
+
["noiseScale", new M(o)],
|
|
1026
|
+
["center", new M(i)],
|
|
1027
|
+
["rotation", new M(a)]
|
|
995
1028
|
])
|
|
996
1029
|
});
|
|
997
1030
|
}
|
|
998
1031
|
get scale() {
|
|
999
|
-
var
|
|
1000
|
-
return (
|
|
1032
|
+
var e;
|
|
1033
|
+
return (e = this.uniforms.get("scale")) == null ? void 0 : e.value;
|
|
1001
1034
|
}
|
|
1002
|
-
set scale(
|
|
1003
|
-
this.uniforms.get("scale").value =
|
|
1035
|
+
set scale(e) {
|
|
1036
|
+
this.uniforms.get("scale").value = e;
|
|
1004
1037
|
}
|
|
1005
1038
|
get noiseScale() {
|
|
1006
|
-
var
|
|
1007
|
-
return (
|
|
1039
|
+
var e;
|
|
1040
|
+
return (e = this.uniforms.get("noiseScale")) == null ? void 0 : e.value;
|
|
1008
1041
|
}
|
|
1009
|
-
set noiseScale(
|
|
1010
|
-
this.uniforms.get("noiseScale").value =
|
|
1042
|
+
set noiseScale(e) {
|
|
1043
|
+
this.uniforms.get("noiseScale").value = e;
|
|
1011
1044
|
}
|
|
1012
1045
|
get center() {
|
|
1013
|
-
var
|
|
1014
|
-
return (
|
|
1046
|
+
var e;
|
|
1047
|
+
return (e = this.uniforms.get("center")) == null ? void 0 : e.value;
|
|
1015
1048
|
}
|
|
1016
|
-
set center(
|
|
1017
|
-
this.uniforms.get("center").value = Array.isArray(
|
|
1049
|
+
set center(e) {
|
|
1050
|
+
this.uniforms.get("center").value = Array.isArray(e) ? new d().fromArray(e) : e;
|
|
1018
1051
|
}
|
|
1019
1052
|
get rotation() {
|
|
1020
|
-
var
|
|
1021
|
-
return (
|
|
1053
|
+
var e;
|
|
1054
|
+
return (e = this.uniforms.get("rotation")) == null ? void 0 : e.value;
|
|
1022
1055
|
}
|
|
1023
|
-
set rotation(
|
|
1024
|
-
this.uniforms.get("rotation").value =
|
|
1056
|
+
set rotation(e) {
|
|
1057
|
+
this.uniforms.get("rotation").value = e;
|
|
1025
1058
|
}
|
|
1026
1059
|
}
|
|
1027
|
-
const
|
|
1060
|
+
const ro = /* @__PURE__ */ u({
|
|
1028
1061
|
__name: "LinocutPmndrs",
|
|
1029
1062
|
props: {
|
|
1030
1063
|
blendFunction: {},
|
|
@@ -1033,44 +1066,44 @@ const ao = /* @__PURE__ */ u({
|
|
|
1033
1066
|
center: {},
|
|
1034
1067
|
rotation: {}
|
|
1035
1068
|
},
|
|
1036
|
-
setup(r, { expose:
|
|
1037
|
-
const
|
|
1038
|
-
() => new
|
|
1039
|
-
...
|
|
1040
|
-
center:
|
|
1069
|
+
setup(r, { expose: e }) {
|
|
1070
|
+
const t = r, { pass: o, effect: s } = p(
|
|
1071
|
+
() => new De({
|
|
1072
|
+
...t,
|
|
1073
|
+
center: t.center instanceof d ? [t.center.x, t.center.y] : t.center
|
|
1041
1074
|
}),
|
|
1042
|
-
|
|
1075
|
+
t
|
|
1043
1076
|
);
|
|
1044
|
-
return
|
|
1077
|
+
return e({ pass: o, effect: s }), m(
|
|
1045
1078
|
[
|
|
1046
|
-
[() =>
|
|
1047
|
-
[() =>
|
|
1048
|
-
[() =>
|
|
1049
|
-
[() =>
|
|
1050
|
-
[() =>
|
|
1079
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
1080
|
+
[() => t.scale, "scale"],
|
|
1081
|
+
[() => t.noiseScale, "noiseScale"],
|
|
1082
|
+
[() => t.center, "center"],
|
|
1083
|
+
[() => t.rotation, "rotation"]
|
|
1051
1084
|
],
|
|
1052
1085
|
s,
|
|
1053
|
-
() => new
|
|
1086
|
+
() => new De()
|
|
1054
1087
|
), () => {
|
|
1055
1088
|
};
|
|
1056
1089
|
}
|
|
1057
|
-
}),
|
|
1090
|
+
}), io = /* @__PURE__ */ u({
|
|
1058
1091
|
__name: "DepthPickingPassPmndrs",
|
|
1059
1092
|
props: {
|
|
1060
1093
|
depthPacking: {},
|
|
1061
1094
|
mode: {}
|
|
1062
1095
|
},
|
|
1063
|
-
setup(r, { expose:
|
|
1064
|
-
const
|
|
1065
|
-
o != null && o.value && (
|
|
1096
|
+
setup(r, { expose: e }) {
|
|
1097
|
+
const t = r, o = te(se), s = new Ke(t), a = x(() => {
|
|
1098
|
+
o != null && o.value && (oe(() => a()), o.value.addPass(s));
|
|
1066
1099
|
});
|
|
1067
|
-
return
|
|
1100
|
+
return U(() => {
|
|
1068
1101
|
var i;
|
|
1069
1102
|
!(o != null && o.value) || !s || ((i = o == null ? void 0 : o.value) == null || i.removePass(s), s.dispose());
|
|
1070
|
-
}),
|
|
1103
|
+
}), e({ pass: s }), () => {
|
|
1071
1104
|
};
|
|
1072
1105
|
}
|
|
1073
|
-
}),
|
|
1106
|
+
}), no = /* @__PURE__ */ u({
|
|
1074
1107
|
__name: "GodRaysPmndrs",
|
|
1075
1108
|
props: {
|
|
1076
1109
|
blendFunction: {},
|
|
@@ -1088,37 +1121,51 @@ const ao = /* @__PURE__ */ u({
|
|
|
1088
1121
|
samples: {},
|
|
1089
1122
|
clampMax: {}
|
|
1090
1123
|
},
|
|
1091
|
-
setup(r, { expose:
|
|
1092
|
-
const
|
|
1093
|
-
() => new
|
|
1094
|
-
|
|
1124
|
+
setup(r, { expose: e }) {
|
|
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),
|
|
1132
|
+
t
|
|
1095
1133
|
);
|
|
1096
|
-
return
|
|
1134
|
+
return e({ pass: a, effect: i }), m(
|
|
1097
1135
|
[
|
|
1098
|
-
[() =>
|
|
1099
|
-
[() =>
|
|
1100
|
-
[() =>
|
|
1101
|
-
[() =>
|
|
1102
|
-
[() =>
|
|
1103
|
-
[() =>
|
|
1104
|
-
[() =>
|
|
1105
|
-
[() =>
|
|
1106
|
-
[() =>
|
|
1107
|
-
[() =>
|
|
1108
|
-
[() =>
|
|
1109
|
-
[() =>
|
|
1136
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
1137
|
+
[() => t.density, "godRaysMaterial.density"],
|
|
1138
|
+
[() => t.decay, "godRaysMaterial.decay"],
|
|
1139
|
+
[() => t.weight, "godRaysMaterial.weight"],
|
|
1140
|
+
[() => t.exposure, "godRaysMaterial.exposure"],
|
|
1141
|
+
[() => t.samples, "godRaysMaterial.samples"],
|
|
1142
|
+
[() => t.clampMax, "godRaysMaterial.maxIntensity"],
|
|
1143
|
+
[() => t.resolutionScale, "resolution.scale"],
|
|
1144
|
+
[() => t.resolutionX, "resolution.width"],
|
|
1145
|
+
[() => t.resolutionY, "resolution.height"],
|
|
1146
|
+
[() => t.kernelSize, "blurPass.kernelSize"],
|
|
1147
|
+
[() => t.blur, "blurPass.enabled"]
|
|
1110
1148
|
],
|
|
1111
|
-
|
|
1112
|
-
() => new
|
|
1113
|
-
),
|
|
1114
|
-
[() =>
|
|
1149
|
+
i,
|
|
1150
|
+
() => new _()
|
|
1151
|
+
), S(
|
|
1152
|
+
[() => t.lightSource, i],
|
|
1153
|
+
() => {
|
|
1154
|
+
i.value && (i.value.lightSource = ie(s.value));
|
|
1155
|
+
},
|
|
1156
|
+
{ immediate: !0 }
|
|
1157
|
+
), S(
|
|
1158
|
+
[() => t.opacity],
|
|
1115
1159
|
() => {
|
|
1116
|
-
var
|
|
1117
|
-
if (
|
|
1118
|
-
(
|
|
1160
|
+
var n, l;
|
|
1161
|
+
if (t.opacity !== void 0)
|
|
1162
|
+
(n = i.value) == null || n.blendMode.setOpacity(t.opacity);
|
|
1119
1163
|
else {
|
|
1120
|
-
const
|
|
1121
|
-
|
|
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();
|
|
1122
1169
|
}
|
|
1123
1170
|
},
|
|
1124
1171
|
{
|
|
@@ -1127,69 +1174,69 @@ const ao = /* @__PURE__ */ u({
|
|
|
1127
1174
|
), () => {
|
|
1128
1175
|
};
|
|
1129
1176
|
}
|
|
1130
|
-
}),
|
|
1177
|
+
}), lo = /* @__PURE__ */ u({
|
|
1131
1178
|
__name: "ColorDepthPmndrs",
|
|
1132
1179
|
props: {
|
|
1133
1180
|
blendFunction: {},
|
|
1134
1181
|
bits: {},
|
|
1135
1182
|
opacity: {}
|
|
1136
1183
|
},
|
|
1137
|
-
setup(r, { expose:
|
|
1138
|
-
const
|
|
1139
|
-
return
|
|
1140
|
-
() =>
|
|
1184
|
+
setup(r, { expose: e }) {
|
|
1185
|
+
const t = r, { pass: o, effect: s } = p(() => new I(t), t);
|
|
1186
|
+
return e({ pass: o, effect: s }), H(
|
|
1187
|
+
() => t.blendFunction,
|
|
1141
1188
|
s,
|
|
1142
1189
|
"blendMode.blendFunction",
|
|
1143
|
-
() => new
|
|
1144
|
-
),
|
|
1145
|
-
[s, () =>
|
|
1190
|
+
() => new I()
|
|
1191
|
+
), S(
|
|
1192
|
+
[s, () => t.bits],
|
|
1146
1193
|
() => {
|
|
1147
1194
|
var a, i;
|
|
1148
1195
|
if (s.value)
|
|
1149
|
-
if (
|
|
1150
|
-
(a = s.value) == null || a.setBitDepth(
|
|
1196
|
+
if (t.bits !== void 0)
|
|
1197
|
+
(a = s.value) == null || a.setBitDepth(t.bits);
|
|
1151
1198
|
else {
|
|
1152
|
-
const n = new
|
|
1199
|
+
const n = new I();
|
|
1153
1200
|
(i = s.value) == null || i.setBitDepth(n.getBitDepth()), n.dispose();
|
|
1154
1201
|
}
|
|
1155
1202
|
}
|
|
1156
|
-
),
|
|
1157
|
-
[s, () =>
|
|
1203
|
+
), S(
|
|
1204
|
+
[s, () => t.opacity],
|
|
1158
1205
|
() => {
|
|
1159
1206
|
var a, i;
|
|
1160
1207
|
if (s.value)
|
|
1161
|
-
if (
|
|
1162
|
-
(a = s.value) == null || a.blendMode.setOpacity(
|
|
1208
|
+
if (t.opacity !== void 0)
|
|
1209
|
+
(a = s.value) == null || a.blendMode.setOpacity(t.opacity);
|
|
1163
1210
|
else {
|
|
1164
|
-
const n = new
|
|
1211
|
+
const n = new I();
|
|
1165
1212
|
(i = s.value) == null || i.blendMode.setOpacity(n.blendMode.getOpacity()), n.dispose();
|
|
1166
1213
|
}
|
|
1167
1214
|
}
|
|
1168
1215
|
), () => {
|
|
1169
1216
|
};
|
|
1170
1217
|
}
|
|
1171
|
-
}),
|
|
1218
|
+
}), uo = /* @__PURE__ */ u({
|
|
1172
1219
|
__name: "GridPmndrs",
|
|
1173
1220
|
props: {
|
|
1174
1221
|
blendFunction: {},
|
|
1175
1222
|
scale: {},
|
|
1176
1223
|
lineWidth: {}
|
|
1177
1224
|
},
|
|
1178
|
-
setup(r, { expose:
|
|
1179
|
-
const
|
|
1180
|
-
return
|
|
1225
|
+
setup(r, { expose: e }) {
|
|
1226
|
+
const t = r, { pass: o, effect: s } = p(() => new we(t), t);
|
|
1227
|
+
return e({ pass: o, effect: s }), m(
|
|
1181
1228
|
[
|
|
1182
|
-
[() =>
|
|
1183
|
-
[() =>
|
|
1184
|
-
[() =>
|
|
1229
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
1230
|
+
[() => t.scale, "scale"],
|
|
1231
|
+
[() => t.lineWidth, "lineWidth"]
|
|
1185
1232
|
],
|
|
1186
1233
|
s,
|
|
1187
|
-
() => new
|
|
1234
|
+
() => new we()
|
|
1188
1235
|
), () => {
|
|
1189
1236
|
};
|
|
1190
1237
|
}
|
|
1191
1238
|
});
|
|
1192
|
-
class
|
|
1239
|
+
class Le extends q {
|
|
1193
1240
|
/**
|
|
1194
1241
|
* Creates a new FishEyeEffect instance.
|
|
1195
1242
|
*
|
|
@@ -1200,7 +1247,7 @@ class Oe extends k {
|
|
|
1200
1247
|
* @param {number} [options.scale] - Scale.
|
|
1201
1248
|
*
|
|
1202
1249
|
*/
|
|
1203
|
-
constructor({ blendFunction:
|
|
1250
|
+
constructor({ blendFunction: e = Q.NORMAL, lensS: t = new d(1, 1), lensF: o = new d(0, 1), scale: s = 1 } = {}) {
|
|
1204
1251
|
super("FishEyeEffect", `
|
|
1205
1252
|
uniform vec2 lensS;
|
|
1206
1253
|
uniform vec2 lensF;
|
|
@@ -1220,11 +1267,11 @@ class Oe extends k {
|
|
|
1220
1267
|
outputColor = vec4(inputColor.rgb, inputColor.a); // Preserves original alpha
|
|
1221
1268
|
}
|
|
1222
1269
|
`, {
|
|
1223
|
-
blendFunction:
|
|
1270
|
+
blendFunction: e,
|
|
1224
1271
|
uniforms: /* @__PURE__ */ new Map([
|
|
1225
|
-
["lensS", new
|
|
1226
|
-
["lensF", new
|
|
1227
|
-
["scale", new
|
|
1272
|
+
["lensS", new M(t)],
|
|
1273
|
+
["lensF", new M(o)],
|
|
1274
|
+
["scale", new M(s)]
|
|
1228
1275
|
])
|
|
1229
1276
|
});
|
|
1230
1277
|
}
|
|
@@ -1234,11 +1281,11 @@ class Oe extends k {
|
|
|
1234
1281
|
* @type {Vector2}
|
|
1235
1282
|
*/
|
|
1236
1283
|
get lensS() {
|
|
1237
|
-
var
|
|
1238
|
-
return (
|
|
1284
|
+
var e;
|
|
1285
|
+
return (e = this.uniforms.get("lensS")) == null ? void 0 : e.value;
|
|
1239
1286
|
}
|
|
1240
|
-
set lensS(
|
|
1241
|
-
this.uniforms.get("lensS").value =
|
|
1287
|
+
set lensS(e) {
|
|
1288
|
+
this.uniforms.get("lensS").value = e;
|
|
1242
1289
|
}
|
|
1243
1290
|
/**
|
|
1244
1291
|
* The lensF.
|
|
@@ -1246,11 +1293,11 @@ class Oe extends k {
|
|
|
1246
1293
|
* @type {Vector2}
|
|
1247
1294
|
*/
|
|
1248
1295
|
get lensF() {
|
|
1249
|
-
var
|
|
1250
|
-
return (
|
|
1296
|
+
var e;
|
|
1297
|
+
return (e = this.uniforms.get("lensF")) == null ? void 0 : e.value;
|
|
1251
1298
|
}
|
|
1252
|
-
set lensF(
|
|
1253
|
-
this.uniforms.get("lensF").value =
|
|
1299
|
+
set lensF(e) {
|
|
1300
|
+
this.uniforms.get("lensF").value = e;
|
|
1254
1301
|
}
|
|
1255
1302
|
/**
|
|
1256
1303
|
* The scale.
|
|
@@ -1258,14 +1305,14 @@ class Oe extends k {
|
|
|
1258
1305
|
* @type {number}
|
|
1259
1306
|
*/
|
|
1260
1307
|
get scale() {
|
|
1261
|
-
var
|
|
1262
|
-
return (
|
|
1308
|
+
var e;
|
|
1309
|
+
return (e = this.uniforms.get("scale")) == null ? void 0 : e.value;
|
|
1263
1310
|
}
|
|
1264
|
-
set scale(
|
|
1265
|
-
this.uniforms.get("scale").value =
|
|
1311
|
+
set scale(e) {
|
|
1312
|
+
this.uniforms.get("scale").value = e;
|
|
1266
1313
|
}
|
|
1267
1314
|
}
|
|
1268
|
-
const
|
|
1315
|
+
const co = /* @__PURE__ */ u({
|
|
1269
1316
|
__name: "FishEyePmndrs",
|
|
1270
1317
|
props: {
|
|
1271
1318
|
blendFunction: {},
|
|
@@ -1273,52 +1320,52 @@ const uo = /* @__PURE__ */ u({
|
|
|
1273
1320
|
lensF: {},
|
|
1274
1321
|
scale: {}
|
|
1275
1322
|
},
|
|
1276
|
-
setup(r, { expose:
|
|
1277
|
-
const
|
|
1278
|
-
() => Array.isArray(
|
|
1323
|
+
setup(r, { expose: e }) {
|
|
1324
|
+
const t = r, o = L(
|
|
1325
|
+
() => Array.isArray(t.lensS) ? new d(...t.lensS) : t.lensS
|
|
1279
1326
|
), s = L(
|
|
1280
|
-
() => Array.isArray(
|
|
1281
|
-
), { pass: a, effect: i } =
|
|
1282
|
-
() => new
|
|
1283
|
-
...
|
|
1327
|
+
() => Array.isArray(t.lensF) ? new d(...t.lensF) : t.lensF
|
|
1328
|
+
), { pass: a, effect: i } = p(
|
|
1329
|
+
() => new Le({
|
|
1330
|
+
...t,
|
|
1284
1331
|
lensS: o.value,
|
|
1285
1332
|
lensF: s.value
|
|
1286
1333
|
}),
|
|
1287
|
-
|
|
1334
|
+
t
|
|
1288
1335
|
);
|
|
1289
|
-
return
|
|
1336
|
+
return e({ pass: a, effect: i }), m(
|
|
1290
1337
|
[
|
|
1291
|
-
[() =>
|
|
1338
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
1292
1339
|
[() => o.value, "lensS"],
|
|
1293
1340
|
[() => s.value, "lensF"],
|
|
1294
|
-
[() =>
|
|
1341
|
+
[() => t.scale, "scale"]
|
|
1295
1342
|
],
|
|
1296
1343
|
i,
|
|
1297
|
-
() => new
|
|
1344
|
+
() => new Le()
|
|
1298
1345
|
), () => {
|
|
1299
1346
|
};
|
|
1300
1347
|
}
|
|
1301
|
-
}),
|
|
1348
|
+
}), fo = /* @__PURE__ */ u({
|
|
1302
1349
|
__name: "BrightnessContrastPmndrs",
|
|
1303
1350
|
props: {
|
|
1304
1351
|
blendFunction: {},
|
|
1305
1352
|
brightness: {},
|
|
1306
1353
|
contrast: {}
|
|
1307
1354
|
},
|
|
1308
|
-
setup(r, { expose:
|
|
1309
|
-
const
|
|
1310
|
-
return
|
|
1355
|
+
setup(r, { expose: e }) {
|
|
1356
|
+
const t = r, { pass: o, effect: s } = p(() => new Ae(t), t);
|
|
1357
|
+
return e({ pass: o, effect: s }), m(
|
|
1311
1358
|
[
|
|
1312
|
-
[() =>
|
|
1313
|
-
[() =>
|
|
1314
|
-
[() =>
|
|
1359
|
+
[() => t.blendFunction, "blendMode.blendFunction"],
|
|
1360
|
+
[() => t.brightness, "brightness"],
|
|
1361
|
+
[() => t.contrast, "contrast"]
|
|
1315
1362
|
],
|
|
1316
1363
|
s,
|
|
1317
|
-
() => new
|
|
1364
|
+
() => new Ae()
|
|
1318
1365
|
), () => {
|
|
1319
1366
|
};
|
|
1320
1367
|
}
|
|
1321
|
-
}),
|
|
1368
|
+
}), He = {
|
|
1322
1369
|
name: "CopyShader",
|
|
1323
1370
|
uniforms: {
|
|
1324
1371
|
tDiffuse: { value: null },
|
|
@@ -1356,7 +1403,7 @@ const uo = /* @__PURE__ */ u({
|
|
|
1356
1403
|
}`
|
|
1357
1404
|
)
|
|
1358
1405
|
};
|
|
1359
|
-
class
|
|
1406
|
+
class C {
|
|
1360
1407
|
constructor() {
|
|
1361
1408
|
this.isPass = !0, this.enabled = !0, this.needsSwap = !0, this.clear = !1, this.renderToScreen = !1;
|
|
1362
1409
|
}
|
|
@@ -1368,189 +1415,201 @@ class T {
|
|
|
1368
1415
|
dispose() {
|
|
1369
1416
|
}
|
|
1370
1417
|
}
|
|
1371
|
-
const
|
|
1372
|
-
class
|
|
1418
|
+
const At = new Ze(-1, 1, 1, -1, 0, 1);
|
|
1419
|
+
class yt extends _e {
|
|
1373
1420
|
constructor() {
|
|
1374
|
-
super(), this.setAttribute("position", new
|
|
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));
|
|
1375
1422
|
}
|
|
1376
1423
|
}
|
|
1377
|
-
const
|
|
1378
|
-
class
|
|
1379
|
-
constructor(
|
|
1380
|
-
this._mesh = new
|
|
1424
|
+
const Mt = new yt();
|
|
1425
|
+
class R {
|
|
1426
|
+
constructor(e) {
|
|
1427
|
+
this._mesh = new ze(Mt, e);
|
|
1381
1428
|
}
|
|
1382
1429
|
dispose() {
|
|
1383
1430
|
this._mesh.geometry.dispose();
|
|
1384
1431
|
}
|
|
1385
|
-
render(
|
|
1386
|
-
|
|
1432
|
+
render(e) {
|
|
1433
|
+
e.render(this._mesh, At);
|
|
1387
1434
|
}
|
|
1388
1435
|
get material() {
|
|
1389
1436
|
return this._mesh.material;
|
|
1390
1437
|
}
|
|
1391
|
-
set material(
|
|
1392
|
-
this._mesh.material =
|
|
1438
|
+
set material(e) {
|
|
1439
|
+
this._mesh.material = e;
|
|
1393
1440
|
}
|
|
1394
1441
|
}
|
|
1395
|
-
class
|
|
1396
|
-
constructor(
|
|
1397
|
-
super(), this.textureID =
|
|
1398
|
-
name:
|
|
1399
|
-
defines: Object.assign({},
|
|
1442
|
+
class Tt extends C {
|
|
1443
|
+
constructor(e, t) {
|
|
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({
|
|
1445
|
+
name: e.name !== void 0 ? e.name : "unspecified",
|
|
1446
|
+
defines: Object.assign({}, e.defines),
|
|
1400
1447
|
uniforms: this.uniforms,
|
|
1401
|
-
vertexShader:
|
|
1402
|
-
fragmentShader:
|
|
1403
|
-
})), this.fsQuad = new
|
|
1448
|
+
vertexShader: e.vertexShader,
|
|
1449
|
+
fragmentShader: e.fragmentShader
|
|
1450
|
+
})), this.fsQuad = new R(this.material);
|
|
1404
1451
|
}
|
|
1405
|
-
render(
|
|
1406
|
-
this.uniforms[this.textureID] && (this.uniforms[this.textureID].value = o.texture), this.fsQuad.material = this.material, this.renderToScreen ? (
|
|
1452
|
+
render(e, t, o) {
|
|
1453
|
+
this.uniforms[this.textureID] && (this.uniforms[this.textureID].value = o.texture), this.fsQuad.material = this.material, this.renderToScreen ? (e.setRenderTarget(null), this.fsQuad.render(e)) : (e.setRenderTarget(t), this.clear && e.clear(e.autoClearColor, e.autoClearDepth, e.autoClearStencil), this.fsQuad.render(e));
|
|
1407
1454
|
}
|
|
1408
1455
|
dispose() {
|
|
1409
1456
|
this.material.dispose(), this.fsQuad.dispose();
|
|
1410
1457
|
}
|
|
1411
1458
|
}
|
|
1412
|
-
class
|
|
1413
|
-
constructor(
|
|
1414
|
-
super(), this.scene =
|
|
1459
|
+
class Oe extends C {
|
|
1460
|
+
constructor(e, t) {
|
|
1461
|
+
super(), this.scene = e, this.camera = t, this.clear = !0, this.needsSwap = !1, this.inverse = !1;
|
|
1415
1462
|
}
|
|
1416
|
-
render(
|
|
1417
|
-
const s =
|
|
1463
|
+
render(e, t, o) {
|
|
1464
|
+
const s = e.getContext(), a = e.state;
|
|
1418
1465
|
a.buffers.color.setMask(!1), a.buffers.depth.setMask(!1), a.buffers.color.setLocked(!0), a.buffers.depth.setLocked(!0);
|
|
1419
1466
|
let i, n;
|
|
1420
|
-
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),
|
|
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);
|
|
1421
1468
|
}
|
|
1422
1469
|
}
|
|
1423
|
-
class
|
|
1470
|
+
class Ct extends C {
|
|
1424
1471
|
constructor() {
|
|
1425
1472
|
super(), this.needsSwap = !1;
|
|
1426
1473
|
}
|
|
1427
|
-
render(
|
|
1428
|
-
|
|
1474
|
+
render(e) {
|
|
1475
|
+
e.state.buffers.stencil.setLocked(!1), e.state.buffers.stencil.setTest(!1);
|
|
1429
1476
|
}
|
|
1430
1477
|
}
|
|
1431
|
-
class
|
|
1432
|
-
constructor(
|
|
1433
|
-
if (this.renderer =
|
|
1434
|
-
const o =
|
|
1435
|
-
this._width = o.width, this._height = o.height,
|
|
1478
|
+
class Et {
|
|
1479
|
+
constructor(e, t) {
|
|
1480
|
+
if (this.renderer = e, this._pixelRatio = e.getPixelRatio(), t === void 0) {
|
|
1481
|
+
const o = e.getSize(new d());
|
|
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";
|
|
1436
1483
|
} else
|
|
1437
|
-
this._width =
|
|
1438
|
-
this.renderTarget1 =
|
|
1484
|
+
this._width = t.width, this._height = t.height;
|
|
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();
|
|
1439
1486
|
}
|
|
1440
1487
|
swapBuffers() {
|
|
1441
|
-
const
|
|
1442
|
-
this.readBuffer = this.writeBuffer, this.writeBuffer =
|
|
1488
|
+
const e = this.readBuffer;
|
|
1489
|
+
this.readBuffer = this.writeBuffer, this.writeBuffer = e;
|
|
1443
1490
|
}
|
|
1444
|
-
addPass(
|
|
1445
|
-
this.passes.push(
|
|
1491
|
+
addPass(e) {
|
|
1492
|
+
this.passes.push(e), e.setSize(this._width * this._pixelRatio, this._height * this._pixelRatio);
|
|
1446
1493
|
}
|
|
1447
|
-
insertPass(
|
|
1448
|
-
this.passes.splice(
|
|
1494
|
+
insertPass(e, t) {
|
|
1495
|
+
this.passes.splice(t, 0, e), e.setSize(this._width * this._pixelRatio, this._height * this._pixelRatio);
|
|
1449
1496
|
}
|
|
1450
|
-
removePass(
|
|
1451
|
-
const
|
|
1452
|
-
|
|
1497
|
+
removePass(e) {
|
|
1498
|
+
const t = this.passes.indexOf(e);
|
|
1499
|
+
t !== -1 && this.passes.splice(t, 1);
|
|
1453
1500
|
}
|
|
1454
|
-
isLastEnabledPass(
|
|
1455
|
-
for (let
|
|
1456
|
-
if (this.passes[
|
|
1501
|
+
isLastEnabledPass(e) {
|
|
1502
|
+
for (let t = e + 1; t < this.passes.length; t++)
|
|
1503
|
+
if (this.passes[t].enabled)
|
|
1457
1504
|
return !1;
|
|
1458
1505
|
return !0;
|
|
1459
1506
|
}
|
|
1460
|
-
render(
|
|
1461
|
-
|
|
1462
|
-
const
|
|
1507
|
+
render(e) {
|
|
1508
|
+
e === void 0 && (e = this.clock.getDelta());
|
|
1509
|
+
const t = this.renderer.getRenderTarget();
|
|
1463
1510
|
let o = !1;
|
|
1464
1511
|
for (let s = 0, a = this.passes.length; s < a; s++) {
|
|
1465
1512
|
const i = this.passes[s];
|
|
1466
1513
|
if (i.enabled !== !1) {
|
|
1467
|
-
if (i.renderToScreen = this.renderToScreen && this.isLastEnabledPass(s), i.render(this.renderer, this.writeBuffer, this.readBuffer,
|
|
1514
|
+
if (i.renderToScreen = this.renderToScreen && this.isLastEnabledPass(s), i.render(this.renderer, this.writeBuffer, this.readBuffer, e, o), i.needsSwap) {
|
|
1468
1515
|
if (o) {
|
|
1469
1516
|
const n = this.renderer.getContext(), l = this.renderer.state.buffers.stencil;
|
|
1470
|
-
l.setFunc(n.NOTEQUAL, 1, 4294967295), this.copyPass.render(this.renderer, this.writeBuffer, this.readBuffer,
|
|
1517
|
+
l.setFunc(n.NOTEQUAL, 1, 4294967295), this.copyPass.render(this.renderer, this.writeBuffer, this.readBuffer, e), l.setFunc(n.EQUAL, 1, 4294967295);
|
|
1471
1518
|
}
|
|
1472
1519
|
this.swapBuffers();
|
|
1473
1520
|
}
|
|
1474
|
-
|
|
1521
|
+
Oe !== void 0 && (i instanceof Oe ? o = !0 : i instanceof Ct && (o = !1));
|
|
1475
1522
|
}
|
|
1476
1523
|
}
|
|
1477
|
-
this.renderer.setRenderTarget(
|
|
1524
|
+
this.renderer.setRenderTarget(t);
|
|
1478
1525
|
}
|
|
1479
|
-
reset(
|
|
1480
|
-
if (
|
|
1481
|
-
const
|
|
1482
|
-
this._pixelRatio = this.renderer.getPixelRatio(), this._width =
|
|
1526
|
+
reset(e) {
|
|
1527
|
+
if (e === void 0) {
|
|
1528
|
+
const t = this.renderer.getSize(new d());
|
|
1529
|
+
this._pixelRatio = this.renderer.getPixelRatio(), this._width = t.width, this._height = t.height, e = this.renderTarget1.clone(), e.setSize(this._width * this._pixelRatio, this._height * this._pixelRatio);
|
|
1483
1530
|
}
|
|
1484
|
-
this.renderTarget1.dispose(), this.renderTarget2.dispose(), this.renderTarget1 =
|
|
1531
|
+
this.renderTarget1.dispose(), this.renderTarget2.dispose(), this.renderTarget1 = e, this.renderTarget2 = e.clone(), this.writeBuffer = this.renderTarget1, this.readBuffer = this.renderTarget2;
|
|
1485
1532
|
}
|
|
1486
|
-
setSize(
|
|
1487
|
-
this._width =
|
|
1533
|
+
setSize(e, t) {
|
|
1534
|
+
this._width = e, this._height = t;
|
|
1488
1535
|
const o = this._width * this._pixelRatio, s = this._height * this._pixelRatio;
|
|
1489
1536
|
this.renderTarget1.setSize(o, s), this.renderTarget2.setSize(o, s);
|
|
1490
1537
|
for (let a = 0; a < this.passes.length; a++)
|
|
1491
1538
|
this.passes[a].setSize(o, s);
|
|
1492
1539
|
}
|
|
1493
|
-
setPixelRatio(
|
|
1494
|
-
this._pixelRatio =
|
|
1540
|
+
setPixelRatio(e) {
|
|
1541
|
+
this._pixelRatio = e, this.setSize(this._width, this._height);
|
|
1495
1542
|
}
|
|
1496
1543
|
dispose() {
|
|
1497
1544
|
this.renderTarget1.dispose(), this.renderTarget2.dispose(), this.copyPass.dispose();
|
|
1498
1545
|
}
|
|
1499
1546
|
}
|
|
1500
|
-
class
|
|
1501
|
-
constructor(
|
|
1502
|
-
super(), this.scene =
|
|
1547
|
+
class Pt extends C {
|
|
1548
|
+
constructor(e, t, o = null, s = null, a = null) {
|
|
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();
|
|
1503
1550
|
}
|
|
1504
|
-
render(
|
|
1505
|
-
const s =
|
|
1506
|
-
|
|
1551
|
+
render(e, t, o) {
|
|
1552
|
+
const s = e.autoClear;
|
|
1553
|
+
e.autoClear = !1;
|
|
1507
1554
|
let a, i;
|
|
1508
|
-
this.overrideMaterial !== null && (i = this.scene.overrideMaterial, this.scene.overrideMaterial = this.overrideMaterial), this.clearColor !== null && (
|
|
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;
|
|
1509
1556
|
}
|
|
1510
1557
|
}
|
|
1511
|
-
const
|
|
1558
|
+
const Xe = Symbol("effectComposerThree"), ho = /* @__PURE__ */ u({
|
|
1512
1559
|
__name: "EffectComposer",
|
|
1513
1560
|
props: {
|
|
1514
1561
|
enabled: { type: Boolean, default: !0 },
|
|
1515
1562
|
withoutRenderPass: { type: Boolean }
|
|
1516
1563
|
},
|
|
1517
|
-
setup(r, { expose:
|
|
1518
|
-
const
|
|
1519
|
-
|
|
1520
|
-
const { renderer: s, sizes: a, scene: i, camera: n, render: l } =
|
|
1521
|
-
|
|
1522
|
-
var
|
|
1523
|
-
(
|
|
1524
|
-
}),
|
|
1525
|
-
var
|
|
1526
|
-
const { width:
|
|
1527
|
-
|
|
1564
|
+
setup(r, { expose: e }) {
|
|
1565
|
+
const t = r, o = W(null);
|
|
1566
|
+
Be(Xe, o), e({ composer: o });
|
|
1567
|
+
const { renderer: s, sizes: a, scene: i, camera: n, render: l } = y();
|
|
1568
|
+
x(() => {
|
|
1569
|
+
var c;
|
|
1570
|
+
(c = o.value) == null || c.dispose(), o.value = new Et(s.value);
|
|
1571
|
+
}), x(() => {
|
|
1572
|
+
var E;
|
|
1573
|
+
const { width: c, height: b } = a;
|
|
1574
|
+
b.value && c.value && ((E = o.value) == null || E.setSize(c.value, b.value));
|
|
1528
1575
|
});
|
|
1529
|
-
const { pixelRatio:
|
|
1530
|
-
|
|
1531
|
-
var
|
|
1532
|
-
(
|
|
1533
|
-
}),
|
|
1534
|
-
n.value && i.value && o.value && o.value.addPass(new
|
|
1576
|
+
const { pixelRatio: h } = Ue();
|
|
1577
|
+
x(() => {
|
|
1578
|
+
var c;
|
|
1579
|
+
(c = o.value) == null || c.setPixelRatio(h.value);
|
|
1580
|
+
}), t.withoutRenderPass || x(() => {
|
|
1581
|
+
n.value && i.value && o.value && o.value.addPass(new Pt(i.value, n.value));
|
|
1535
1582
|
});
|
|
1536
|
-
const { render:
|
|
1537
|
-
return
|
|
1538
|
-
l.frames.value > 0 && o.value &&
|
|
1539
|
-
}),
|
|
1540
|
-
var
|
|
1541
|
-
(
|
|
1542
|
-
}), (
|
|
1543
|
-
}
|
|
1544
|
-
}),
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
const
|
|
1548
|
-
|
|
1583
|
+
const { render: v } = G();
|
|
1584
|
+
return v(() => {
|
|
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);
|
|
1586
|
+
}), U(() => {
|
|
1587
|
+
var c;
|
|
1588
|
+
(c = o.value) == null || c.dispose();
|
|
1589
|
+
}), (c, b) => Ne(c.$slots, "default");
|
|
1590
|
+
}
|
|
1591
|
+
}), N = (r, e, t) => {
|
|
1592
|
+
if (!e && t)
|
|
1593
|
+
throw new Error("passDependencies is required when dependencyFieldsTriggeringRecreation is provided");
|
|
1594
|
+
const o = te(Xe), s = W(r()), { sizes: a, invalidate: i } = y();
|
|
1595
|
+
e && S(e, () => i());
|
|
1596
|
+
const n = () => {
|
|
1597
|
+
var f;
|
|
1598
|
+
(f = o == null ? void 0 : o.value) == null || f.removePass(s.value), s.value.dispose();
|
|
1599
|
+
}, l = x(() => {
|
|
1600
|
+
!(o != null && o.value) || !a.height.value || !a.width.value || (o.value.addPass(s.value), oe(() => l()));
|
|
1549
1601
|
});
|
|
1550
|
-
return
|
|
1551
|
-
|
|
1552
|
-
(
|
|
1553
|
-
|
|
1602
|
+
return t && S(
|
|
1603
|
+
() => t.map((f) => e == null ? void 0 : e[f]),
|
|
1604
|
+
() => {
|
|
1605
|
+
if (!(o != null && o.value))
|
|
1606
|
+
return;
|
|
1607
|
+
const f = o.value.passes.findIndex((h) => h === s.value);
|
|
1608
|
+
~f && (n(), s.value = r(), o.value.insertPass(s.value, f));
|
|
1609
|
+
}
|
|
1610
|
+
), U(() => {
|
|
1611
|
+
n();
|
|
1612
|
+
}), { pass: s };
|
|
1554
1613
|
}, Dt = {
|
|
1555
1614
|
uniforms: {
|
|
1556
1615
|
tDiffuse: { value: null },
|
|
@@ -1646,53 +1705,53 @@ const He = Symbol("effectComposerThree"), fo = /* @__PURE__ */ u({
|
|
|
1646
1705
|
}`
|
|
1647
1706
|
)
|
|
1648
1707
|
};
|
|
1649
|
-
class
|
|
1650
|
-
constructor(
|
|
1708
|
+
class Re extends C {
|
|
1709
|
+
constructor(e = 64) {
|
|
1651
1710
|
super();
|
|
1652
|
-
const
|
|
1653
|
-
this.uniforms =
|
|
1711
|
+
const t = Dt;
|
|
1712
|
+
this.uniforms = P.clone(t.uniforms), this.heightMap = this.generateHeightmap(e), this.uniforms.tDisp.value = this.heightMap, this.material = new A({
|
|
1654
1713
|
uniforms: this.uniforms,
|
|
1655
|
-
vertexShader:
|
|
1656
|
-
fragmentShader:
|
|
1657
|
-
}), this.fsQuad = new
|
|
1714
|
+
vertexShader: t.vertexShader,
|
|
1715
|
+
fragmentShader: t.fragmentShader
|
|
1716
|
+
}), this.fsQuad = new R(this.material), this.goWild = !1, this.curF = 0, this.generateTrigger();
|
|
1658
1717
|
}
|
|
1659
|
-
render(
|
|
1660
|
-
this.uniforms.tDiffuse.value = o.texture, this.uniforms.seed.value = Math.random(), this.uniforms.byp.value = 0, this.curF % this.randX == 0 || this.goWild == !0 ? (this.uniforms.amount.value = Math.random() / 30, this.uniforms.angle.value =
|
|
1718
|
+
render(e, t, o) {
|
|
1719
|
+
this.uniforms.tDiffuse.value = o.texture, this.uniforms.seed.value = Math.random(), this.uniforms.byp.value = 0, this.curF % this.randX == 0 || this.goWild == !0 ? (this.uniforms.amount.value = Math.random() / 30, this.uniforms.angle.value = w.randFloat(-Math.PI, Math.PI), this.uniforms.seed_x.value = w.randFloat(-1, 1), this.uniforms.seed_y.value = w.randFloat(-1, 1), this.uniforms.distortion_x.value = w.randFloat(0, 1), this.uniforms.distortion_y.value = w.randFloat(0, 1), this.curF = 0, this.generateTrigger()) : this.curF % this.randX < this.randX / 5 ? (this.uniforms.amount.value = Math.random() / 90, this.uniforms.angle.value = w.randFloat(-Math.PI, Math.PI), this.uniforms.distortion_x.value = w.randFloat(0, 1), this.uniforms.distortion_y.value = w.randFloat(0, 1), this.uniforms.seed_x.value = w.randFloat(-0.3, 0.3), this.uniforms.seed_y.value = w.randFloat(-0.3, 0.3)) : this.goWild == !1 && (this.uniforms.byp.value = 1), this.curF++, this.renderToScreen ? (e.setRenderTarget(null), this.fsQuad.render(e)) : (e.setRenderTarget(t), this.clear && e.clear(), this.fsQuad.render(e));
|
|
1661
1720
|
}
|
|
1662
1721
|
generateTrigger() {
|
|
1663
|
-
this.randX =
|
|
1722
|
+
this.randX = w.randInt(120, 240);
|
|
1664
1723
|
}
|
|
1665
|
-
generateHeightmap(
|
|
1666
|
-
const
|
|
1724
|
+
generateHeightmap(e) {
|
|
1725
|
+
const t = new Float32Array(e * e), o = e * e;
|
|
1667
1726
|
for (let a = 0; a < o; a++) {
|
|
1668
|
-
const i =
|
|
1669
|
-
|
|
1727
|
+
const i = w.randFloat(0, 1);
|
|
1728
|
+
t[a] = i;
|
|
1670
1729
|
}
|
|
1671
|
-
const s = new
|
|
1730
|
+
const s = new tt(t, e, e, ot, st);
|
|
1672
1731
|
return s.needsUpdate = !0, s;
|
|
1673
1732
|
}
|
|
1674
1733
|
dispose() {
|
|
1675
1734
|
this.material.dispose(), this.heightMap.dispose(), this.fsQuad.dispose();
|
|
1676
1735
|
}
|
|
1677
1736
|
}
|
|
1678
|
-
const
|
|
1737
|
+
const po = /* @__PURE__ */ u({
|
|
1679
1738
|
__name: "Glitch",
|
|
1680
1739
|
props: {
|
|
1681
1740
|
dtSize: {},
|
|
1682
1741
|
goWild: { type: Boolean }
|
|
1683
1742
|
},
|
|
1684
|
-
setup(r, { expose:
|
|
1685
|
-
const
|
|
1686
|
-
|
|
1687
|
-
const { onBeforeRender: s } =
|
|
1688
|
-
return s(({ invalidate: a }) => a()),
|
|
1689
|
-
[[() =>
|
|
1743
|
+
setup(r, { expose: e }) {
|
|
1744
|
+
const t = r, { pass: o } = N(() => new Re(t.dtSize), t, ["dtSize"]);
|
|
1745
|
+
e({ pass: o });
|
|
1746
|
+
const { onBeforeRender: s } = G();
|
|
1747
|
+
return s(({ invalidate: a }) => a()), m(
|
|
1748
|
+
[[() => t.goWild, "goWild"]],
|
|
1690
1749
|
o,
|
|
1691
|
-
() => new
|
|
1750
|
+
() => new Re()
|
|
1692
1751
|
), () => {
|
|
1693
1752
|
};
|
|
1694
1753
|
}
|
|
1695
|
-
}),
|
|
1754
|
+
}), Y = {
|
|
1696
1755
|
name: "HalftoneShader",
|
|
1697
1756
|
uniforms: {
|
|
1698
1757
|
tDiffuse: { value: null },
|
|
@@ -1996,28 +2055,28 @@ const ho = /* @__PURE__ */ u({
|
|
|
1996
2055
|
}`
|
|
1997
2056
|
)
|
|
1998
2057
|
};
|
|
1999
|
-
class
|
|
2000
|
-
constructor(
|
|
2001
|
-
super(), this.uniforms =
|
|
2058
|
+
class Lt extends C {
|
|
2059
|
+
constructor(e, t, o) {
|
|
2060
|
+
super(), this.uniforms = P.clone(Y.uniforms), this.material = new A({
|
|
2002
2061
|
uniforms: this.uniforms,
|
|
2003
|
-
fragmentShader:
|
|
2004
|
-
vertexShader:
|
|
2005
|
-
}), this.uniforms.width.value =
|
|
2062
|
+
fragmentShader: Y.fragmentShader,
|
|
2063
|
+
vertexShader: Y.vertexShader
|
|
2064
|
+
}), this.uniforms.width.value = e, this.uniforms.height.value = t;
|
|
2006
2065
|
for (const s in o)
|
|
2007
2066
|
o.hasOwnProperty(s) && this.uniforms.hasOwnProperty(s) && (this.uniforms[s].value = o[s]);
|
|
2008
|
-
this.fsQuad = new
|
|
2067
|
+
this.fsQuad = new R(this.material);
|
|
2009
2068
|
}
|
|
2010
|
-
render(
|
|
2011
|
-
this.material.uniforms.tDiffuse.value = o.texture, this.renderToScreen ? (
|
|
2069
|
+
render(e, t, o) {
|
|
2070
|
+
this.material.uniforms.tDiffuse.value = o.texture, this.renderToScreen ? (e.setRenderTarget(null), this.fsQuad.render(e)) : (e.setRenderTarget(t), this.clear && e.clear(), this.fsQuad.render(e));
|
|
2012
2071
|
}
|
|
2013
|
-
setSize(
|
|
2014
|
-
this.uniforms.width.value =
|
|
2072
|
+
setSize(e, t) {
|
|
2073
|
+
this.uniforms.width.value = e, this.uniforms.height.value = t;
|
|
2015
2074
|
}
|
|
2016
2075
|
dispose() {
|
|
2017
2076
|
this.material.dispose(), this.fsQuad.dispose();
|
|
2018
2077
|
}
|
|
2019
2078
|
}
|
|
2020
|
-
const
|
|
2079
|
+
const mo = /* @__PURE__ */ u({
|
|
2021
2080
|
__name: "Halftone",
|
|
2022
2081
|
props: {
|
|
2023
2082
|
shape: {},
|
|
@@ -2030,55 +2089,55 @@ const po = /* @__PURE__ */ u({
|
|
|
2030
2089
|
greyscale: { type: Boolean },
|
|
2031
2090
|
blendingMode: {}
|
|
2032
2091
|
},
|
|
2033
|
-
setup(r, { expose:
|
|
2034
|
-
const
|
|
2092
|
+
setup(r, { expose: e }) {
|
|
2093
|
+
const t = r, { sizes: o } = y(), s = L(
|
|
2035
2094
|
() => Object.fromEntries(
|
|
2036
|
-
Object.entries(
|
|
2095
|
+
Object.entries(t).filter(([i, n]) => n !== void 0)
|
|
2037
2096
|
)
|
|
2038
|
-
), { pass: a } =
|
|
2097
|
+
), { pass: a } = N(() => new Lt(
|
|
2039
2098
|
o.width.value,
|
|
2040
2099
|
o.height.value,
|
|
2041
2100
|
s.value
|
|
2042
|
-
),
|
|
2043
|
-
return
|
|
2101
|
+
), t);
|
|
2102
|
+
return e({ pass: a }), x(() => {
|
|
2044
2103
|
a.value.setSize(o.width.value, o.height.value);
|
|
2045
|
-
}),
|
|
2046
|
-
Object.entries(
|
|
2047
|
-
i in a.value.uniforms && (a.value.uniforms[i].value = n ??
|
|
2104
|
+
}), x(() => {
|
|
2105
|
+
Object.entries(t).forEach(([i, n]) => {
|
|
2106
|
+
i in a.value.uniforms && (a.value.uniforms[i].value = n ?? Y.uniforms[i].value);
|
|
2048
2107
|
});
|
|
2049
2108
|
}), () => {
|
|
2050
2109
|
};
|
|
2051
2110
|
}
|
|
2052
2111
|
});
|
|
2053
|
-
class Fe extends
|
|
2054
|
-
constructor(
|
|
2055
|
-
super(), this.pixelSize =
|
|
2112
|
+
class Fe extends C {
|
|
2113
|
+
constructor(e, t, o, s = {}) {
|
|
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;
|
|
2056
2115
|
}
|
|
2057
2116
|
dispose() {
|
|
2058
2117
|
this.beautyRenderTarget.dispose(), this.normalRenderTarget.dispose(), this.pixelatedMaterial.dispose(), this.normalMaterial.dispose(), this.fsQuad.dispose();
|
|
2059
2118
|
}
|
|
2060
|
-
setSize(
|
|
2061
|
-
this.resolution.set(
|
|
2119
|
+
setSize(e, t) {
|
|
2120
|
+
this.resolution.set(e, t), this.renderResolution.set(e / this.pixelSize | 0, t / this.pixelSize | 0);
|
|
2062
2121
|
const { x: o, y: s } = this.renderResolution;
|
|
2063
2122
|
this.beautyRenderTarget.setSize(o, s), this.normalRenderTarget.setSize(o, s), this.fsQuad.material.uniforms.resolution.value.set(o, s, 1 / o, 1 / s);
|
|
2064
2123
|
}
|
|
2065
|
-
setPixelSize(
|
|
2066
|
-
this.pixelSize =
|
|
2124
|
+
setPixelSize(e) {
|
|
2125
|
+
this.pixelSize = e, this.setSize(this.resolution.x, this.resolution.y);
|
|
2067
2126
|
}
|
|
2068
|
-
render(
|
|
2127
|
+
render(e, t) {
|
|
2069
2128
|
const o = this.fsQuad.material.uniforms;
|
|
2070
|
-
o.normalEdgeStrength.value = this.normalEdgeStrength, o.depthEdgeStrength.value = this.depthEdgeStrength,
|
|
2129
|
+
o.normalEdgeStrength.value = this.normalEdgeStrength, o.depthEdgeStrength.value = this.depthEdgeStrength, e.setRenderTarget(this.beautyRenderTarget), e.render(this.scene, this.camera);
|
|
2071
2130
|
const s = this.scene.overrideMaterial;
|
|
2072
|
-
|
|
2131
|
+
e.setRenderTarget(this.normalRenderTarget), this.scene.overrideMaterial = this.normalMaterial, e.render(this.scene, this.camera), this.scene.overrideMaterial = s, o.tDiffuse.value = this.beautyRenderTarget.texture, o.tDepth.value = this.beautyRenderTarget.depthTexture, o.tNormal.value = this.normalRenderTarget.texture, this.renderToScreen ? e.setRenderTarget(null) : (e.setRenderTarget(t), this.clear && e.clear()), this.fsQuad.render(e);
|
|
2073
2132
|
}
|
|
2074
2133
|
createPixelatedMaterial() {
|
|
2075
|
-
return new
|
|
2134
|
+
return new A({
|
|
2076
2135
|
uniforms: {
|
|
2077
2136
|
tDiffuse: { value: null },
|
|
2078
2137
|
tDepth: { value: null },
|
|
2079
2138
|
tNormal: { value: null },
|
|
2080
2139
|
resolution: {
|
|
2081
|
-
value: new
|
|
2140
|
+
value: new it(
|
|
2082
2141
|
this.renderResolution.x,
|
|
2083
2142
|
this.renderResolution.y,
|
|
2084
2143
|
1 / this.renderResolution.x,
|
|
@@ -2197,28 +2256,28 @@ class Fe extends T {
|
|
|
2197
2256
|
});
|
|
2198
2257
|
}
|
|
2199
2258
|
}
|
|
2200
|
-
const
|
|
2259
|
+
const vo = /* @__PURE__ */ u({
|
|
2201
2260
|
__name: "Pixelation",
|
|
2202
2261
|
props: {
|
|
2203
2262
|
pixelSize: {},
|
|
2204
2263
|
depthEdgeStrength: {},
|
|
2205
2264
|
normalEdgeStrength: {}
|
|
2206
2265
|
},
|
|
2207
|
-
setup(r, { expose:
|
|
2208
|
-
const
|
|
2209
|
-
return
|
|
2210
|
-
a.value.setPixelSize(
|
|
2211
|
-
}),
|
|
2266
|
+
setup(r, { expose: e }) {
|
|
2267
|
+
const t = r, { scene: o, camera: s } = y(), { pass: a } = N(() => new Fe(t.pixelSize, o.value, s.value), t);
|
|
2268
|
+
return e({ pass: a }), x(() => {
|
|
2269
|
+
a.value.setPixelSize(t.pixelSize);
|
|
2270
|
+
}), m(
|
|
2212
2271
|
[
|
|
2213
|
-
[() =>
|
|
2214
|
-
[() =>
|
|
2272
|
+
[() => t.depthEdgeStrength, "depthEdgeStrength"],
|
|
2273
|
+
[() => t.normalEdgeStrength, "normalEdgeStrength"]
|
|
2215
2274
|
],
|
|
2216
2275
|
a,
|
|
2217
2276
|
() => new Fe(1, o.value, s.value)
|
|
2218
2277
|
), () => {
|
|
2219
2278
|
};
|
|
2220
2279
|
}
|
|
2221
|
-
}),
|
|
2280
|
+
}), Ot = {
|
|
2222
2281
|
name: "OutputShader",
|
|
2223
2282
|
uniforms: {
|
|
2224
2283
|
tDiffuse: { value: null },
|
|
@@ -2304,19 +2363,19 @@ const mo = /* @__PURE__ */ u({
|
|
|
2304
2363
|
}`
|
|
2305
2364
|
)
|
|
2306
2365
|
};
|
|
2307
|
-
class
|
|
2366
|
+
class Rt extends C {
|
|
2308
2367
|
constructor() {
|
|
2309
2368
|
super();
|
|
2310
|
-
const
|
|
2311
|
-
this.uniforms =
|
|
2312
|
-
name:
|
|
2369
|
+
const e = Ot;
|
|
2370
|
+
this.uniforms = P.clone(e.uniforms), this.material = new nt({
|
|
2371
|
+
name: e.name,
|
|
2313
2372
|
uniforms: this.uniforms,
|
|
2314
|
-
vertexShader:
|
|
2315
|
-
fragmentShader:
|
|
2316
|
-
}), this.fsQuad = new
|
|
2373
|
+
vertexShader: e.vertexShader,
|
|
2374
|
+
fragmentShader: e.fragmentShader
|
|
2375
|
+
}), this.fsQuad = new R(this.material), this._outputColorSpace = null, this._toneMapping = null;
|
|
2317
2376
|
}
|
|
2318
|
-
render(
|
|
2319
|
-
this.uniforms.tDiffuse.value = o.texture, this.uniforms.toneMappingExposure.value =
|
|
2377
|
+
render(e, t, o) {
|
|
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));
|
|
2320
2379
|
}
|
|
2321
2380
|
dispose() {
|
|
2322
2381
|
this.material.dispose(), this.fsQuad.dispose();
|
|
@@ -2324,19 +2383,19 @@ class Ot extends T {
|
|
|
2324
2383
|
}
|
|
2325
2384
|
const go = /* @__PURE__ */ u({
|
|
2326
2385
|
__name: "Output",
|
|
2327
|
-
setup(r, { expose:
|
|
2328
|
-
const { pass:
|
|
2329
|
-
return
|
|
2386
|
+
setup(r, { expose: e }) {
|
|
2387
|
+
const { pass: t } = N(() => new Rt());
|
|
2388
|
+
return e({ pass: t }), () => {
|
|
2330
2389
|
};
|
|
2331
2390
|
}
|
|
2332
|
-
}),
|
|
2391
|
+
}), j = {
|
|
2333
2392
|
name: "SMAAEdgesShader",
|
|
2334
2393
|
defines: {
|
|
2335
2394
|
SMAA_THRESHOLD: "0.1"
|
|
2336
2395
|
},
|
|
2337
2396
|
uniforms: {
|
|
2338
2397
|
tDiffuse: { value: null },
|
|
2339
|
-
resolution: { value: new
|
|
2398
|
+
resolution: { value: new d(1 / 1024, 1 / 512) }
|
|
2340
2399
|
},
|
|
2341
2400
|
vertexShader: (
|
|
2342
2401
|
/* glsl */
|
|
@@ -2430,7 +2489,7 @@ const go = /* @__PURE__ */ u({
|
|
|
2430
2489
|
|
|
2431
2490
|
}`
|
|
2432
2491
|
)
|
|
2433
|
-
},
|
|
2492
|
+
}, V = {
|
|
2434
2493
|
name: "SMAAWeightsShader",
|
|
2435
2494
|
defines: {
|
|
2436
2495
|
SMAA_MAX_SEARCH_STEPS: "8",
|
|
@@ -2442,7 +2501,7 @@ const go = /* @__PURE__ */ u({
|
|
|
2442
2501
|
tDiffuse: { value: null },
|
|
2443
2502
|
tArea: { value: null },
|
|
2444
2503
|
tSearch: { value: null },
|
|
2445
|
-
resolution: { value: new
|
|
2504
|
+
resolution: { value: new d(1 / 1024, 1 / 512) }
|
|
2446
2505
|
},
|
|
2447
2506
|
vertexShader: (
|
|
2448
2507
|
/* glsl */
|
|
@@ -2680,12 +2739,12 @@ const go = /* @__PURE__ */ u({
|
|
|
2680
2739
|
|
|
2681
2740
|
}`
|
|
2682
2741
|
)
|
|
2683
|
-
},
|
|
2742
|
+
}, ee = {
|
|
2684
2743
|
name: "SMAABlendShader",
|
|
2685
2744
|
uniforms: {
|
|
2686
2745
|
tDiffuse: { value: null },
|
|
2687
2746
|
tColor: { value: null },
|
|
2688
|
-
resolution: { value: new
|
|
2747
|
+
resolution: { value: new d(1 / 1024, 1 / 512) }
|
|
2689
2748
|
},
|
|
2690
2749
|
vertexShader: (
|
|
2691
2750
|
/* glsl */
|
|
@@ -2770,43 +2829,43 @@ const go = /* @__PURE__ */ u({
|
|
|
2770
2829
|
}`
|
|
2771
2830
|
)
|
|
2772
2831
|
};
|
|
2773
|
-
class
|
|
2774
|
-
constructor(
|
|
2775
|
-
super(), this.edgesRT = new D(
|
|
2832
|
+
class Ft extends C {
|
|
2833
|
+
constructor(e, t) {
|
|
2834
|
+
super(), this.edgesRT = new D(e, t, {
|
|
2776
2835
|
depthBuffer: !1,
|
|
2777
|
-
type:
|
|
2778
|
-
}), this.edgesRT.texture.name = "SMAAPass.edges", this.weightsRT = new D(
|
|
2836
|
+
type: T
|
|
2837
|
+
}), this.edgesRT.texture.name = "SMAAPass.edges", this.weightsRT = new D(e, t, {
|
|
2779
2838
|
depthBuffer: !1,
|
|
2780
|
-
type:
|
|
2839
|
+
type: T
|
|
2781
2840
|
}), this.weightsRT.texture.name = "SMAAPass.weights";
|
|
2782
2841
|
const o = this, s = new Image();
|
|
2783
2842
|
s.src = this.getAreaTexture(), s.onload = function() {
|
|
2784
2843
|
o.areaTexture.needsUpdate = !0;
|
|
2785
|
-
}, this.areaTexture = new
|
|
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;
|
|
2786
2845
|
const a = new Image();
|
|
2787
2846
|
a.src = this.getSearchTexture(), a.onload = function() {
|
|
2788
2847
|
o.searchTexture.needsUpdate = !0;
|
|
2789
|
-
}, this.searchTexture = new
|
|
2790
|
-
defines: Object.assign({}, I.defines),
|
|
2791
|
-
uniforms: this.uniformsEdges,
|
|
2792
|
-
vertexShader: I.vertexShader,
|
|
2793
|
-
fragmentShader: I.fragmentShader
|
|
2794
|
-
}), this.uniformsWeights = E.clone(j.uniforms), this.uniformsWeights.resolution.value.set(1 / t, 1 / e), this.uniformsWeights.tDiffuse.value = this.edgesRT.texture, this.uniformsWeights.tArea.value = this.areaTexture, this.uniformsWeights.tSearch.value = this.searchTexture, this.materialWeights = new S({
|
|
2848
|
+
}, this.searchTexture = new Me(), this.searchTexture.name = "SMAAPass.search", this.searchTexture.image = a, this.searchTexture.magFilter = F, this.searchTexture.minFilter = F, this.searchTexture.generateMipmaps = !1, this.searchTexture.flipY = !1, this.uniformsEdges = P.clone(j.uniforms), this.uniformsEdges.resolution.value.set(1 / e, 1 / t), this.materialEdges = new A({
|
|
2795
2849
|
defines: Object.assign({}, j.defines),
|
|
2796
|
-
uniforms: this.
|
|
2850
|
+
uniforms: this.uniformsEdges,
|
|
2797
2851
|
vertexShader: j.vertexShader,
|
|
2798
2852
|
fragmentShader: j.fragmentShader
|
|
2799
|
-
}), this.
|
|
2853
|
+
}), this.uniformsWeights = P.clone(V.uniforms), this.uniformsWeights.resolution.value.set(1 / e, 1 / t), this.uniformsWeights.tDiffuse.value = this.edgesRT.texture, this.uniformsWeights.tArea.value = this.areaTexture, this.uniformsWeights.tSearch.value = this.searchTexture, this.materialWeights = new A({
|
|
2854
|
+
defines: Object.assign({}, V.defines),
|
|
2855
|
+
uniforms: this.uniformsWeights,
|
|
2856
|
+
vertexShader: V.vertexShader,
|
|
2857
|
+
fragmentShader: V.fragmentShader
|
|
2858
|
+
}), this.uniformsBlend = P.clone(ee.uniforms), this.uniformsBlend.resolution.value.set(1 / e, 1 / t), this.uniformsBlend.tDiffuse.value = this.weightsRT.texture, this.materialBlend = new A({
|
|
2800
2859
|
uniforms: this.uniformsBlend,
|
|
2801
|
-
vertexShader:
|
|
2802
|
-
fragmentShader:
|
|
2803
|
-
}), this.fsQuad = new
|
|
2860
|
+
vertexShader: ee.vertexShader,
|
|
2861
|
+
fragmentShader: ee.fragmentShader
|
|
2862
|
+
}), this.fsQuad = new R(null);
|
|
2804
2863
|
}
|
|
2805
|
-
render(
|
|
2806
|
-
this.uniformsEdges.tDiffuse.value = o.texture, this.fsQuad.material = this.materialEdges,
|
|
2864
|
+
render(e, t, o) {
|
|
2865
|
+
this.uniformsEdges.tDiffuse.value = o.texture, this.fsQuad.material = this.materialEdges, e.setRenderTarget(this.edgesRT), this.clear && e.clear(), this.fsQuad.render(e), this.fsQuad.material = this.materialWeights, e.setRenderTarget(this.weightsRT), this.clear && e.clear(), this.fsQuad.render(e), this.uniformsBlend.tColor.value = o.texture, this.fsQuad.material = this.materialBlend, this.renderToScreen ? (e.setRenderTarget(null), this.fsQuad.render(e)) : (e.setRenderTarget(t), this.clear && e.clear(), this.fsQuad.render(e));
|
|
2807
2866
|
}
|
|
2808
|
-
setSize(
|
|
2809
|
-
this.edgesRT.setSize(
|
|
2867
|
+
setSize(e, t) {
|
|
2868
|
+
this.edgesRT.setSize(e, t), this.weightsRT.setSize(e, t), this.materialEdges.uniforms.resolution.value.set(1 / e, 1 / t), this.materialWeights.uniforms.resolution.value.set(1 / e, 1 / t), this.materialBlend.uniforms.resolution.value.set(1 / e, 1 / t);
|
|
2810
2869
|
}
|
|
2811
2870
|
getAreaTexture() {
|
|
2812
2871
|
return "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAIwCAIAAACOVPcQAACBeklEQVR42u39W4xlWXrnh/3WWvuciIzMrKxrV8/0rWbY0+SQFKcb4owIkSIFCjY9AC1BT/LYBozRi+EX+cV+8IMsYAaCwRcBwjzMiw2jAWtgwC8WR5Q8mDFHZLNHTarZGrLJJllt1W2qKrsumZWZcTvn7L3W54e1vrXX3vuciLPPORFR1XE2EomorB0nVuz//r71re/y/1eMvb4Cb3N11xV/PP/2v4UBAwJG/7H8urx6/25/Gf8O5hypMQ0EEEQwAqLfoN/Z+97f/SW+/NvcgQk4sGBJK6H7N4PFVL+K+e0N11yNfkKvwUdwdlUAXPHHL38oa15f/i/46Ih6SuMSPmLAYAwyRKn7dfMGH97jaMFBYCJUgotIC2YAdu+LyW9vvubxAP8kAL8H/koAuOKP3+q6+xGnd5kdYCeECnGIJViwGJMAkQKfDvB3WZxjLKGh8VSCCzhwEWBpMc5/kBbjawT4HnwJfhr+pPBIu7uu+OOTo9vsmtQcniMBGkKFd4jDWMSCRUpLjJYNJkM+IRzQ+PQvIeAMTrBS2LEiaiR9b/5PuT6Ap/AcfAFO4Y3dA3DFH7/VS+M8k4baEAQfMI4QfbVDDGIRg7GKaIY52qAjTAgTvGBAPGIIghOCYAUrGFNgzA7Q3QhgCwfwAnwe5vDejgG44o/fbm1C5ZlYQvQDARPAIQGxCWBM+wWl37ZQESb4gImexGMDouhGLx1Cst0Saa4b4AqO4Hk4gxo+3DHAV/nx27p3JziPM2pVgoiia5MdEzCGULprIN7gEEeQ5IQxEBBBQnxhsDb5auGm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L6657/+aYBvuL6657/+aYBvuL6657/+VMA8FXWX/f8z58OgK+y/rrnf75RgLna+uue//lTA/CV1V/3/M837aKvvv6653++UQvmauuve/7nTwfAV1N/3fM/fzr24Cuuv+75nz8FFnxl9dc9//MOr/8/glixwRuUfM4AAAAASUVORK5CYII=";
|
|
@@ -2818,27 +2877,27 @@ class Rt extends T {
|
|
|
2818
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();
|
|
2819
2878
|
}
|
|
2820
2879
|
}
|
|
2821
|
-
const
|
|
2880
|
+
const xo = /* @__PURE__ */ u({
|
|
2822
2881
|
__name: "SMAA",
|
|
2823
2882
|
props: {
|
|
2824
2883
|
width: {},
|
|
2825
2884
|
height: {}
|
|
2826
2885
|
},
|
|
2827
|
-
setup(r, { expose:
|
|
2828
|
-
const
|
|
2829
|
-
return
|
|
2886
|
+
setup(r, { expose: e }) {
|
|
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);
|
|
2888
|
+
return e({ pass: n }), x(() => {
|
|
2830
2889
|
n.value.setSize(a.value, i.value);
|
|
2831
2890
|
}), () => {
|
|
2832
2891
|
};
|
|
2833
2892
|
}
|
|
2834
|
-
}),
|
|
2893
|
+
}), Ie = {
|
|
2835
2894
|
name: "LuminosityHighPassShader",
|
|
2836
2895
|
shaderID: "luminosityHighPass",
|
|
2837
2896
|
uniforms: {
|
|
2838
2897
|
tDiffuse: { value: null },
|
|
2839
2898
|
luminosityThreshold: { value: 1 },
|
|
2840
2899
|
smoothWidth: { value: 1 },
|
|
2841
|
-
defaultColor: { value: new
|
|
2900
|
+
defaultColor: { value: new k(0) },
|
|
2842
2901
|
defaultOpacity: { value: 0 }
|
|
2843
2902
|
},
|
|
2844
2903
|
vertexShader: (
|
|
@@ -2882,80 +2941,80 @@ const vo = /* @__PURE__ */ u({
|
|
|
2882
2941
|
}`
|
|
2883
2942
|
)
|
|
2884
2943
|
};
|
|
2885
|
-
class B extends
|
|
2886
|
-
constructor(
|
|
2887
|
-
super(), this.strength =
|
|
2944
|
+
class B extends C {
|
|
2945
|
+
constructor(e, t, o, s) {
|
|
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;
|
|
2888
2947
|
let a = Math.round(this.resolution.x / 2), i = Math.round(this.resolution.y / 2);
|
|
2889
|
-
this.renderTargetBright = new D(a, i, { type:
|
|
2890
|
-
for (let
|
|
2891
|
-
const
|
|
2892
|
-
|
|
2893
|
-
const
|
|
2894
|
-
|
|
2948
|
+
this.renderTargetBright = new D(a, i, { type: T }), this.renderTargetBright.texture.name = "UnrealBloomPass.bright", this.renderTargetBright.texture.generateMipmaps = !1;
|
|
2949
|
+
for (let v = 0; v < this.nMips; v++) {
|
|
2950
|
+
const c = new D(a, i, { type: T });
|
|
2951
|
+
c.texture.name = "UnrealBloomPass.h" + v, c.texture.generateMipmaps = !1, this.renderTargetsHorizontal.push(c);
|
|
2952
|
+
const b = new D(a, i, { type: T });
|
|
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);
|
|
2895
2954
|
}
|
|
2896
|
-
const n =
|
|
2897
|
-
this.highPassUniforms =
|
|
2955
|
+
const n = Ie;
|
|
2956
|
+
this.highPassUniforms = P.clone(n.uniforms), this.highPassUniforms.luminosityThreshold.value = s, this.highPassUniforms.smoothWidth.value = 0.01, this.materialHighPassFilter = new A({
|
|
2898
2957
|
uniforms: this.highPassUniforms,
|
|
2899
2958
|
vertexShader: n.vertexShader,
|
|
2900
2959
|
fragmentShader: n.fragmentShader
|
|
2901
2960
|
}), this.separableBlurMaterials = [];
|
|
2902
2961
|
const l = [3, 5, 7, 9, 11];
|
|
2903
2962
|
a = Math.round(this.resolution.x / 2), i = Math.round(this.resolution.y / 2);
|
|
2904
|
-
for (let
|
|
2905
|
-
this.separableBlurMaterials.push(this.getSeparableBlurMaterial(l[
|
|
2906
|
-
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 =
|
|
2907
|
-
const
|
|
2908
|
-
this.compositeMaterial.uniforms.bloomFactors.value =
|
|
2909
|
-
const
|
|
2910
|
-
this.copyUniforms =
|
|
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);
|
|
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;
|
|
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({
|
|
2911
2970
|
uniforms: this.copyUniforms,
|
|
2912
|
-
vertexShader:
|
|
2913
|
-
fragmentShader:
|
|
2914
|
-
blending:
|
|
2971
|
+
vertexShader: h.vertexShader,
|
|
2972
|
+
fragmentShader: h.fragmentShader,
|
|
2973
|
+
blending: xt,
|
|
2915
2974
|
depthTest: !1,
|
|
2916
2975
|
depthWrite: !1,
|
|
2917
2976
|
transparent: !0
|
|
2918
|
-
}), this.enabled = !0, this.needsSwap = !1, this._oldClearColor = new
|
|
2977
|
+
}), this.enabled = !0, this.needsSwap = !1, this._oldClearColor = new k(), this.oldClearAlpha = 1, this.basic = new We(), this.fsQuad = new R(null);
|
|
2919
2978
|
}
|
|
2920
2979
|
dispose() {
|
|
2921
|
-
for (let
|
|
2922
|
-
this.renderTargetsHorizontal[
|
|
2923
|
-
for (let
|
|
2924
|
-
this.renderTargetsVertical[
|
|
2980
|
+
for (let e = 0; e < this.renderTargetsHorizontal.length; e++)
|
|
2981
|
+
this.renderTargetsHorizontal[e].dispose();
|
|
2982
|
+
for (let e = 0; e < this.renderTargetsVertical.length; e++)
|
|
2983
|
+
this.renderTargetsVertical[e].dispose();
|
|
2925
2984
|
this.renderTargetBright.dispose();
|
|
2926
|
-
for (let
|
|
2927
|
-
this.separableBlurMaterials[
|
|
2985
|
+
for (let e = 0; e < this.separableBlurMaterials.length; e++)
|
|
2986
|
+
this.separableBlurMaterials[e].dispose();
|
|
2928
2987
|
this.compositeMaterial.dispose(), this.blendMaterial.dispose(), this.basic.dispose(), this.fsQuad.dispose();
|
|
2929
2988
|
}
|
|
2930
|
-
setSize(
|
|
2931
|
-
let o = Math.round(
|
|
2989
|
+
setSize(e, t) {
|
|
2990
|
+
let o = Math.round(e / 2), s = Math.round(t / 2);
|
|
2932
2991
|
this.renderTargetBright.setSize(o, s);
|
|
2933
2992
|
for (let a = 0; a < this.nMips; a++)
|
|
2934
|
-
this.renderTargetsHorizontal[a].setSize(o, s), this.renderTargetsVertical[a].setSize(o, s), this.separableBlurMaterials[a].uniforms.invSize.value = new
|
|
2993
|
+
this.renderTargetsHorizontal[a].setSize(o, s), this.renderTargetsVertical[a].setSize(o, s), this.separableBlurMaterials[a].uniforms.invSize.value = new d(1 / o, 1 / s), o = Math.round(o / 2), s = Math.round(s / 2);
|
|
2935
2994
|
}
|
|
2936
|
-
render(
|
|
2937
|
-
|
|
2938
|
-
const i =
|
|
2939
|
-
|
|
2995
|
+
render(e, t, o, s, a) {
|
|
2996
|
+
e.getClearColor(this._oldClearColor), this.oldClearAlpha = e.getClearAlpha();
|
|
2997
|
+
const i = e.autoClear;
|
|
2998
|
+
e.autoClear = !1, e.setClearColor(this.clearColor, 0), a && e.state.buffers.stencil.setTest(!1), this.renderToScreen && (this.fsQuad.material = this.basic, this.basic.map = o.texture, e.setRenderTarget(null), e.clear(), this.fsQuad.render(e)), this.highPassUniforms.tDiffuse.value = o.texture, this.highPassUniforms.luminosityThreshold.value = this.threshold, this.fsQuad.material = this.materialHighPassFilter, e.setRenderTarget(this.renderTargetBright), e.clear(), this.fsQuad.render(e);
|
|
2940
2999
|
let n = this.renderTargetBright;
|
|
2941
3000
|
for (let l = 0; l < this.nMips; l++)
|
|
2942
|
-
this.fsQuad.material = this.separableBlurMaterials[l], this.separableBlurMaterials[l].uniforms.colorTexture.value = n.texture, this.separableBlurMaterials[l].uniforms.direction.value = B.BlurDirectionX,
|
|
2943
|
-
this.fsQuad.material = this.compositeMaterial, this.compositeMaterial.uniforms.bloomStrength.value = this.strength, this.compositeMaterial.uniforms.bloomRadius.value = this.radius, this.compositeMaterial.uniforms.bloomTintColors.value = this.bloomTintColors,
|
|
2944
|
-
}
|
|
2945
|
-
getSeparableBlurMaterial(
|
|
2946
|
-
const
|
|
2947
|
-
for (let o = 0; o <
|
|
2948
|
-
|
|
2949
|
-
return new
|
|
3001
|
+
this.fsQuad.material = this.separableBlurMaterials[l], this.separableBlurMaterials[l].uniforms.colorTexture.value = n.texture, this.separableBlurMaterials[l].uniforms.direction.value = B.BlurDirectionX, e.setRenderTarget(this.renderTargetsHorizontal[l]), e.clear(), this.fsQuad.render(e), this.separableBlurMaterials[l].uniforms.colorTexture.value = this.renderTargetsHorizontal[l].texture, this.separableBlurMaterials[l].uniforms.direction.value = B.BlurDirectionY, e.setRenderTarget(this.renderTargetsVertical[l]), e.clear(), this.fsQuad.render(e), n = this.renderTargetsVertical[l];
|
|
3002
|
+
this.fsQuad.material = this.compositeMaterial, this.compositeMaterial.uniforms.bloomStrength.value = this.strength, this.compositeMaterial.uniforms.bloomRadius.value = this.radius, this.compositeMaterial.uniforms.bloomTintColors.value = this.bloomTintColors, e.setRenderTarget(this.renderTargetsHorizontal[0]), e.clear(), this.fsQuad.render(e), this.fsQuad.material = this.blendMaterial, this.copyUniforms.tDiffuse.value = this.renderTargetsHorizontal[0].texture, a && e.state.buffers.stencil.setTest(!0), this.renderToScreen ? (e.setRenderTarget(null), this.fsQuad.render(e)) : (e.setRenderTarget(o), this.fsQuad.render(e)), e.setClearColor(this._oldClearColor, this.oldClearAlpha), e.autoClear = i;
|
|
3003
|
+
}
|
|
3004
|
+
getSeparableBlurMaterial(e) {
|
|
3005
|
+
const t = [];
|
|
3006
|
+
for (let o = 0; o < e; o++)
|
|
3007
|
+
t.push(0.39894 * Math.exp(-0.5 * o * o / (e * e)) / e);
|
|
3008
|
+
return new A({
|
|
2950
3009
|
defines: {
|
|
2951
|
-
KERNEL_RADIUS:
|
|
3010
|
+
KERNEL_RADIUS: e
|
|
2952
3011
|
},
|
|
2953
3012
|
uniforms: {
|
|
2954
3013
|
colorTexture: { value: null },
|
|
2955
|
-
invSize: { value: new
|
|
3014
|
+
invSize: { value: new d(0.5, 0.5) },
|
|
2956
3015
|
// inverse texture size
|
|
2957
|
-
direction: { value: new
|
|
2958
|
-
gaussianCoefficients: { value:
|
|
3016
|
+
direction: { value: new d(0.5, 0.5) },
|
|
3017
|
+
gaussianCoefficients: { value: t }
|
|
2959
3018
|
// precomputed Gaussian coefficients
|
|
2960
3019
|
},
|
|
2961
3020
|
vertexShader: `varying vec2 vUv;
|
|
@@ -2986,10 +3045,10 @@ class B extends T {
|
|
|
2986
3045
|
}`
|
|
2987
3046
|
});
|
|
2988
3047
|
}
|
|
2989
|
-
getCompositeMaterial(
|
|
2990
|
-
return new
|
|
3048
|
+
getCompositeMaterial(e) {
|
|
3049
|
+
return new A({
|
|
2991
3050
|
defines: {
|
|
2992
|
-
NUM_MIPS:
|
|
3051
|
+
NUM_MIPS: e
|
|
2993
3052
|
},
|
|
2994
3053
|
uniforms: {
|
|
2995
3054
|
blurTexture1: { value: null },
|
|
@@ -3033,70 +3092,70 @@ class B extends T {
|
|
|
3033
3092
|
});
|
|
3034
3093
|
}
|
|
3035
3094
|
}
|
|
3036
|
-
B.BlurDirectionX = new
|
|
3037
|
-
B.BlurDirectionY = new
|
|
3038
|
-
const
|
|
3095
|
+
B.BlurDirectionX = new d(1, 0);
|
|
3096
|
+
B.BlurDirectionY = new d(0, 1);
|
|
3097
|
+
const bo = /* @__PURE__ */ u({
|
|
3039
3098
|
__name: "UnrealBloom",
|
|
3040
3099
|
props: {
|
|
3041
3100
|
radius: { default: 0 },
|
|
3042
3101
|
strength: { default: 1 },
|
|
3043
3102
|
threshold: { default: 0 }
|
|
3044
3103
|
},
|
|
3045
|
-
setup(r, { expose:
|
|
3046
|
-
const
|
|
3047
|
-
new
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
),
|
|
3052
|
-
return
|
|
3104
|
+
setup(r, { expose: e }) {
|
|
3105
|
+
const t = r, { sizes: o } = y(), { pass: s } = N(() => new B(
|
|
3106
|
+
new d(o.width.value, o.height.value),
|
|
3107
|
+
t.radius,
|
|
3108
|
+
t.strength,
|
|
3109
|
+
t.threshold
|
|
3110
|
+
), t);
|
|
3111
|
+
return e({ pass: s }), x(() => {
|
|
3053
3112
|
var a;
|
|
3054
|
-
s.value.radius =
|
|
3055
|
-
}),
|
|
3113
|
+
s.value.radius = t.radius ?? ((a = s.value.getCompositeMaterial().uniforms.bloomRadius) == null ? void 0 : a.value) ?? 0.1;
|
|
3114
|
+
}), x(() => {
|
|
3056
3115
|
var a;
|
|
3057
|
-
s.value.strength =
|
|
3058
|
-
}),
|
|
3116
|
+
s.value.strength = t.strength ?? ((a = s.value.getCompositeMaterial().uniforms.bloomStrength) == null ? void 0 : a.value) ?? 1;
|
|
3117
|
+
}), x(() => {
|
|
3059
3118
|
var a;
|
|
3060
|
-
s.value.threshold =
|
|
3119
|
+
s.value.threshold = t.threshold ?? ((a = Ie.uniforms.luminosityThreshold) == null ? void 0 : a.value) ?? 1;
|
|
3061
3120
|
}), () => {
|
|
3062
3121
|
};
|
|
3063
3122
|
}
|
|
3064
3123
|
});
|
|
3065
3124
|
export {
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
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,
|
|
3089
3148
|
go as Output,
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
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,
|
|
3159
|
+
N as useEffect,
|
|
3160
|
+
p as useEffectPmndrs
|
|
3102
3161
|
};
|