@tresjs/post-processing 2.3.1 → 3.0.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/pmndrs/ASCIIPmndrs.vue.d.ts +40 -0
- package/dist/core/pmndrs/FXAAPmndrs.vue.d.ts +32 -0
- package/dist/core/pmndrs/SMAAPmndrs.vue.d.ts +42 -0
- package/dist/core/pmndrs/TexturePmndrs.vue.d.ts +21 -0
- package/dist/core/pmndrs/index.d.ts +5 -1
- package/dist/tres-post-processing.js +1038 -850
- package/dist/tres-post-processing.umd.cjs +17 -17
- package/package.json +4 -4
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @tresjs/post-processing
|
|
3
|
-
* version:
|
|
3
|
+
* version: v3.0.0-next.0
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Post-processing library for TresJS
|
|
6
6
|
* author: Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as
|
|
9
|
-
import { EffectComposer as
|
|
10
|
-
import { useTresContext as
|
|
11
|
-
import { HalfFloatType as
|
|
12
|
-
import { useDevicePixelRatio as
|
|
13
|
-
class
|
|
8
|
+
import { defineComponent as c, shallowRef as U, provide as He, computed as F, watch as g, onUnmounted as z, renderSlot as Ie, inject as Q, watchEffect as S, nextTick as ue, toRaw as fe } from "vue";
|
|
9
|
+
import { EffectComposer as he, RenderPass as Je, NormalPass as Ze, DepthDownsamplingPass as _e, EffectPass as Xe, BloomEffect as pe, DepthOfFieldEffect as me, GlitchEffect as I, GlitchMode as $e, NoiseEffect as ve, OutlineEffect as ge, PixelationEffect as xe, VignetteEffect as be, Effect as K, BlendFunction as J, ToneMappingEffect as we, ChromaticAberrationEffect as $, HueSaturationEffect as Se, ScanlineEffect as ee, ColorAverageEffect as te, LensDistortionEffect as Ae, ShockWaveEffect as ye, TiltShiftEffect as Me, DotScreenEffect as Te, SepiaEffect as Ce, DepthPickingPass as et, GodRaysEffect as oe, ColorDepthEffect as X, GridEffect as Ee, BrightnessContrastEffect as Pe, SMAAEffect as se, TextureEffect as Y, FXAAEffect as ae, ASCIIEffect as re, ASCIITexture as tt } from "postprocessing";
|
|
10
|
+
import { useTresContext as G, useTres as C, useLoop as ce, normalizeColor as ie } from "@tresjs/core";
|
|
11
|
+
import { HalfFloatType as E, Uniform as T, Vector2 as f, Vector3 as O, Mesh as je, SphereGeometry as ot, MeshBasicMaterial as Ve, OrthographicCamera as st, BufferGeometry as at, Float32BufferAttribute as De, ShaderMaterial as M, UniformsUtils as D, WebGLRenderTarget as L, NoBlending as rt, Clock as it, Color as q, MathUtils as y, DataTexture as nt, RedFormat as lt, FloatType as ut, MeshNormalMaterial as ct, NearestFilter as B, DepthTexture as dt, Vector4 as ft, RawShaderMaterial as ht, ColorManagement as pt, SRGBTransfer as mt, LinearToneMapping as vt, ReinhardToneMapping as gt, CineonToneMapping as xt, ACESFilmicToneMapping as bt, AgXToneMapping as wt, NeutralToneMapping as St, CustomToneMapping as At, Texture as Le, LinearFilter as yt, AdditiveBlending as Mt } from "three";
|
|
12
|
+
import { useDevicePixelRatio as Ye } from "@vueuse/core";
|
|
13
|
+
class Fe {
|
|
14
14
|
static isWebGL2Available() {
|
|
15
15
|
try {
|
|
16
|
-
const
|
|
17
|
-
return !!(window.WebGL2RenderingContext &&
|
|
16
|
+
const t = document.createElement("canvas");
|
|
17
|
+
return !!(window.WebGL2RenderingContext && t.getContext("webgl2"));
|
|
18
18
|
} catch {
|
|
19
19
|
return !1;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
static isColorSpaceAvailable(
|
|
22
|
+
static isColorSpaceAvailable(t) {
|
|
23
23
|
try {
|
|
24
|
-
const
|
|
25
|
-
return o.drawingBufferColorSpace =
|
|
24
|
+
const e = document.createElement("canvas"), o = window.WebGL2RenderingContext && e.getContext("webgl2");
|
|
25
|
+
return o.drawingBufferColorSpace = t, o.drawingBufferColorSpace === t;
|
|
26
26
|
} catch {
|
|
27
27
|
return !1;
|
|
28
28
|
}
|
|
@@ -30,8 +30,8 @@ class Te {
|
|
|
30
30
|
static getWebGL2ErrorMessage() {
|
|
31
31
|
return this.getErrorMessage(2);
|
|
32
32
|
}
|
|
33
|
-
static getErrorMessage(
|
|
34
|
-
const
|
|
33
|
+
static getErrorMessage(t) {
|
|
34
|
+
const e = {
|
|
35
35
|
1: "WebGL",
|
|
36
36
|
2: "WebGL 2"
|
|
37
37
|
}, o = {
|
|
@@ -40,14 +40,14 @@ class Te {
|
|
|
40
40
|
};
|
|
41
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>';
|
|
42
42
|
const a = document.createElement("div");
|
|
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[
|
|
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[t] ? s = s.replace("$0", "graphics card") : s = s.replace("$0", "browser"), s = s.replace("$1", e[t]), a.innerHTML = s, a;
|
|
44
44
|
}
|
|
45
45
|
// @deprecated, r168
|
|
46
46
|
static isWebGLAvailable() {
|
|
47
47
|
console.warn("isWebGLAvailable() has been deprecated and will be removed in r178. Use isWebGL2Available() instead.");
|
|
48
48
|
try {
|
|
49
|
-
const
|
|
50
|
-
return !!(window.WebGLRenderingContext && (
|
|
49
|
+
const t = document.createElement("canvas");
|
|
50
|
+
return !!(window.WebGLRenderingContext && (t.getContext("webgl") || t.getContext("experimental-webgl")));
|
|
51
51
|
} catch {
|
|
52
52
|
return !1;
|
|
53
53
|
}
|
|
@@ -56,7 +56,7 @@ class Te {
|
|
|
56
56
|
return console.warn("getWebGLErrorMessage() has been deprecated and will be removed in r178. Use getWebGL2ErrorMessage() instead."), this.getErrorMessage(1);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
const
|
|
59
|
+
const Z = Symbol("effectComposerPmndrs"), Yt = /* @__PURE__ */ c({
|
|
60
60
|
__name: "EffectComposerPmndrs",
|
|
61
61
|
props: {
|
|
62
62
|
enabled: { type: Boolean, default: !0 },
|
|
@@ -66,109 +66,106 @@ const se = Symbol("effectComposerPmndrs"), Gt = /* @__PURE__ */ u({
|
|
|
66
66
|
resolutionScale: {},
|
|
67
67
|
autoClear: { type: Boolean, default: !0 },
|
|
68
68
|
multisampling: { default: 0 },
|
|
69
|
-
frameBufferType: { default:
|
|
69
|
+
frameBufferType: { default: E }
|
|
70
70
|
},
|
|
71
71
|
emits: ["render"],
|
|
72
|
-
setup(
|
|
73
|
-
const o =
|
|
74
|
-
let
|
|
75
|
-
|
|
72
|
+
setup(i, { expose: t, emit: e }) {
|
|
73
|
+
const o = i, s = e, { scene: a, camera: r, renderer: n, sizes: u } = G(), l = U(null);
|
|
74
|
+
let d = null, x = null;
|
|
75
|
+
He(Z, l), t({ composer: l });
|
|
76
76
|
const b = () => {
|
|
77
|
-
|
|
78
|
-
normalBuffer:
|
|
77
|
+
l.value && (x = new Ze(a.value, r.activeCamera.value), x.enabled = !1, l.value.addPass(x), o.resolutionScale !== void 0 && Fe.isWebGL2Available() && (d = new _e({
|
|
78
|
+
normalBuffer: x.texture,
|
|
79
79
|
resolutionScale: o.resolutionScale
|
|
80
|
-
}),
|
|
81
|
-
},
|
|
82
|
-
const
|
|
83
|
-
depthBuffer: o.depthBuffer !== void 0 ? o.depthBuffer :
|
|
84
|
-
stencilBuffer: o.stencilBuffer !== void 0 ? o.stencilBuffer :
|
|
85
|
-
multisampling:
|
|
86
|
-
frameBufferType: o.frameBufferType !== void 0 ? o.frameBufferType :
|
|
80
|
+
}), d.enabled = !1, l.value.addPass(d)));
|
|
81
|
+
}, A = F(() => {
|
|
82
|
+
const p = new he(), w = {
|
|
83
|
+
depthBuffer: o.depthBuffer !== void 0 ? o.depthBuffer : p.inputBuffer.depthBuffer,
|
|
84
|
+
stencilBuffer: o.stencilBuffer !== void 0 ? o.stencilBuffer : p.inputBuffer.stencilBuffer,
|
|
85
|
+
multisampling: Fe.isWebGL2Available() ? o.multisampling !== void 0 ? o.multisampling : p.multisampling : 0,
|
|
86
|
+
frameBufferType: o.frameBufferType !== void 0 ? o.frameBufferType : E
|
|
87
87
|
};
|
|
88
|
-
return
|
|
89
|
-
}),
|
|
90
|
-
var
|
|
91
|
-
!n.
|
|
88
|
+
return p.dispose(), w;
|
|
89
|
+
}), m = () => {
|
|
90
|
+
var p;
|
|
91
|
+
!n.instance && !a.value && !r.activeCamera.value || ((p = l.value) == null || p.dispose(), l.value = new he(n.instance, A.value), l.value.addPass(new Je(a.value, r.activeCamera.value)), o.disableNormalPass || b());
|
|
92
92
|
};
|
|
93
|
-
|
|
94
|
-
!
|
|
95
|
-
}),
|
|
96
|
-
!
|
|
93
|
+
return g([a, r.activeCamera, () => o.disableNormalPass], () => {
|
|
94
|
+
!u.width.value || !u.height.value || m();
|
|
95
|
+
}), g(() => [u.width.value, u.height.value], ([p, w]) => {
|
|
96
|
+
!p && !w || (l.value ? l.value.setSize(p, w) : m());
|
|
97
97
|
}, {
|
|
98
98
|
immediate: !0
|
|
99
|
-
})
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
const g = n.value.autoClear;
|
|
104
|
-
n.value.autoClear = o.autoClear, o.stencilBuffer && !o.autoClear && n.value.clearStencil(), h.value.render(), s("render", h.value), n.value.autoClear = g;
|
|
99
|
+
}), n.replaceRenderFunction((p) => {
|
|
100
|
+
if (o.enabled && n.instance && l.value && u.width.value && u.height.value) {
|
|
101
|
+
const w = n.instance.autoClear;
|
|
102
|
+
n.instance.autoClear = o.autoClear, o.stencilBuffer && !o.autoClear && n.instance.clearStencil(), l.value.render(), s("render", l.value), n.instance.autoClear = w, p();
|
|
105
103
|
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
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));
|
|
104
|
+
}), z(() => {
|
|
105
|
+
var p;
|
|
106
|
+
(p = l.value) == null || p.dispose();
|
|
107
|
+
}), (p, w) => Ie(p.$slots, "default");
|
|
108
|
+
}
|
|
109
|
+
}), h = (i, t, e) => {
|
|
110
|
+
const o = Q(Z), s = U(null), a = U(null), { scene: r, camera: n, invalidate: u } = C();
|
|
111
|
+
g(t, () => u());
|
|
112
|
+
const l = () => {
|
|
113
|
+
var b, A, m;
|
|
114
|
+
s.value && ((b = o == null ? void 0 : o.value) == null || b.removePass(s.value)), (A = a.value) == null || A.dispose(), (m = s.value) == null || m.dispose();
|
|
115
|
+
}, d = (b) => {
|
|
116
|
+
!n.value || !(o != null && o.value) || !r.value || (a.value = i(), s.value = new Xe(n.value, a.value), o.value.addPass(s.value, b));
|
|
120
117
|
};
|
|
121
|
-
|
|
122
|
-
() =>
|
|
118
|
+
e && g(
|
|
119
|
+
() => e.map((b) => t[b]),
|
|
123
120
|
() => {
|
|
124
|
-
var
|
|
121
|
+
var A;
|
|
125
122
|
if (!(o != null && o.value))
|
|
126
123
|
return;
|
|
127
|
-
const
|
|
128
|
-
~
|
|
124
|
+
const b = (A = o.value) == null ? void 0 : A.passes.findIndex((m) => m === s.value);
|
|
125
|
+
~b && (l(), d(b));
|
|
129
126
|
}
|
|
130
|
-
),
|
|
127
|
+
), S(() => {
|
|
131
128
|
!n.value || !(a != null && a.value) || (a.value.mainCamera = n.value);
|
|
132
129
|
});
|
|
133
|
-
const
|
|
134
|
-
!n.value || !(o != null && o.value) || !
|
|
130
|
+
const x = S(() => {
|
|
131
|
+
!n.value || !(o != null && o.value) || !r.value || (ue(() => x()), !a.value && d());
|
|
135
132
|
});
|
|
136
|
-
return
|
|
137
|
-
|
|
133
|
+
return z(() => {
|
|
134
|
+
l();
|
|
138
135
|
}), {
|
|
139
136
|
pass: s,
|
|
140
137
|
effect: a
|
|
141
138
|
};
|
|
142
|
-
},
|
|
143
|
-
if (!
|
|
139
|
+
}, ke = /([^[.\]])+/g, Tt = (i, t) => {
|
|
140
|
+
if (!t)
|
|
144
141
|
return;
|
|
145
|
-
const
|
|
146
|
-
return
|
|
147
|
-
},
|
|
148
|
-
const o = Array.isArray(
|
|
149
|
-
o && o.reduce((s, a,
|
|
150
|
-
},
|
|
151
|
-
const
|
|
152
|
-
return
|
|
153
|
-
}, H = (
|
|
154
|
-
var
|
|
155
|
-
if (
|
|
142
|
+
const e = Array.isArray(t) ? t : t.match(ke);
|
|
143
|
+
return e == null ? void 0 : e.reduce((o, s) => o && o[s], i);
|
|
144
|
+
}, Oe = (i, t, e) => {
|
|
145
|
+
const o = Array.isArray(t) ? t : t.match(ke);
|
|
146
|
+
o && o.reduce((s, a, r) => (s[a] === void 0 && (s[a] = {}), r === o.length - 1 && (s[a] = e), s[a]), i);
|
|
147
|
+
}, Ct = (i, t) => {
|
|
148
|
+
const e = { ...i };
|
|
149
|
+
return t.forEach((o) => delete e[o]), e;
|
|
150
|
+
}, H = (i, t, e, o, s = {}) => g(i, (a) => {
|
|
151
|
+
var r;
|
|
152
|
+
if (t.value)
|
|
156
153
|
if (a === void 0) {
|
|
157
154
|
const n = o();
|
|
158
|
-
|
|
155
|
+
Oe(t.value, e, Tt(n, e)), (r = n.dispose) == null || r.call(n);
|
|
159
156
|
} else
|
|
160
|
-
|
|
161
|
-
}, s),
|
|
157
|
+
Oe(t.value, e, i());
|
|
158
|
+
}, s), v = (i, t, e) => i.map(([o, s]) => H(
|
|
162
159
|
o,
|
|
163
|
-
|
|
160
|
+
t,
|
|
164
161
|
s,
|
|
165
|
-
|
|
166
|
-
)),
|
|
167
|
-
() =>
|
|
168
|
-
|
|
162
|
+
e
|
|
163
|
+
)), de = (i, t, e) => Object.keys(i).map((o) => H(
|
|
164
|
+
() => i[o],
|
|
165
|
+
t,
|
|
169
166
|
o,
|
|
170
|
-
|
|
171
|
-
)),
|
|
167
|
+
e
|
|
168
|
+
)), kt = /* @__PURE__ */ c({
|
|
172
169
|
__name: "BloomPmndrs",
|
|
173
170
|
props: {
|
|
174
171
|
blendFunction: {},
|
|
@@ -178,22 +175,22 @@ const se = Symbol("effectComposerPmndrs"), Gt = /* @__PURE__ */ u({
|
|
|
178
175
|
luminanceSmoothing: {},
|
|
179
176
|
mipmapBlur: { type: Boolean, default: void 0 }
|
|
180
177
|
},
|
|
181
|
-
setup(
|
|
182
|
-
const
|
|
183
|
-
return
|
|
178
|
+
setup(i, { expose: t }) {
|
|
179
|
+
const e = i, { pass: o, effect: s } = h(() => new pe(e), e, ["mipmapBlur"]);
|
|
180
|
+
return t({ pass: o, effect: s }), v(
|
|
184
181
|
[
|
|
185
|
-
[() =>
|
|
186
|
-
[() =>
|
|
187
|
-
[() =>
|
|
188
|
-
[() =>
|
|
189
|
-
[() =>
|
|
182
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
183
|
+
[() => e.intensity, "intensity"],
|
|
184
|
+
[() => e.kernelSize, "kernelSize"],
|
|
185
|
+
[() => e.luminanceSmoothing, "luminanceMaterial.smoothing"],
|
|
186
|
+
[() => e.luminanceThreshold, "luminanceMaterial.threshold"]
|
|
190
187
|
],
|
|
191
188
|
s,
|
|
192
|
-
() => new
|
|
189
|
+
() => new pe()
|
|
193
190
|
), () => {
|
|
194
191
|
};
|
|
195
192
|
}
|
|
196
|
-
}),
|
|
193
|
+
}), qt = /* @__PURE__ */ c({
|
|
197
194
|
__name: "DepthOfFieldPmndrs",
|
|
198
195
|
props: {
|
|
199
196
|
blendFunction: {},
|
|
@@ -206,26 +203,26 @@ const se = Symbol("effectComposerPmndrs"), Gt = /* @__PURE__ */ u({
|
|
|
206
203
|
resolutionX: {},
|
|
207
204
|
resolutionY: {}
|
|
208
205
|
},
|
|
209
|
-
setup(
|
|
210
|
-
const
|
|
211
|
-
return
|
|
206
|
+
setup(i, { expose: t }) {
|
|
207
|
+
const e = i, { camera: o } = C(), { pass: s, effect: a } = h(() => new me(o.value, e), e);
|
|
208
|
+
return t({ pass: s, effect: a }), v(
|
|
212
209
|
[
|
|
213
|
-
[() =>
|
|
214
|
-
[() =>
|
|
215
|
-
[() =>
|
|
216
|
-
[() =>
|
|
217
|
-
[() =>
|
|
218
|
-
[() =>
|
|
219
|
-
[() =>
|
|
220
|
-
[() =>
|
|
221
|
-
[() =>
|
|
210
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
211
|
+
[() => e.worldFocusDistance, "circleOfConfusionMaterial.worldFocusDistance"],
|
|
212
|
+
[() => e.focusDistance, "circleOfConfusionMaterial.focusDistance"],
|
|
213
|
+
[() => e.worldFocusRange, "circleOfConfusionMaterial.worldFocusRange"],
|
|
214
|
+
[() => e.focusRange, "circleOfConfusionMaterial.focusRange"],
|
|
215
|
+
[() => e.bokehScale, "bokehScale"],
|
|
216
|
+
[() => e.resolutionScale, "blurPass.resolution.scale"],
|
|
217
|
+
[() => e.resolutionX, "resolution.width"],
|
|
218
|
+
[() => e.resolutionY, "resolution.height"]
|
|
222
219
|
],
|
|
223
220
|
a,
|
|
224
|
-
() => new
|
|
221
|
+
() => new me()
|
|
225
222
|
), () => {
|
|
226
223
|
};
|
|
227
224
|
}
|
|
228
|
-
}),
|
|
225
|
+
}), Qt = /* @__PURE__ */ c({
|
|
229
226
|
__name: "GlitchPmndrs",
|
|
230
227
|
props: {
|
|
231
228
|
blendFunction: {},
|
|
@@ -240,51 +237,51 @@ const se = Symbol("effectComposerPmndrs"), Gt = /* @__PURE__ */ u({
|
|
|
240
237
|
perturbationMap: {},
|
|
241
238
|
dtSize: {}
|
|
242
239
|
},
|
|
243
|
-
setup(
|
|
244
|
-
const
|
|
245
|
-
|
|
246
|
-
const {
|
|
247
|
-
return
|
|
248
|
-
const
|
|
249
|
-
if (
|
|
250
|
-
return
|
|
251
|
-
const
|
|
252
|
-
return
|
|
240
|
+
setup(i, { expose: t }) {
|
|
241
|
+
const e = i, { pass: o, effect: s } = h(() => new I(e), e, ["dtSize"]);
|
|
242
|
+
t({ pass: o, effect: s });
|
|
243
|
+
const { invalidate: a } = C(), { onBeforeRender: r } = ce();
|
|
244
|
+
return r(() => a()), S(() => {
|
|
245
|
+
const n = () => {
|
|
246
|
+
if (e.mode !== void 0)
|
|
247
|
+
return e.active === !1 ? $e.DISABLED : e.mode;
|
|
248
|
+
const u = new I(), l = u.mode;
|
|
249
|
+
return u.dispose(), l;
|
|
253
250
|
};
|
|
254
|
-
s.value && (s.value.mode =
|
|
251
|
+
s.value && (s.value.mode = n());
|
|
255
252
|
}), H(
|
|
256
|
-
() =>
|
|
253
|
+
() => e.blendFunction,
|
|
257
254
|
s,
|
|
258
255
|
"blendMode.blendFunction",
|
|
259
|
-
() => new
|
|
260
|
-
),
|
|
261
|
-
|
|
256
|
+
() => new I()
|
|
257
|
+
), de(
|
|
258
|
+
Ct(e, ["active", "blendFunction"]),
|
|
262
259
|
s,
|
|
263
|
-
() => new
|
|
260
|
+
() => new I()
|
|
264
261
|
), () => {
|
|
265
262
|
};
|
|
266
263
|
}
|
|
267
|
-
}),
|
|
264
|
+
}), Kt = /* @__PURE__ */ c({
|
|
268
265
|
__name: "NoisePmndrs",
|
|
269
266
|
props: {
|
|
270
267
|
premultiply: { type: Boolean, default: void 0 },
|
|
271
268
|
blendFunction: {}
|
|
272
269
|
},
|
|
273
|
-
setup(
|
|
274
|
-
const
|
|
275
|
-
|
|
276
|
-
const {
|
|
277
|
-
return
|
|
270
|
+
setup(i, { expose: t }) {
|
|
271
|
+
const e = i, { pass: o, effect: s } = h(() => new ve(e), e);
|
|
272
|
+
t({ pass: o, effect: s });
|
|
273
|
+
const { invalidate: a } = C(), { onBeforeRender: r } = ce();
|
|
274
|
+
return r(() => a()), v(
|
|
278
275
|
[
|
|
279
|
-
[() =>
|
|
280
|
-
[() =>
|
|
276
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
277
|
+
[() => e.premultiply, "premultiply"]
|
|
281
278
|
],
|
|
282
279
|
s,
|
|
283
|
-
() => new
|
|
280
|
+
() => new ve()
|
|
284
281
|
), () => {
|
|
285
282
|
};
|
|
286
283
|
}
|
|
287
|
-
}),
|
|
284
|
+
}), Jt = /* @__PURE__ */ c({
|
|
288
285
|
__name: "OutlinePmndrs",
|
|
289
286
|
props: {
|
|
290
287
|
outlinedObjects: {},
|
|
@@ -303,83 +300,83 @@ const se = Symbol("effectComposerPmndrs"), Gt = /* @__PURE__ */ u({
|
|
|
303
300
|
hiddenEdgeColor: {},
|
|
304
301
|
visibleEdgeColor: {}
|
|
305
302
|
},
|
|
306
|
-
setup(
|
|
307
|
-
const
|
|
308
|
-
() => new
|
|
303
|
+
setup(i, { expose: t }) {
|
|
304
|
+
const e = i, o = (l) => l !== void 0 ? ie(l).getHex() : void 0, { camera: s, scene: a } = C(), { pass: r, effect: n } = h(
|
|
305
|
+
() => new ge(
|
|
309
306
|
a.value,
|
|
310
307
|
s.value,
|
|
311
308
|
{
|
|
312
|
-
blur:
|
|
313
|
-
xRay:
|
|
314
|
-
kernelSize:
|
|
315
|
-
pulseSpeed:
|
|
316
|
-
resolutionX:
|
|
317
|
-
resolutionY:
|
|
318
|
-
patternScale:
|
|
319
|
-
edgeStrength:
|
|
320
|
-
blendFunction:
|
|
321
|
-
multisampling:
|
|
322
|
-
patternTexture:
|
|
323
|
-
resolutionScale:
|
|
324
|
-
hiddenEdgeColor: o(
|
|
325
|
-
visibleEdgeColor: o(
|
|
309
|
+
blur: e.blur,
|
|
310
|
+
xRay: e.xRay,
|
|
311
|
+
kernelSize: e.kernelSize,
|
|
312
|
+
pulseSpeed: e.pulseSpeed,
|
|
313
|
+
resolutionX: e.resolutionX,
|
|
314
|
+
resolutionY: e.resolutionY,
|
|
315
|
+
patternScale: e.patternScale,
|
|
316
|
+
edgeStrength: e.edgeStrength,
|
|
317
|
+
blendFunction: e.blendFunction,
|
|
318
|
+
multisampling: e.multisampling,
|
|
319
|
+
patternTexture: e.patternTexture,
|
|
320
|
+
resolutionScale: e.resolutionScale,
|
|
321
|
+
hiddenEdgeColor: o(e.hiddenEdgeColor),
|
|
322
|
+
visibleEdgeColor: o(e.visibleEdgeColor)
|
|
326
323
|
// width and height are explicitly omitted, because they are deprecated in postprocessing's OutlineEffect
|
|
327
324
|
}
|
|
328
325
|
),
|
|
329
|
-
|
|
326
|
+
e
|
|
330
327
|
);
|
|
331
|
-
|
|
332
|
-
[() =>
|
|
328
|
+
t({ pass: r, effect: n }), g(
|
|
329
|
+
[() => e.outlinedObjects, n],
|
|
333
330
|
// watchEffect is intentionally not used here as it would result in an endless loop
|
|
334
331
|
() => {
|
|
335
|
-
var
|
|
336
|
-
(
|
|
332
|
+
var l;
|
|
333
|
+
(l = n.value) == null || l.selection.set(e.outlinedObjects || []);
|
|
337
334
|
},
|
|
338
335
|
{
|
|
339
336
|
immediate: !0
|
|
340
337
|
}
|
|
341
338
|
);
|
|
342
|
-
const
|
|
343
|
-
hiddenEdgeColor:
|
|
344
|
-
visibleEdgeColor:
|
|
339
|
+
const u = F(() => ({
|
|
340
|
+
hiddenEdgeColor: e.hiddenEdgeColor ? ie(e.hiddenEdgeColor) : void 0,
|
|
341
|
+
visibleEdgeColor: e.visibleEdgeColor ? ie(e.visibleEdgeColor) : void 0
|
|
345
342
|
}));
|
|
346
|
-
return
|
|
343
|
+
return v(
|
|
347
344
|
[
|
|
348
|
-
[() =>
|
|
349
|
-
[() =>
|
|
350
|
-
[() =>
|
|
351
|
-
[() =>
|
|
352
|
-
[() =>
|
|
353
|
-
[() =>
|
|
354
|
-
[() =>
|
|
355
|
-
[() =>
|
|
356
|
-
[() =>
|
|
357
|
-
[() =>
|
|
358
|
-
[() =>
|
|
359
|
-
[() =>
|
|
360
|
-
[() =>
|
|
361
|
-
[() =>
|
|
345
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
346
|
+
[() => e.blur, "blur"],
|
|
347
|
+
[() => e.xRay, "xRay"],
|
|
348
|
+
[() => e.pulseSpeed, "pulseSpeed"],
|
|
349
|
+
[() => e.kernelSize, "kernelSize"],
|
|
350
|
+
[() => e.edgeStrength, "edgeStrength"],
|
|
351
|
+
[() => e.patternScale, "patternScale"],
|
|
352
|
+
[() => e.multisampling, "multisampling"],
|
|
353
|
+
[() => e.resolutionX, "resolution.width"],
|
|
354
|
+
[() => e.resolutionY, "resolution.height"],
|
|
355
|
+
[() => e.patternTexture, "patternTexture"],
|
|
356
|
+
[() => e.resolutionScale, "resolution.scale"],
|
|
357
|
+
[() => u.value.hiddenEdgeColor, "hiddenEdgeColor"],
|
|
358
|
+
[() => u.value.visibleEdgeColor, "visibleEdgeColor"]
|
|
362
359
|
],
|
|
363
360
|
n,
|
|
364
|
-
() => new
|
|
361
|
+
() => new ge()
|
|
365
362
|
), () => {
|
|
366
363
|
};
|
|
367
364
|
}
|
|
368
|
-
}),
|
|
365
|
+
}), Zt = /* @__PURE__ */ c({
|
|
369
366
|
__name: "PixelationPmndrs",
|
|
370
367
|
props: {
|
|
371
368
|
granularity: {}
|
|
372
369
|
},
|
|
373
|
-
setup(
|
|
374
|
-
const
|
|
375
|
-
return
|
|
376
|
-
|
|
370
|
+
setup(i, { expose: t }) {
|
|
371
|
+
const e = i, { pass: o, effect: s } = h(() => new xe(e.granularity), e);
|
|
372
|
+
return t({ pass: o, effect: s }), de(
|
|
373
|
+
e,
|
|
377
374
|
s,
|
|
378
|
-
() => new
|
|
375
|
+
() => new xe()
|
|
379
376
|
), () => {
|
|
380
377
|
};
|
|
381
378
|
}
|
|
382
|
-
}),
|
|
379
|
+
}), _t = /* @__PURE__ */ c({
|
|
383
380
|
__name: "VignettePmndrs",
|
|
384
381
|
props: {
|
|
385
382
|
technique: {},
|
|
@@ -387,22 +384,22 @@ const se = Symbol("effectComposerPmndrs"), Gt = /* @__PURE__ */ u({
|
|
|
387
384
|
offset: {},
|
|
388
385
|
darkness: {}
|
|
389
386
|
},
|
|
390
|
-
setup(
|
|
391
|
-
const
|
|
392
|
-
return
|
|
387
|
+
setup(i, { expose: t }) {
|
|
388
|
+
const e = i, { pass: o, effect: s } = h(() => new be(e), e);
|
|
389
|
+
return t({ pass: o, effect: s }), v(
|
|
393
390
|
[
|
|
394
|
-
[() =>
|
|
395
|
-
[() =>
|
|
396
|
-
[() =>
|
|
397
|
-
[() =>
|
|
391
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
392
|
+
[() => e.offset, "offset"],
|
|
393
|
+
[() => e.darkness, "darkness"],
|
|
394
|
+
[() => e.technique, "technique"]
|
|
398
395
|
],
|
|
399
396
|
s,
|
|
400
|
-
() => new
|
|
397
|
+
() => new be()
|
|
401
398
|
), () => {
|
|
402
399
|
};
|
|
403
400
|
}
|
|
404
401
|
});
|
|
405
|
-
class
|
|
402
|
+
class Re extends K {
|
|
406
403
|
/**
|
|
407
404
|
* Creates a new BarrelBlurEffect instance.
|
|
408
405
|
*
|
|
@@ -412,7 +409,7 @@ class Ee extends q {
|
|
|
412
409
|
* @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.
|
|
413
410
|
*
|
|
414
411
|
*/
|
|
415
|
-
constructor({ blendFunction:
|
|
412
|
+
constructor({ blendFunction: t = J.NORMAL, amount: e = 0.15, offset: o = new f(0.5, 0.5) } = {}) {
|
|
416
413
|
super("BarrelBlurEffect", `
|
|
417
414
|
uniform float amount;
|
|
418
415
|
uniform vec2 offset;
|
|
@@ -458,11 +455,11 @@ class Ee extends q {
|
|
|
458
455
|
outputColor = vec4(outcol, inputColor.a); // Preserves original alpha
|
|
459
456
|
}
|
|
460
457
|
`, {
|
|
461
|
-
blendFunction:
|
|
458
|
+
blendFunction: t,
|
|
462
459
|
uniforms: /* @__PURE__ */ new Map([
|
|
463
|
-
["amount", new
|
|
460
|
+
["amount", new T(e)],
|
|
464
461
|
// Uniform controlling the intensity of distortion
|
|
465
|
-
["offset", new
|
|
462
|
+
["offset", new T(o)]
|
|
466
463
|
// Uniform controlling the offset of distortion
|
|
467
464
|
])
|
|
468
465
|
});
|
|
@@ -473,11 +470,11 @@ class Ee extends q {
|
|
|
473
470
|
* @type {number}
|
|
474
471
|
*/
|
|
475
472
|
get amount() {
|
|
476
|
-
var
|
|
477
|
-
return (
|
|
473
|
+
var t;
|
|
474
|
+
return (t = this.uniforms.get("amount")) == null ? void 0 : t.value;
|
|
478
475
|
}
|
|
479
|
-
set amount(
|
|
480
|
-
this.uniforms.get("amount").value =
|
|
476
|
+
set amount(t) {
|
|
477
|
+
this.uniforms.get("amount").value = t;
|
|
481
478
|
}
|
|
482
479
|
/**
|
|
483
480
|
* The offset.
|
|
@@ -485,40 +482,40 @@ class Ee extends q {
|
|
|
485
482
|
* @type {Vector2}
|
|
486
483
|
*/
|
|
487
484
|
get offset() {
|
|
488
|
-
var
|
|
489
|
-
return (
|
|
485
|
+
var t;
|
|
486
|
+
return (t = this.uniforms.get("offset")) == null ? void 0 : t.value;
|
|
490
487
|
}
|
|
491
|
-
set offset(
|
|
492
|
-
this.uniforms.get("offset").value =
|
|
488
|
+
set offset(t) {
|
|
489
|
+
this.uniforms.get("offset").value = t;
|
|
493
490
|
}
|
|
494
491
|
}
|
|
495
|
-
const
|
|
492
|
+
const $t = /* @__PURE__ */ c({
|
|
496
493
|
__name: "BarrelBlurPmndrs",
|
|
497
494
|
props: {
|
|
498
495
|
blendFunction: {},
|
|
499
496
|
amount: {},
|
|
500
497
|
offset: {}
|
|
501
498
|
},
|
|
502
|
-
setup(
|
|
503
|
-
const
|
|
504
|
-
() => new
|
|
505
|
-
...
|
|
506
|
-
offset: Array.isArray(
|
|
499
|
+
setup(i, { expose: t }) {
|
|
500
|
+
const e = i, { pass: o, effect: s } = h(
|
|
501
|
+
() => new Re({
|
|
502
|
+
...e,
|
|
503
|
+
offset: Array.isArray(e.offset) ? new f(...e.offset) : e.offset
|
|
507
504
|
}),
|
|
508
|
-
|
|
505
|
+
e
|
|
509
506
|
);
|
|
510
|
-
return
|
|
507
|
+
return t({ pass: o, effect: s }), v(
|
|
511
508
|
[
|
|
512
|
-
[() =>
|
|
513
|
-
[() =>
|
|
514
|
-
[() =>
|
|
509
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
510
|
+
[() => e.amount, "amount"],
|
|
511
|
+
[() => e.offset, "offset"]
|
|
515
512
|
],
|
|
516
513
|
s,
|
|
517
|
-
() => new
|
|
514
|
+
() => new Re()
|
|
518
515
|
), () => {
|
|
519
516
|
};
|
|
520
517
|
}
|
|
521
|
-
}),
|
|
518
|
+
}), eo = /* @__PURE__ */ c({
|
|
522
519
|
__name: "ToneMappingPmndrs",
|
|
523
520
|
props: {
|
|
524
521
|
mode: {},
|
|
@@ -529,24 +526,24 @@ const qt = /* @__PURE__ */ u({
|
|
|
529
526
|
minLuminance: {},
|
|
530
527
|
whitePoint: {}
|
|
531
528
|
},
|
|
532
|
-
setup(
|
|
533
|
-
const
|
|
534
|
-
return
|
|
529
|
+
setup(i, { expose: t }) {
|
|
530
|
+
const e = i, { pass: o, effect: s } = h(() => new we(e), e);
|
|
531
|
+
return t({ pass: o, effect: s }), v(
|
|
535
532
|
[
|
|
536
|
-
[() =>
|
|
537
|
-
[() =>
|
|
538
|
-
[() =>
|
|
539
|
-
[() =>
|
|
540
|
-
[() =>
|
|
541
|
-
[() =>
|
|
542
|
-
[() =>
|
|
533
|
+
[() => e.mode, "mode"],
|
|
534
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
535
|
+
[() => e.resolution, "resolution"],
|
|
536
|
+
[() => e.averageLuminance, "averageLuminance"],
|
|
537
|
+
[() => e.middleGrey, "middleGrey"],
|
|
538
|
+
[() => e.minLuminance, "adaptiveLuminanceMaterial.minLuminance"],
|
|
539
|
+
[() => e.whitePoint, "whitePoint"]
|
|
543
540
|
],
|
|
544
541
|
s,
|
|
545
|
-
() => new
|
|
542
|
+
() => new we()
|
|
546
543
|
), () => {
|
|
547
544
|
};
|
|
548
545
|
}
|
|
549
|
-
}),
|
|
546
|
+
}), to = /* @__PURE__ */ c({
|
|
550
547
|
__name: "ChromaticAberrationPmndrs",
|
|
551
548
|
props: {
|
|
552
549
|
blendFunction: {},
|
|
@@ -554,47 +551,47 @@ const qt = /* @__PURE__ */ u({
|
|
|
554
551
|
radialModulation: { type: Boolean, default: void 0 },
|
|
555
552
|
modulationOffset: {}
|
|
556
553
|
},
|
|
557
|
-
setup(
|
|
558
|
-
const
|
|
559
|
-
...
|
|
554
|
+
setup(i, { expose: t }) {
|
|
555
|
+
const e = i, o = new $(), { pass: s, effect: a } = h(() => new $({
|
|
556
|
+
...e,
|
|
560
557
|
// Unfortunately, these defaults must be set this way as the type in postprocessing is not correct.
|
|
561
558
|
// The arguments are optional in the actual constructor, but not in the type.
|
|
562
|
-
radialModulation:
|
|
563
|
-
modulationOffset:
|
|
564
|
-
}),
|
|
565
|
-
return o.dispose(),
|
|
559
|
+
radialModulation: e.radialModulation ?? o.radialModulation,
|
|
560
|
+
modulationOffset: e.modulationOffset ?? o.modulationOffset
|
|
561
|
+
}), e);
|
|
562
|
+
return o.dispose(), t({ pass: s, effect: a }), v(
|
|
566
563
|
[
|
|
567
|
-
[() =>
|
|
568
|
-
[() =>
|
|
569
|
-
[() =>
|
|
570
|
-
[() =>
|
|
564
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
565
|
+
[() => e.offset, "offset"],
|
|
566
|
+
[() => e.radialModulation, "radialModulation"],
|
|
567
|
+
[() => e.modulationOffset, "modulationOffset"]
|
|
571
568
|
],
|
|
572
569
|
a,
|
|
573
|
-
() => new
|
|
570
|
+
() => new $()
|
|
574
571
|
), () => {
|
|
575
572
|
};
|
|
576
573
|
}
|
|
577
|
-
}),
|
|
574
|
+
}), oo = /* @__PURE__ */ c({
|
|
578
575
|
__name: "HueSaturationPmndrs",
|
|
579
576
|
props: {
|
|
580
577
|
saturation: {},
|
|
581
578
|
hue: {},
|
|
582
579
|
blendFunction: {}
|
|
583
580
|
},
|
|
584
|
-
setup(
|
|
585
|
-
const
|
|
586
|
-
return
|
|
581
|
+
setup(i, { expose: t }) {
|
|
582
|
+
const e = i, { pass: o, effect: s } = h(() => new Se(e), e);
|
|
583
|
+
return t({ pass: o, effect: s }), v(
|
|
587
584
|
[
|
|
588
|
-
[() =>
|
|
589
|
-
[() =>
|
|
590
|
-
[() =>
|
|
585
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
586
|
+
[() => e.hue, "hue"],
|
|
587
|
+
[() => e.saturation, "saturation"]
|
|
591
588
|
],
|
|
592
589
|
s,
|
|
593
|
-
() => new
|
|
590
|
+
() => new Se()
|
|
594
591
|
), () => {
|
|
595
592
|
};
|
|
596
593
|
}
|
|
597
|
-
}),
|
|
594
|
+
}), so = /* @__PURE__ */ c({
|
|
598
595
|
__name: "ScanlinePmndrs",
|
|
599
596
|
props: {
|
|
600
597
|
blendFunction: {},
|
|
@@ -602,25 +599,25 @@ const qt = /* @__PURE__ */ u({
|
|
|
602
599
|
scrollSpeed: {},
|
|
603
600
|
opacity: {}
|
|
604
601
|
},
|
|
605
|
-
setup(
|
|
606
|
-
const
|
|
607
|
-
return
|
|
602
|
+
setup(i, { expose: t }) {
|
|
603
|
+
const e = i, { pass: o, effect: s } = h(() => new ee(e), e);
|
|
604
|
+
return t({ pass: o, effect: s }), v(
|
|
608
605
|
[
|
|
609
|
-
[() =>
|
|
610
|
-
[() =>
|
|
611
|
-
[() =>
|
|
606
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
607
|
+
[() => e.density, "density"],
|
|
608
|
+
[() => e.scrollSpeed, "scrollSpeed"]
|
|
612
609
|
],
|
|
613
610
|
s,
|
|
614
|
-
() => new
|
|
615
|
-
),
|
|
616
|
-
[() =>
|
|
611
|
+
() => new ee()
|
|
612
|
+
), g(
|
|
613
|
+
[() => e.opacity],
|
|
617
614
|
() => {
|
|
618
|
-
var a,
|
|
619
|
-
if (
|
|
620
|
-
(a = s.value) == null || a.blendMode.setOpacity(
|
|
615
|
+
var a, r;
|
|
616
|
+
if (e.opacity !== void 0)
|
|
617
|
+
(a = s.value) == null || a.blendMode.setOpacity(e.opacity);
|
|
621
618
|
else {
|
|
622
|
-
const n = new
|
|
623
|
-
(
|
|
619
|
+
const n = new ee();
|
|
620
|
+
(r = s.value) == null || r.blendMode.setOpacity(n.blendMode.getOpacity()), n.dispose();
|
|
624
621
|
}
|
|
625
622
|
},
|
|
626
623
|
{
|
|
@@ -629,7 +626,7 @@ const qt = /* @__PURE__ */ u({
|
|
|
629
626
|
), () => {
|
|
630
627
|
};
|
|
631
628
|
}
|
|
632
|
-
}),
|
|
629
|
+
}), Et = `
|
|
633
630
|
uniform float radius;
|
|
634
631
|
uniform int sectorCount;
|
|
635
632
|
|
|
@@ -726,7 +723,7 @@ void mainImage(const in vec4 inputColor, const in vec2 uv, out vec4 outputColor)
|
|
|
726
723
|
outputColor = vec4(finalColor, inputColor.a);
|
|
727
724
|
}
|
|
728
725
|
`;
|
|
729
|
-
class
|
|
726
|
+
class Be extends K {
|
|
730
727
|
/**
|
|
731
728
|
* Creates a new KuwaharaEffect instance.
|
|
732
729
|
*
|
|
@@ -736,12 +733,12 @@ class Pe extends q {
|
|
|
736
733
|
* @param {number} [options.sectorCount] - Number of sectors.
|
|
737
734
|
*
|
|
738
735
|
*/
|
|
739
|
-
constructor({ blendFunction:
|
|
740
|
-
super("KuwaharaEffect",
|
|
741
|
-
blendFunction:
|
|
736
|
+
constructor({ blendFunction: t = J.NORMAL, radius: e = 1, sectorCount: o = 4 } = {}) {
|
|
737
|
+
super("KuwaharaEffect", Et, {
|
|
738
|
+
blendFunction: t,
|
|
742
739
|
uniforms: /* @__PURE__ */ new Map([
|
|
743
|
-
["radius", new
|
|
744
|
-
["sectorCount", new
|
|
740
|
+
["radius", new T(e)],
|
|
741
|
+
["sectorCount", new T(o)]
|
|
745
742
|
])
|
|
746
743
|
});
|
|
747
744
|
}
|
|
@@ -751,11 +748,11 @@ class Pe extends q {
|
|
|
751
748
|
* @type {number}
|
|
752
749
|
*/
|
|
753
750
|
get radius() {
|
|
754
|
-
var
|
|
755
|
-
return (
|
|
751
|
+
var t;
|
|
752
|
+
return (t = this.uniforms.get("radius")) == null ? void 0 : t.value;
|
|
756
753
|
}
|
|
757
|
-
set radius(
|
|
758
|
-
this.uniforms.get("radius").value =
|
|
754
|
+
set radius(t) {
|
|
755
|
+
this.uniforms.get("radius").value = t;
|
|
759
756
|
}
|
|
760
757
|
/**
|
|
761
758
|
* The sector count.
|
|
@@ -763,65 +760,65 @@ class Pe extends q {
|
|
|
763
760
|
* @type {number}
|
|
764
761
|
*/
|
|
765
762
|
get sectorCount() {
|
|
766
|
-
var
|
|
767
|
-
return (
|
|
763
|
+
var t;
|
|
764
|
+
return (t = this.uniforms.get("sectorCount")) == null ? void 0 : t.value;
|
|
768
765
|
}
|
|
769
|
-
set sectorCount(
|
|
770
|
-
this.uniforms.get("sectorCount").value =
|
|
766
|
+
set sectorCount(t) {
|
|
767
|
+
this.uniforms.get("sectorCount").value = t;
|
|
771
768
|
}
|
|
772
769
|
}
|
|
773
|
-
const
|
|
770
|
+
const ao = /* @__PURE__ */ c({
|
|
774
771
|
__name: "KuwaharaPmndrs",
|
|
775
772
|
props: {
|
|
776
773
|
blendFunction: {},
|
|
777
774
|
radius: {},
|
|
778
775
|
sectorCount: {}
|
|
779
776
|
},
|
|
780
|
-
setup(
|
|
781
|
-
const
|
|
782
|
-
() => new
|
|
783
|
-
|
|
777
|
+
setup(i, { expose: t }) {
|
|
778
|
+
const e = i, { pass: o, effect: s } = h(
|
|
779
|
+
() => new Be(e),
|
|
780
|
+
e
|
|
784
781
|
);
|
|
785
|
-
return
|
|
782
|
+
return t({ pass: o, effect: s }), v(
|
|
786
783
|
[
|
|
787
|
-
[() =>
|
|
788
|
-
[() =>
|
|
789
|
-
[() =>
|
|
784
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
785
|
+
[() => e.radius, "radius"],
|
|
786
|
+
[() => e.sectorCount, "sectorCount"]
|
|
790
787
|
],
|
|
791
788
|
s,
|
|
792
|
-
() => new
|
|
789
|
+
() => new Be()
|
|
793
790
|
), () => {
|
|
794
791
|
};
|
|
795
792
|
}
|
|
796
|
-
}),
|
|
793
|
+
}), ro = /* @__PURE__ */ c({
|
|
797
794
|
__name: "ColorAveragePmndrs",
|
|
798
795
|
props: {
|
|
799
796
|
blendFunction: {},
|
|
800
797
|
opacity: {}
|
|
801
798
|
},
|
|
802
|
-
setup(
|
|
803
|
-
const
|
|
804
|
-
return
|
|
805
|
-
() =>
|
|
799
|
+
setup(i, { expose: t }) {
|
|
800
|
+
const e = i, { pass: o, effect: s } = h(() => new te(e.blendFunction), e);
|
|
801
|
+
return t({ pass: o, effect: s }), H(
|
|
802
|
+
() => e.blendFunction,
|
|
806
803
|
s,
|
|
807
804
|
"blendMode.blendFunction",
|
|
808
|
-
() => new
|
|
809
|
-
),
|
|
810
|
-
[s, () =>
|
|
805
|
+
() => new te()
|
|
806
|
+
), g(
|
|
807
|
+
[s, () => e.opacity],
|
|
811
808
|
() => {
|
|
812
|
-
var a,
|
|
809
|
+
var a, r;
|
|
813
810
|
if (s.value)
|
|
814
|
-
if (
|
|
815
|
-
(a = s.value) == null || a.blendMode.setOpacity(
|
|
811
|
+
if (e.opacity !== void 0)
|
|
812
|
+
(a = s.value) == null || a.blendMode.setOpacity(e.opacity);
|
|
816
813
|
else {
|
|
817
|
-
const n = new
|
|
818
|
-
(
|
|
814
|
+
const n = new te();
|
|
815
|
+
(r = s.value) == null || r.blendMode.setOpacity(n.blendMode.getOpacity()), n.dispose();
|
|
819
816
|
}
|
|
820
817
|
}
|
|
821
818
|
), () => {
|
|
822
819
|
};
|
|
823
820
|
}
|
|
824
|
-
}),
|
|
821
|
+
}), io = /* @__PURE__ */ c({
|
|
825
822
|
__name: "LensDistortionPmndrs",
|
|
826
823
|
props: {
|
|
827
824
|
distortion: {},
|
|
@@ -829,24 +826,24 @@ const _t = /* @__PURE__ */ u({
|
|
|
829
826
|
focalLength: {},
|
|
830
827
|
skew: {}
|
|
831
828
|
},
|
|
832
|
-
setup(
|
|
833
|
-
const
|
|
834
|
-
() => new
|
|
835
|
-
...
|
|
836
|
-
distortion:
|
|
837
|
-
principalPoint:
|
|
838
|
-
focalLength:
|
|
829
|
+
setup(i, { expose: t }) {
|
|
830
|
+
const e = i, { pass: o, effect: s } = h(
|
|
831
|
+
() => new Ae({
|
|
832
|
+
...e,
|
|
833
|
+
distortion: e.distortion ? Array.isArray(e.distortion) ? new f(...e.distortion) : e.distortion : new f(),
|
|
834
|
+
principalPoint: e.principalPoint ? Array.isArray(e.principalPoint) ? new f(...e.principalPoint) : e.principalPoint : new f(),
|
|
835
|
+
focalLength: e.focalLength ? Array.isArray(e.focalLength) ? new f(...e.focalLength) : e.focalLength : new f()
|
|
839
836
|
}),
|
|
840
|
-
|
|
837
|
+
e
|
|
841
838
|
);
|
|
842
|
-
return
|
|
843
|
-
|
|
839
|
+
return t({ pass: o, effect: s }), de(
|
|
840
|
+
e,
|
|
844
841
|
s,
|
|
845
|
-
() => new
|
|
842
|
+
() => new Ae()
|
|
846
843
|
), () => {
|
|
847
844
|
};
|
|
848
845
|
}
|
|
849
|
-
}),
|
|
846
|
+
}), no = /* @__PURE__ */ c({
|
|
850
847
|
__name: "ShockWavePmndrs",
|
|
851
848
|
props: {
|
|
852
849
|
position: {},
|
|
@@ -855,30 +852,30 @@ const _t = /* @__PURE__ */ u({
|
|
|
855
852
|
maxRadius: {},
|
|
856
853
|
waveSize: {}
|
|
857
854
|
},
|
|
858
|
-
setup(
|
|
859
|
-
const
|
|
860
|
-
() => new
|
|
861
|
-
|
|
855
|
+
setup(i, { expose: t }) {
|
|
856
|
+
const e = i, { camera: o } = C(), { pass: s, effect: a } = h(
|
|
857
|
+
() => new ye(o.value, Array.isArray(e.position) ? new O(...e.position) : e.position, e),
|
|
858
|
+
e
|
|
862
859
|
);
|
|
863
|
-
return
|
|
864
|
-
() =>
|
|
865
|
-
(
|
|
866
|
-
a.value && (Array.isArray(
|
|
860
|
+
return t({ pass: s, effect: a }), g(
|
|
861
|
+
() => e.position,
|
|
862
|
+
(r) => {
|
|
863
|
+
a.value && (Array.isArray(r) ? a.value.position.set(...r) : r instanceof O && a.value.position.copy(r));
|
|
867
864
|
},
|
|
868
865
|
{ immediate: !0 }
|
|
869
|
-
),
|
|
866
|
+
), v(
|
|
870
867
|
[
|
|
871
|
-
[() =>
|
|
872
|
-
[() =>
|
|
873
|
-
[() =>
|
|
874
|
-
[() =>
|
|
868
|
+
[() => e.amplitude, "amplitude"],
|
|
869
|
+
[() => e.waveSize, "waveSize"],
|
|
870
|
+
[() => e.maxRadius, "maxRadius"],
|
|
871
|
+
[() => e.speed, "speed"]
|
|
875
872
|
],
|
|
876
873
|
a,
|
|
877
|
-
() => new
|
|
874
|
+
() => new ye()
|
|
878
875
|
), () => {
|
|
879
876
|
};
|
|
880
877
|
}
|
|
881
|
-
}),
|
|
878
|
+
}), lo = /* @__PURE__ */ c({
|
|
882
879
|
__name: "TiltShiftPmndrs",
|
|
883
880
|
props: {
|
|
884
881
|
blendFunction: {},
|
|
@@ -891,73 +888,73 @@ const _t = /* @__PURE__ */ u({
|
|
|
891
888
|
resolutionX: {},
|
|
892
889
|
resolutionY: {}
|
|
893
890
|
},
|
|
894
|
-
setup(
|
|
895
|
-
const
|
|
896
|
-
return
|
|
891
|
+
setup(i, { expose: t }) {
|
|
892
|
+
const e = i, { pass: o, effect: s } = h(() => new Me(e), e);
|
|
893
|
+
return t({ pass: o, effect: s }), v(
|
|
897
894
|
[
|
|
898
|
-
[() =>
|
|
899
|
-
[() =>
|
|
900
|
-
[() =>
|
|
901
|
-
[() =>
|
|
902
|
-
[() =>
|
|
903
|
-
[() =>
|
|
904
|
-
[() =>
|
|
905
|
-
[() =>
|
|
906
|
-
[() =>
|
|
895
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
896
|
+
[() => e.offset, "offset"],
|
|
897
|
+
[() => e.rotation, "rotation"],
|
|
898
|
+
[() => e.focusArea, "focusArea"],
|
|
899
|
+
[() => e.feather, "feather"],
|
|
900
|
+
[() => e.kernelSize, "kernelSize"],
|
|
901
|
+
[() => e.resolutionScale, "resolution.scale"],
|
|
902
|
+
[() => e.resolutionX, "resolution.width"],
|
|
903
|
+
[() => e.resolutionY, "resolution.height"]
|
|
907
904
|
],
|
|
908
905
|
s,
|
|
909
|
-
() => new
|
|
906
|
+
() => new Me()
|
|
910
907
|
), () => {
|
|
911
908
|
};
|
|
912
909
|
}
|
|
913
|
-
}),
|
|
910
|
+
}), uo = /* @__PURE__ */ c({
|
|
914
911
|
__name: "DotScreenPmndrs",
|
|
915
912
|
props: {
|
|
916
913
|
angle: {},
|
|
917
914
|
scale: {},
|
|
918
915
|
blendFunction: {}
|
|
919
916
|
},
|
|
920
|
-
setup(
|
|
921
|
-
const
|
|
922
|
-
return
|
|
917
|
+
setup(i, { expose: t }) {
|
|
918
|
+
const e = i, { pass: o, effect: s } = h(() => new Te(e), e);
|
|
919
|
+
return t({ pass: o, effect: s }), v(
|
|
923
920
|
[
|
|
924
|
-
[() =>
|
|
925
|
-
[() =>
|
|
926
|
-
[() =>
|
|
921
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
922
|
+
[() => e.angle, "angle"],
|
|
923
|
+
[() => e.scale, "scale"]
|
|
927
924
|
],
|
|
928
925
|
s,
|
|
929
|
-
() => new
|
|
926
|
+
() => new Te()
|
|
930
927
|
), () => {
|
|
931
928
|
};
|
|
932
929
|
}
|
|
933
|
-
}),
|
|
930
|
+
}), co = /* @__PURE__ */ c({
|
|
934
931
|
__name: "SepiaPmndrs",
|
|
935
932
|
props: {
|
|
936
933
|
blendFunction: {},
|
|
937
934
|
intensity: {}
|
|
938
935
|
},
|
|
939
|
-
setup(
|
|
940
|
-
const
|
|
941
|
-
return
|
|
936
|
+
setup(i, { expose: t }) {
|
|
937
|
+
const e = i, { pass: o, effect: s } = h(() => new Ce(e), e);
|
|
938
|
+
return t({ pass: o, effect: s }), v(
|
|
942
939
|
[
|
|
943
|
-
[() =>
|
|
944
|
-
[() =>
|
|
940
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
941
|
+
[() => e.intensity, "intensity"]
|
|
945
942
|
],
|
|
946
943
|
s,
|
|
947
|
-
() => new
|
|
944
|
+
() => new Ce()
|
|
948
945
|
), () => {
|
|
949
946
|
};
|
|
950
947
|
}
|
|
951
948
|
});
|
|
952
|
-
class
|
|
949
|
+
class Ne extends K {
|
|
953
950
|
/**
|
|
954
951
|
* Creates a new LinocutEffect instance.
|
|
955
952
|
*
|
|
956
953
|
* @param {LinocutPmndrsProps} [options] - Configuration options for the effect.
|
|
957
954
|
*
|
|
958
955
|
*/
|
|
959
|
-
constructor({ blendFunction:
|
|
960
|
-
const
|
|
956
|
+
constructor({ blendFunction: t = J.NORMAL, scale: e = 0.85, noiseScale: o = 0, center: s = [0.5, 0.5], rotation: a = 0 } = {}) {
|
|
957
|
+
const r = Array.isArray(s) ? new f().fromArray(s) : s;
|
|
961
958
|
super("LinocutEffect", `
|
|
962
959
|
uniform float scale;
|
|
963
960
|
uniform float noiseScale;
|
|
@@ -1019,45 +1016,45 @@ class De extends q {
|
|
|
1019
1016
|
outputColor = vec4(vec3(f), 1.0);
|
|
1020
1017
|
}
|
|
1021
1018
|
`, {
|
|
1022
|
-
blendFunction:
|
|
1019
|
+
blendFunction: t,
|
|
1023
1020
|
uniforms: /* @__PURE__ */ new Map([
|
|
1024
|
-
["scale", new
|
|
1025
|
-
["noiseScale", new
|
|
1026
|
-
["center", new
|
|
1027
|
-
["rotation", new
|
|
1021
|
+
["scale", new T(e)],
|
|
1022
|
+
["noiseScale", new T(o)],
|
|
1023
|
+
["center", new T(r)],
|
|
1024
|
+
["rotation", new T(a)]
|
|
1028
1025
|
])
|
|
1029
1026
|
});
|
|
1030
1027
|
}
|
|
1031
1028
|
get scale() {
|
|
1032
|
-
var
|
|
1033
|
-
return (
|
|
1029
|
+
var t;
|
|
1030
|
+
return (t = this.uniforms.get("scale")) == null ? void 0 : t.value;
|
|
1034
1031
|
}
|
|
1035
|
-
set scale(
|
|
1036
|
-
this.uniforms.get("scale").value =
|
|
1032
|
+
set scale(t) {
|
|
1033
|
+
this.uniforms.get("scale").value = t;
|
|
1037
1034
|
}
|
|
1038
1035
|
get noiseScale() {
|
|
1039
|
-
var
|
|
1040
|
-
return (
|
|
1036
|
+
var t;
|
|
1037
|
+
return (t = this.uniforms.get("noiseScale")) == null ? void 0 : t.value;
|
|
1041
1038
|
}
|
|
1042
|
-
set noiseScale(
|
|
1043
|
-
this.uniforms.get("noiseScale").value =
|
|
1039
|
+
set noiseScale(t) {
|
|
1040
|
+
this.uniforms.get("noiseScale").value = t;
|
|
1044
1041
|
}
|
|
1045
1042
|
get center() {
|
|
1046
|
-
var
|
|
1047
|
-
return (
|
|
1043
|
+
var t;
|
|
1044
|
+
return (t = this.uniforms.get("center")) == null ? void 0 : t.value;
|
|
1048
1045
|
}
|
|
1049
|
-
set center(
|
|
1050
|
-
this.uniforms.get("center").value = Array.isArray(
|
|
1046
|
+
set center(t) {
|
|
1047
|
+
this.uniforms.get("center").value = Array.isArray(t) ? new f().fromArray(t) : t;
|
|
1051
1048
|
}
|
|
1052
1049
|
get rotation() {
|
|
1053
|
-
var
|
|
1054
|
-
return (
|
|
1050
|
+
var t;
|
|
1051
|
+
return (t = this.uniforms.get("rotation")) == null ? void 0 : t.value;
|
|
1055
1052
|
}
|
|
1056
|
-
set rotation(
|
|
1057
|
-
this.uniforms.get("rotation").value =
|
|
1053
|
+
set rotation(t) {
|
|
1054
|
+
this.uniforms.get("rotation").value = t;
|
|
1058
1055
|
}
|
|
1059
1056
|
}
|
|
1060
|
-
const
|
|
1057
|
+
const fo = /* @__PURE__ */ c({
|
|
1061
1058
|
__name: "LinocutPmndrs",
|
|
1062
1059
|
props: {
|
|
1063
1060
|
blendFunction: {},
|
|
@@ -1066,44 +1063,44 @@ const ro = /* @__PURE__ */ u({
|
|
|
1066
1063
|
center: {},
|
|
1067
1064
|
rotation: {}
|
|
1068
1065
|
},
|
|
1069
|
-
setup(
|
|
1070
|
-
const
|
|
1071
|
-
() => new
|
|
1072
|
-
...
|
|
1073
|
-
center:
|
|
1066
|
+
setup(i, { expose: t }) {
|
|
1067
|
+
const e = i, { pass: o, effect: s } = h(
|
|
1068
|
+
() => new Ne({
|
|
1069
|
+
...e,
|
|
1070
|
+
center: e.center instanceof f ? [e.center.x, e.center.y] : e.center
|
|
1074
1071
|
}),
|
|
1075
|
-
|
|
1072
|
+
e
|
|
1076
1073
|
);
|
|
1077
|
-
return
|
|
1074
|
+
return t({ pass: o, effect: s }), v(
|
|
1078
1075
|
[
|
|
1079
|
-
[() =>
|
|
1080
|
-
[() =>
|
|
1081
|
-
[() =>
|
|
1082
|
-
[() =>
|
|
1083
|
-
[() =>
|
|
1076
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
1077
|
+
[() => e.scale, "scale"],
|
|
1078
|
+
[() => e.noiseScale, "noiseScale"],
|
|
1079
|
+
[() => e.center, "center"],
|
|
1080
|
+
[() => e.rotation, "rotation"]
|
|
1084
1081
|
],
|
|
1085
1082
|
s,
|
|
1086
|
-
() => new
|
|
1083
|
+
() => new Ne()
|
|
1087
1084
|
), () => {
|
|
1088
1085
|
};
|
|
1089
1086
|
}
|
|
1090
|
-
}),
|
|
1087
|
+
}), ho = /* @__PURE__ */ c({
|
|
1091
1088
|
__name: "DepthPickingPassPmndrs",
|
|
1092
1089
|
props: {
|
|
1093
1090
|
depthPacking: {},
|
|
1094
1091
|
mode: {}
|
|
1095
1092
|
},
|
|
1096
|
-
setup(
|
|
1097
|
-
const
|
|
1098
|
-
o != null && o.value && (
|
|
1093
|
+
setup(i, { expose: t }) {
|
|
1094
|
+
const e = i, o = Q(Z), s = new et(e), a = S(() => {
|
|
1095
|
+
o != null && o.value && (ue(() => a()), o.value.addPass(s));
|
|
1099
1096
|
});
|
|
1100
|
-
return
|
|
1101
|
-
var
|
|
1102
|
-
!(o != null && o.value) || !s || ((
|
|
1103
|
-
}),
|
|
1097
|
+
return z(() => {
|
|
1098
|
+
var r;
|
|
1099
|
+
!(o != null && o.value) || !s || ((r = o == null ? void 0 : o.value) == null || r.removePass(s), s.dispose());
|
|
1100
|
+
}), t({ pass: s }), () => {
|
|
1104
1101
|
};
|
|
1105
1102
|
}
|
|
1106
|
-
}),
|
|
1103
|
+
}), po = /* @__PURE__ */ c({
|
|
1107
1104
|
__name: "GodRaysPmndrs",
|
|
1108
1105
|
props: {
|
|
1109
1106
|
blendFunction: {},
|
|
@@ -1121,51 +1118,51 @@ const ro = /* @__PURE__ */ u({
|
|
|
1121
1118
|
samples: {},
|
|
1122
1119
|
clampMax: {}
|
|
1123
1120
|
},
|
|
1124
|
-
setup(
|
|
1125
|
-
const
|
|
1126
|
-
() =>
|
|
1127
|
-
new
|
|
1128
|
-
new
|
|
1121
|
+
setup(i, { expose: t }) {
|
|
1122
|
+
const e = i, { camera: o } = C(), s = F(
|
|
1123
|
+
() => e.lightSource ?? new je(
|
|
1124
|
+
new ot(1e-5),
|
|
1125
|
+
new Ve({ visible: !1 })
|
|
1129
1126
|
)
|
|
1130
|
-
), { pass: a, effect:
|
|
1131
|
-
() => new
|
|
1132
|
-
|
|
1127
|
+
), { pass: a, effect: r } = h(
|
|
1128
|
+
() => new oe(o.value, s.value, e),
|
|
1129
|
+
e
|
|
1133
1130
|
);
|
|
1134
|
-
return
|
|
1131
|
+
return t({ pass: a, effect: r }), v(
|
|
1135
1132
|
[
|
|
1136
|
-
[() =>
|
|
1137
|
-
[() =>
|
|
1138
|
-
[() =>
|
|
1139
|
-
[() =>
|
|
1140
|
-
[() =>
|
|
1141
|
-
[() =>
|
|
1142
|
-
[() =>
|
|
1143
|
-
[() =>
|
|
1144
|
-
[() =>
|
|
1145
|
-
[() =>
|
|
1146
|
-
[() =>
|
|
1147
|
-
[() =>
|
|
1133
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
1134
|
+
[() => e.density, "godRaysMaterial.density"],
|
|
1135
|
+
[() => e.decay, "godRaysMaterial.decay"],
|
|
1136
|
+
[() => e.weight, "godRaysMaterial.weight"],
|
|
1137
|
+
[() => e.exposure, "godRaysMaterial.exposure"],
|
|
1138
|
+
[() => e.samples, "godRaysMaterial.samples"],
|
|
1139
|
+
[() => e.clampMax, "godRaysMaterial.maxIntensity"],
|
|
1140
|
+
[() => e.resolutionScale, "resolution.scale"],
|
|
1141
|
+
[() => e.resolutionX, "resolution.width"],
|
|
1142
|
+
[() => e.resolutionY, "resolution.height"],
|
|
1143
|
+
[() => e.kernelSize, "blurPass.kernelSize"],
|
|
1144
|
+
[() => e.blur, "blurPass.enabled"]
|
|
1148
1145
|
],
|
|
1149
|
-
|
|
1150
|
-
() => new
|
|
1151
|
-
),
|
|
1152
|
-
[() =>
|
|
1146
|
+
r,
|
|
1147
|
+
() => new oe()
|
|
1148
|
+
), g(
|
|
1149
|
+
[() => e.lightSource, r],
|
|
1153
1150
|
() => {
|
|
1154
|
-
|
|
1151
|
+
r.value && (r.value.lightSource = fe(s.value));
|
|
1155
1152
|
},
|
|
1156
1153
|
{ immediate: !0 }
|
|
1157
|
-
),
|
|
1158
|
-
[() =>
|
|
1154
|
+
), g(
|
|
1155
|
+
[() => e.opacity],
|
|
1159
1156
|
() => {
|
|
1160
|
-
var n,
|
|
1161
|
-
if (
|
|
1162
|
-
(n =
|
|
1157
|
+
var n, u;
|
|
1158
|
+
if (e.opacity !== void 0)
|
|
1159
|
+
(n = r.value) == null || n.blendMode.setOpacity(e.opacity);
|
|
1163
1160
|
else {
|
|
1164
|
-
const
|
|
1161
|
+
const l = new oe(
|
|
1165
1162
|
o.value,
|
|
1166
|
-
|
|
1163
|
+
fe(s.value)
|
|
1167
1164
|
);
|
|
1168
|
-
(
|
|
1165
|
+
(u = r.value) == null || u.blendMode.setOpacity(l.blendMode.getOpacity()), l.dispose();
|
|
1169
1166
|
}
|
|
1170
1167
|
},
|
|
1171
1168
|
{
|
|
@@ -1174,69 +1171,69 @@ const ro = /* @__PURE__ */ u({
|
|
|
1174
1171
|
), () => {
|
|
1175
1172
|
};
|
|
1176
1173
|
}
|
|
1177
|
-
}),
|
|
1174
|
+
}), mo = /* @__PURE__ */ c({
|
|
1178
1175
|
__name: "ColorDepthPmndrs",
|
|
1179
1176
|
props: {
|
|
1180
1177
|
blendFunction: {},
|
|
1181
1178
|
bits: {},
|
|
1182
1179
|
opacity: {}
|
|
1183
1180
|
},
|
|
1184
|
-
setup(
|
|
1185
|
-
const
|
|
1186
|
-
return
|
|
1187
|
-
() =>
|
|
1181
|
+
setup(i, { expose: t }) {
|
|
1182
|
+
const e = i, { pass: o, effect: s } = h(() => new X(e), e);
|
|
1183
|
+
return t({ pass: o, effect: s }), H(
|
|
1184
|
+
() => e.blendFunction,
|
|
1188
1185
|
s,
|
|
1189
1186
|
"blendMode.blendFunction",
|
|
1190
|
-
() => new
|
|
1191
|
-
),
|
|
1192
|
-
[s, () =>
|
|
1187
|
+
() => new X()
|
|
1188
|
+
), g(
|
|
1189
|
+
[s, () => e.bits],
|
|
1193
1190
|
() => {
|
|
1194
|
-
var a,
|
|
1191
|
+
var a, r;
|
|
1195
1192
|
if (s.value)
|
|
1196
|
-
if (
|
|
1197
|
-
(a = s.value) == null || a.setBitDepth(
|
|
1193
|
+
if (e.bits !== void 0)
|
|
1194
|
+
(a = s.value) == null || a.setBitDepth(e.bits);
|
|
1198
1195
|
else {
|
|
1199
|
-
const n = new
|
|
1200
|
-
(
|
|
1196
|
+
const n = new X();
|
|
1197
|
+
(r = s.value) == null || r.setBitDepth(n.getBitDepth()), n.dispose();
|
|
1201
1198
|
}
|
|
1202
1199
|
}
|
|
1203
|
-
),
|
|
1204
|
-
[s, () =>
|
|
1200
|
+
), g(
|
|
1201
|
+
[s, () => e.opacity],
|
|
1205
1202
|
() => {
|
|
1206
|
-
var a,
|
|
1203
|
+
var a, r;
|
|
1207
1204
|
if (s.value)
|
|
1208
|
-
if (
|
|
1209
|
-
(a = s.value) == null || a.blendMode.setOpacity(
|
|
1205
|
+
if (e.opacity !== void 0)
|
|
1206
|
+
(a = s.value) == null || a.blendMode.setOpacity(e.opacity);
|
|
1210
1207
|
else {
|
|
1211
|
-
const n = new
|
|
1212
|
-
(
|
|
1208
|
+
const n = new X();
|
|
1209
|
+
(r = s.value) == null || r.blendMode.setOpacity(n.blendMode.getOpacity()), n.dispose();
|
|
1213
1210
|
}
|
|
1214
1211
|
}
|
|
1215
1212
|
), () => {
|
|
1216
1213
|
};
|
|
1217
1214
|
}
|
|
1218
|
-
}),
|
|
1215
|
+
}), vo = /* @__PURE__ */ c({
|
|
1219
1216
|
__name: "GridPmndrs",
|
|
1220
1217
|
props: {
|
|
1221
1218
|
blendFunction: {},
|
|
1222
1219
|
scale: {},
|
|
1223
1220
|
lineWidth: {}
|
|
1224
1221
|
},
|
|
1225
|
-
setup(
|
|
1226
|
-
const
|
|
1227
|
-
return
|
|
1222
|
+
setup(i, { expose: t }) {
|
|
1223
|
+
const e = i, { pass: o, effect: s } = h(() => new Ee(e), e);
|
|
1224
|
+
return t({ pass: o, effect: s }), v(
|
|
1228
1225
|
[
|
|
1229
|
-
[() =>
|
|
1230
|
-
[() =>
|
|
1231
|
-
[() =>
|
|
1226
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
1227
|
+
[() => e.scale, "scale"],
|
|
1228
|
+
[() => e.lineWidth, "lineWidth"]
|
|
1232
1229
|
],
|
|
1233
1230
|
s,
|
|
1234
|
-
() => new
|
|
1231
|
+
() => new Ee()
|
|
1235
1232
|
), () => {
|
|
1236
1233
|
};
|
|
1237
1234
|
}
|
|
1238
1235
|
});
|
|
1239
|
-
class
|
|
1236
|
+
class ze extends K {
|
|
1240
1237
|
/**
|
|
1241
1238
|
* Creates a new FishEyeEffect instance.
|
|
1242
1239
|
*
|
|
@@ -1247,7 +1244,7 @@ class Le extends q {
|
|
|
1247
1244
|
* @param {number} [options.scale] - Scale.
|
|
1248
1245
|
*
|
|
1249
1246
|
*/
|
|
1250
|
-
constructor({ blendFunction:
|
|
1247
|
+
constructor({ blendFunction: t = J.NORMAL, lensS: e = new f(1, 1), lensF: o = new f(0, 1), scale: s = 1 } = {}) {
|
|
1251
1248
|
super("FishEyeEffect", `
|
|
1252
1249
|
uniform vec2 lensS;
|
|
1253
1250
|
uniform vec2 lensF;
|
|
@@ -1267,11 +1264,11 @@ class Le extends q {
|
|
|
1267
1264
|
outputColor = vec4(inputColor.rgb, inputColor.a); // Preserves original alpha
|
|
1268
1265
|
}
|
|
1269
1266
|
`, {
|
|
1270
|
-
blendFunction:
|
|
1267
|
+
blendFunction: t,
|
|
1271
1268
|
uniforms: /* @__PURE__ */ new Map([
|
|
1272
|
-
["lensS", new
|
|
1273
|
-
["lensF", new
|
|
1274
|
-
["scale", new
|
|
1269
|
+
["lensS", new T(e)],
|
|
1270
|
+
["lensF", new T(o)],
|
|
1271
|
+
["scale", new T(s)]
|
|
1275
1272
|
])
|
|
1276
1273
|
});
|
|
1277
1274
|
}
|
|
@@ -1281,11 +1278,11 @@ class Le extends q {
|
|
|
1281
1278
|
* @type {Vector2}
|
|
1282
1279
|
*/
|
|
1283
1280
|
get lensS() {
|
|
1284
|
-
var
|
|
1285
|
-
return (
|
|
1281
|
+
var t;
|
|
1282
|
+
return (t = this.uniforms.get("lensS")) == null ? void 0 : t.value;
|
|
1286
1283
|
}
|
|
1287
|
-
set lensS(
|
|
1288
|
-
this.uniforms.get("lensS").value =
|
|
1284
|
+
set lensS(t) {
|
|
1285
|
+
this.uniforms.get("lensS").value = t;
|
|
1289
1286
|
}
|
|
1290
1287
|
/**
|
|
1291
1288
|
* The lensF.
|
|
@@ -1293,11 +1290,11 @@ class Le extends q {
|
|
|
1293
1290
|
* @type {Vector2}
|
|
1294
1291
|
*/
|
|
1295
1292
|
get lensF() {
|
|
1296
|
-
var
|
|
1297
|
-
return (
|
|
1293
|
+
var t;
|
|
1294
|
+
return (t = this.uniforms.get("lensF")) == null ? void 0 : t.value;
|
|
1298
1295
|
}
|
|
1299
|
-
set lensF(
|
|
1300
|
-
this.uniforms.get("lensF").value =
|
|
1296
|
+
set lensF(t) {
|
|
1297
|
+
this.uniforms.get("lensF").value = t;
|
|
1301
1298
|
}
|
|
1302
1299
|
/**
|
|
1303
1300
|
* The scale.
|
|
@@ -1305,14 +1302,14 @@ class Le extends q {
|
|
|
1305
1302
|
* @type {number}
|
|
1306
1303
|
*/
|
|
1307
1304
|
get scale() {
|
|
1308
|
-
var
|
|
1309
|
-
return (
|
|
1305
|
+
var t;
|
|
1306
|
+
return (t = this.uniforms.get("scale")) == null ? void 0 : t.value;
|
|
1310
1307
|
}
|
|
1311
|
-
set scale(
|
|
1312
|
-
this.uniforms.get("scale").value =
|
|
1308
|
+
set scale(t) {
|
|
1309
|
+
this.uniforms.get("scale").value = t;
|
|
1313
1310
|
}
|
|
1314
1311
|
}
|
|
1315
|
-
const
|
|
1312
|
+
const go = /* @__PURE__ */ c({
|
|
1316
1313
|
__name: "FishEyePmndrs",
|
|
1317
1314
|
props: {
|
|
1318
1315
|
blendFunction: {},
|
|
@@ -1320,52 +1317,247 @@ const co = /* @__PURE__ */ u({
|
|
|
1320
1317
|
lensF: {},
|
|
1321
1318
|
scale: {}
|
|
1322
1319
|
},
|
|
1323
|
-
setup(
|
|
1324
|
-
const
|
|
1325
|
-
() => Array.isArray(
|
|
1326
|
-
), s =
|
|
1327
|
-
() => Array.isArray(
|
|
1328
|
-
), { pass: a, effect:
|
|
1329
|
-
() => new
|
|
1330
|
-
...
|
|
1320
|
+
setup(i, { expose: t }) {
|
|
1321
|
+
const e = i, o = F(
|
|
1322
|
+
() => Array.isArray(e.lensS) ? new f(...e.lensS) : e.lensS
|
|
1323
|
+
), s = F(
|
|
1324
|
+
() => Array.isArray(e.lensF) ? new f(...e.lensF) : e.lensF
|
|
1325
|
+
), { pass: a, effect: r } = h(
|
|
1326
|
+
() => new ze({
|
|
1327
|
+
...e,
|
|
1331
1328
|
lensS: o.value,
|
|
1332
1329
|
lensF: s.value
|
|
1333
1330
|
}),
|
|
1334
|
-
|
|
1331
|
+
e
|
|
1335
1332
|
);
|
|
1336
|
-
return
|
|
1333
|
+
return t({ pass: a, effect: r }), v(
|
|
1337
1334
|
[
|
|
1338
|
-
[() =>
|
|
1335
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
1339
1336
|
[() => o.value, "lensS"],
|
|
1340
1337
|
[() => s.value, "lensF"],
|
|
1341
|
-
[() =>
|
|
1338
|
+
[() => e.scale, "scale"]
|
|
1342
1339
|
],
|
|
1343
|
-
|
|
1344
|
-
() => new
|
|
1340
|
+
r,
|
|
1341
|
+
() => new ze()
|
|
1345
1342
|
), () => {
|
|
1346
1343
|
};
|
|
1347
1344
|
}
|
|
1348
|
-
}),
|
|
1345
|
+
}), xo = /* @__PURE__ */ c({
|
|
1349
1346
|
__name: "BrightnessContrastPmndrs",
|
|
1350
1347
|
props: {
|
|
1351
1348
|
blendFunction: {},
|
|
1352
1349
|
brightness: {},
|
|
1353
1350
|
contrast: {}
|
|
1354
1351
|
},
|
|
1355
|
-
setup(
|
|
1356
|
-
const
|
|
1357
|
-
return
|
|
1352
|
+
setup(i, { expose: t }) {
|
|
1353
|
+
const e = i, { pass: o, effect: s } = h(() => new Pe(e), e);
|
|
1354
|
+
return t({ pass: o, effect: s }), v(
|
|
1358
1355
|
[
|
|
1359
|
-
[() =>
|
|
1360
|
-
[() =>
|
|
1361
|
-
[() =>
|
|
1356
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
1357
|
+
[() => e.brightness, "brightness"],
|
|
1358
|
+
[() => e.contrast, "contrast"]
|
|
1362
1359
|
],
|
|
1363
1360
|
s,
|
|
1364
|
-
() => new
|
|
1361
|
+
() => new Pe()
|
|
1362
|
+
), () => {
|
|
1363
|
+
};
|
|
1364
|
+
}
|
|
1365
|
+
}), ne = {
|
|
1366
|
+
OFF: 0,
|
|
1367
|
+
EDGES: 1,
|
|
1368
|
+
WEIGHTS: 2
|
|
1369
|
+
}, bo = /* @__PURE__ */ c({
|
|
1370
|
+
__name: "SMAAPmndrs",
|
|
1371
|
+
props: {
|
|
1372
|
+
blendFunction: {},
|
|
1373
|
+
opacity: {},
|
|
1374
|
+
preset: {},
|
|
1375
|
+
edgeDetectionMode: {},
|
|
1376
|
+
predicationMode: {},
|
|
1377
|
+
debug: {}
|
|
1378
|
+
},
|
|
1379
|
+
setup(i, { expose: t }) {
|
|
1380
|
+
const e = i, { pass: o, effect: s } = h(() => new se(e), e), { camera: a } = C(), r = Q(Z);
|
|
1381
|
+
t({ pass: o, effect: s });
|
|
1382
|
+
const n = new se();
|
|
1383
|
+
v(
|
|
1384
|
+
[
|
|
1385
|
+
[() => Number(e.blendFunction), "blendMode.blendFunction"],
|
|
1386
|
+
[() => Number(e.predicationMode), "edgeDetectionMaterial.predicationMode"],
|
|
1387
|
+
[() => Number(e.edgeDetectionMode), "edgeDetectionMaterial.edgeDetectionMode"]
|
|
1388
|
+
],
|
|
1389
|
+
s,
|
|
1390
|
+
() => new se()
|
|
1391
|
+
), g(
|
|
1392
|
+
[s, () => e.opacity],
|
|
1393
|
+
() => {
|
|
1394
|
+
s.value && (e.opacity !== void 0 ? s.value.blendMode.setOpacity(e.opacity) : s.value.blendMode.setOpacity(n.blendMode.getOpacity()));
|
|
1395
|
+
},
|
|
1396
|
+
{ immediate: !0 }
|
|
1397
|
+
), g(
|
|
1398
|
+
[s, () => e.preset],
|
|
1399
|
+
() => {
|
|
1400
|
+
s.value && s.value.applyPreset(Number(e.preset));
|
|
1401
|
+
}
|
|
1402
|
+
);
|
|
1403
|
+
let u = null, l = null;
|
|
1404
|
+
const d = (m) => {
|
|
1405
|
+
if (!s.value)
|
|
1406
|
+
return null;
|
|
1407
|
+
const p = m === "edges" ? s.value.edgesTexture : s.value.weightsTexture, w = new Xe(a.value, s.value, new Y({ texture: p }));
|
|
1408
|
+
return w.renderToScreen = !1, w.enabled = !1, w.fullscreenMaterial.encodeOutput = !1, w;
|
|
1409
|
+
}, x = (m) => {
|
|
1410
|
+
m === "edges" && !u ? u = d("edges") : m === "weights" && !l && (l = d("weights"));
|
|
1411
|
+
}, b = (m, p) => {
|
|
1412
|
+
!m || !(r != null && r.value) || m.enabled !== p && (m.enabled = p, m.renderToScreen = p, p && !(r != null && r.value.passes.includes(m)) ? r == null || r.value.addPass(m) : !p && (r != null && r.value.passes.includes(m)) && (r == null || r.value.removePass(m), m.dispose()));
|
|
1413
|
+
}, A = (m) => {
|
|
1414
|
+
if (!o.value)
|
|
1415
|
+
return;
|
|
1416
|
+
const p = m === ne.OFF, w = m === ne.EDGES, _ = m === ne.WEIGHTS;
|
|
1417
|
+
o.value.enabled = p, o.value.renderToScreen = p, w && x("edges"), _ && x("weights"), b(u, w), b(l, _), w || (u = null), _ || (l = null);
|
|
1418
|
+
};
|
|
1419
|
+
return g(
|
|
1420
|
+
() => e.debug,
|
|
1421
|
+
() => {
|
|
1422
|
+
!o.value || e.debug === void 0 || A(e.debug);
|
|
1423
|
+
},
|
|
1424
|
+
{ immediate: !0 }
|
|
1425
|
+
), () => {
|
|
1426
|
+
};
|
|
1427
|
+
}
|
|
1428
|
+
}), wo = /* @__PURE__ */ c({
|
|
1429
|
+
__name: "FXAAPmndrs",
|
|
1430
|
+
props: {
|
|
1431
|
+
blendFunction: {},
|
|
1432
|
+
opacity: {},
|
|
1433
|
+
samples: {},
|
|
1434
|
+
minEdgeThreshold: {},
|
|
1435
|
+
maxEdgeThreshold: {},
|
|
1436
|
+
subpixelQuality: {}
|
|
1437
|
+
},
|
|
1438
|
+
setup(i, { expose: t }) {
|
|
1439
|
+
const e = i, { pass: o, effect: s } = h(() => new ae(e), e);
|
|
1440
|
+
return t({ pass: o, effect: s }), v(
|
|
1441
|
+
[
|
|
1442
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
1443
|
+
[() => e.samples, "samples"],
|
|
1444
|
+
[() => e.minEdgeThreshold, "minEdgeThreshold"],
|
|
1445
|
+
[() => e.maxEdgeThreshold, "maxEdgeThreshold"],
|
|
1446
|
+
[() => e.subpixelQuality, "subpixelQuality"]
|
|
1447
|
+
],
|
|
1448
|
+
s,
|
|
1449
|
+
() => new ae()
|
|
1450
|
+
), g(
|
|
1451
|
+
[s, () => e.opacity],
|
|
1452
|
+
() => {
|
|
1453
|
+
var a, r;
|
|
1454
|
+
if (s.value)
|
|
1455
|
+
if (e.opacity !== void 0)
|
|
1456
|
+
(a = s.value) == null || a.blendMode.setOpacity(e.opacity);
|
|
1457
|
+
else {
|
|
1458
|
+
const n = new ae();
|
|
1459
|
+
(r = s.value) == null || r.blendMode.setOpacity(n.blendMode.getOpacity()), n.dispose();
|
|
1460
|
+
}
|
|
1461
|
+
},
|
|
1462
|
+
{ immediate: !0 }
|
|
1463
|
+
), () => {
|
|
1464
|
+
};
|
|
1465
|
+
}
|
|
1466
|
+
}), So = /* @__PURE__ */ c({
|
|
1467
|
+
__name: "TexturePmndrs",
|
|
1468
|
+
props: {
|
|
1469
|
+
blendFunction: {},
|
|
1470
|
+
texture: {},
|
|
1471
|
+
opacity: {}
|
|
1472
|
+
},
|
|
1473
|
+
setup(i, { expose: t }) {
|
|
1474
|
+
const e = i, { pass: o, effect: s } = h(() => new Y(e), e);
|
|
1475
|
+
return t({
|
|
1476
|
+
pass: o,
|
|
1477
|
+
effect: s
|
|
1478
|
+
}), v(
|
|
1479
|
+
[
|
|
1480
|
+
[() => e.blendFunction, "blendMode.blendFunction"]
|
|
1481
|
+
],
|
|
1482
|
+
s,
|
|
1483
|
+
() => new Y()
|
|
1484
|
+
), g(
|
|
1485
|
+
[() => e.opacity],
|
|
1486
|
+
() => {
|
|
1487
|
+
var a, r;
|
|
1488
|
+
if (e.opacity !== void 0)
|
|
1489
|
+
(a = s.value) == null || a.blendMode.setOpacity(e.opacity);
|
|
1490
|
+
else {
|
|
1491
|
+
const n = new Y();
|
|
1492
|
+
(r = s.value) == null || r.blendMode.setOpacity(n.blendMode.getOpacity()), n.dispose();
|
|
1493
|
+
}
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
immediate: !0
|
|
1497
|
+
}
|
|
1365
1498
|
), () => {
|
|
1366
1499
|
};
|
|
1367
1500
|
}
|
|
1368
|
-
}),
|
|
1501
|
+
}), Ao = /* @__PURE__ */ c({
|
|
1502
|
+
__name: "ASCIIPmndrs",
|
|
1503
|
+
props: {
|
|
1504
|
+
blendFunction: {},
|
|
1505
|
+
opacity: {},
|
|
1506
|
+
cellSize: {},
|
|
1507
|
+
inverted: { type: Boolean },
|
|
1508
|
+
color: {},
|
|
1509
|
+
useSceneColor: { type: Boolean },
|
|
1510
|
+
asciiTexture: {}
|
|
1511
|
+
},
|
|
1512
|
+
setup(i, { expose: t }) {
|
|
1513
|
+
const e = i, o = new re(), { asciiTexture: s, ...a } = e, { pass: r, effect: n } = h(() => new re(a), e);
|
|
1514
|
+
return t({ pass: r, effect: n }), z(() => {
|
|
1515
|
+
o.dispose();
|
|
1516
|
+
}), v(
|
|
1517
|
+
[
|
|
1518
|
+
[() => e.blendFunction, "blendMode.blendFunction"],
|
|
1519
|
+
[() => e.cellSize, "cellSize"],
|
|
1520
|
+
[() => e.inverted, "inverted"]
|
|
1521
|
+
],
|
|
1522
|
+
n,
|
|
1523
|
+
() => new re()
|
|
1524
|
+
), g(
|
|
1525
|
+
[n, () => e.useSceneColor],
|
|
1526
|
+
() => {
|
|
1527
|
+
n.value && (e.useSceneColor ? n.value.color = null : n.value.color = e.color ?? o.color);
|
|
1528
|
+
},
|
|
1529
|
+
{ immediate: !0 }
|
|
1530
|
+
), g(
|
|
1531
|
+
[n, () => e.opacity],
|
|
1532
|
+
() => {
|
|
1533
|
+
n.value && n.value.blendMode.setOpacity(e.opacity ?? o.blendMode.getOpacity());
|
|
1534
|
+
},
|
|
1535
|
+
{ immediate: !0 }
|
|
1536
|
+
), g(
|
|
1537
|
+
[n, () => e.color],
|
|
1538
|
+
() => {
|
|
1539
|
+
n.value && (e.useSceneColor || (n.value.color = e.color ?? null));
|
|
1540
|
+
},
|
|
1541
|
+
{ immediate: !0 }
|
|
1542
|
+
), g(
|
|
1543
|
+
[n, () => e.asciiTexture],
|
|
1544
|
+
() => {
|
|
1545
|
+
if (!n.value)
|
|
1546
|
+
return;
|
|
1547
|
+
const u = e.asciiTexture ? new tt(e.asciiTexture) : o.asciiTexture;
|
|
1548
|
+
n.value.asciiTexture = u;
|
|
1549
|
+
},
|
|
1550
|
+
{ immediate: !0 }
|
|
1551
|
+
), g(
|
|
1552
|
+
[n, () => e.blendFunction],
|
|
1553
|
+
() => {
|
|
1554
|
+
n.value && (n.value.blendMode.blendFunction = e.blendFunction ? Number(e.blendFunction) : Number(o.blendMode.blendFunction));
|
|
1555
|
+
},
|
|
1556
|
+
{ immediate: !0 }
|
|
1557
|
+
), () => {
|
|
1558
|
+
};
|
|
1559
|
+
}
|
|
1560
|
+
}), qe = {
|
|
1369
1561
|
name: "CopyShader",
|
|
1370
1562
|
uniforms: {
|
|
1371
1563
|
tDiffuse: { value: null },
|
|
@@ -1403,7 +1595,7 @@ const co = /* @__PURE__ */ u({
|
|
|
1403
1595
|
}`
|
|
1404
1596
|
)
|
|
1405
1597
|
};
|
|
1406
|
-
class
|
|
1598
|
+
class P {
|
|
1407
1599
|
constructor() {
|
|
1408
1600
|
this.isPass = !0, this.enabled = !0, this.needsSwap = !0, this.clear = !1, this.renderToScreen = !1;
|
|
1409
1601
|
}
|
|
@@ -1415,202 +1607,200 @@ class C {
|
|
|
1415
1607
|
dispose() {
|
|
1416
1608
|
}
|
|
1417
1609
|
}
|
|
1418
|
-
const
|
|
1419
|
-
class
|
|
1610
|
+
const Pt = new st(-1, 1, 1, -1, 0, 1);
|
|
1611
|
+
class Dt extends at {
|
|
1420
1612
|
constructor() {
|
|
1421
|
-
super(), this.setAttribute("position", new
|
|
1613
|
+
super(), this.setAttribute("position", new De([-1, 3, 0, -1, -1, 0, 3, -1, 0], 3)), this.setAttribute("uv", new De([0, 2, 0, 0, 2, 0], 2));
|
|
1422
1614
|
}
|
|
1423
1615
|
}
|
|
1424
|
-
const
|
|
1616
|
+
const Lt = new Dt();
|
|
1425
1617
|
class R {
|
|
1426
|
-
constructor(
|
|
1427
|
-
this._mesh = new
|
|
1618
|
+
constructor(t) {
|
|
1619
|
+
this._mesh = new je(Lt, t);
|
|
1428
1620
|
}
|
|
1429
1621
|
dispose() {
|
|
1430
1622
|
this._mesh.geometry.dispose();
|
|
1431
1623
|
}
|
|
1432
|
-
render(
|
|
1433
|
-
|
|
1624
|
+
render(t) {
|
|
1625
|
+
t.render(this._mesh, Pt);
|
|
1434
1626
|
}
|
|
1435
1627
|
get material() {
|
|
1436
1628
|
return this._mesh.material;
|
|
1437
1629
|
}
|
|
1438
|
-
set material(
|
|
1439
|
-
this._mesh.material =
|
|
1630
|
+
set material(t) {
|
|
1631
|
+
this._mesh.material = t;
|
|
1440
1632
|
}
|
|
1441
1633
|
}
|
|
1442
|
-
class
|
|
1443
|
-
constructor(
|
|
1444
|
-
super(), this.textureID =
|
|
1445
|
-
name:
|
|
1446
|
-
defines: Object.assign({},
|
|
1634
|
+
class Ft extends P {
|
|
1635
|
+
constructor(t, e) {
|
|
1636
|
+
super(), this.textureID = e !== void 0 ? e : "tDiffuse", t instanceof M ? (this.uniforms = t.uniforms, this.material = t) : t && (this.uniforms = D.clone(t.uniforms), this.material = new M({
|
|
1637
|
+
name: t.name !== void 0 ? t.name : "unspecified",
|
|
1638
|
+
defines: Object.assign({}, t.defines),
|
|
1447
1639
|
uniforms: this.uniforms,
|
|
1448
|
-
vertexShader:
|
|
1449
|
-
fragmentShader:
|
|
1640
|
+
vertexShader: t.vertexShader,
|
|
1641
|
+
fragmentShader: t.fragmentShader
|
|
1450
1642
|
})), this.fsQuad = new R(this.material);
|
|
1451
1643
|
}
|
|
1452
|
-
render(
|
|
1453
|
-
this.uniforms[this.textureID] && (this.uniforms[this.textureID].value = o.texture), this.fsQuad.material = this.material, this.renderToScreen ? (
|
|
1644
|
+
render(t, e, o) {
|
|
1645
|
+
this.uniforms[this.textureID] && (this.uniforms[this.textureID].value = o.texture), this.fsQuad.material = this.material, this.renderToScreen ? (t.setRenderTarget(null), this.fsQuad.render(t)) : (t.setRenderTarget(e), this.clear && t.clear(t.autoClearColor, t.autoClearDepth, t.autoClearStencil), this.fsQuad.render(t));
|
|
1454
1646
|
}
|
|
1455
1647
|
dispose() {
|
|
1456
1648
|
this.material.dispose(), this.fsQuad.dispose();
|
|
1457
1649
|
}
|
|
1458
1650
|
}
|
|
1459
|
-
class
|
|
1460
|
-
constructor(
|
|
1461
|
-
super(), this.scene =
|
|
1651
|
+
class We extends P {
|
|
1652
|
+
constructor(t, e) {
|
|
1653
|
+
super(), this.scene = t, this.camera = e, this.clear = !0, this.needsSwap = !1, this.inverse = !1;
|
|
1462
1654
|
}
|
|
1463
|
-
render(
|
|
1464
|
-
const s =
|
|
1655
|
+
render(t, e, o) {
|
|
1656
|
+
const s = t.getContext(), a = t.state;
|
|
1465
1657
|
a.buffers.color.setMask(!1), a.buffers.depth.setMask(!1), a.buffers.color.setLocked(!0), a.buffers.depth.setLocked(!0);
|
|
1466
|
-
let
|
|
1467
|
-
this.inverse ? (
|
|
1658
|
+
let r, n;
|
|
1659
|
+
this.inverse ? (r = 0, n = 1) : (r = 1, n = 0), a.buffers.stencil.setTest(!0), a.buffers.stencil.setOp(s.REPLACE, s.REPLACE, s.REPLACE), a.buffers.stencil.setFunc(s.ALWAYS, r, 4294967295), a.buffers.stencil.setClear(n), a.buffers.stencil.setLocked(!0), t.setRenderTarget(o), this.clear && t.clear(), t.render(this.scene, this.camera), t.setRenderTarget(e), this.clear && t.clear(), t.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);
|
|
1468
1660
|
}
|
|
1469
1661
|
}
|
|
1470
|
-
class
|
|
1662
|
+
class Ot extends P {
|
|
1471
1663
|
constructor() {
|
|
1472
1664
|
super(), this.needsSwap = !1;
|
|
1473
1665
|
}
|
|
1474
|
-
render(
|
|
1475
|
-
|
|
1666
|
+
render(t) {
|
|
1667
|
+
t.state.buffers.stencil.setLocked(!1), t.state.buffers.stencil.setTest(!1);
|
|
1476
1668
|
}
|
|
1477
1669
|
}
|
|
1478
|
-
class
|
|
1479
|
-
constructor(
|
|
1480
|
-
if (this.renderer =
|
|
1481
|
-
const o =
|
|
1482
|
-
this._width = o.width, this._height = o.height,
|
|
1670
|
+
class Rt {
|
|
1671
|
+
constructor(t, e) {
|
|
1672
|
+
if (this.renderer = t, this._pixelRatio = t.getPixelRatio(), e === void 0) {
|
|
1673
|
+
const o = t.getSize(new f());
|
|
1674
|
+
this._width = o.width, this._height = o.height, e = new L(this._width * this._pixelRatio, this._height * this._pixelRatio, { type: E }), e.texture.name = "EffectComposer.rt1";
|
|
1483
1675
|
} else
|
|
1484
|
-
this._width =
|
|
1485
|
-
this.renderTarget1 =
|
|
1676
|
+
this._width = e.width, this._height = e.height;
|
|
1677
|
+
this.renderTarget1 = e, this.renderTarget2 = e.clone(), this.renderTarget2.texture.name = "EffectComposer.rt2", this.writeBuffer = this.renderTarget1, this.readBuffer = this.renderTarget2, this.renderToScreen = !0, this.passes = [], this.copyPass = new Ft(qe), this.copyPass.material.blending = rt, this.clock = new it();
|
|
1486
1678
|
}
|
|
1487
1679
|
swapBuffers() {
|
|
1488
|
-
const
|
|
1489
|
-
this.readBuffer = this.writeBuffer, this.writeBuffer =
|
|
1680
|
+
const t = this.readBuffer;
|
|
1681
|
+
this.readBuffer = this.writeBuffer, this.writeBuffer = t;
|
|
1490
1682
|
}
|
|
1491
|
-
addPass(
|
|
1492
|
-
this.passes.push(
|
|
1683
|
+
addPass(t) {
|
|
1684
|
+
this.passes.push(t), t.setSize(this._width * this._pixelRatio, this._height * this._pixelRatio);
|
|
1493
1685
|
}
|
|
1494
|
-
insertPass(
|
|
1495
|
-
this.passes.splice(
|
|
1686
|
+
insertPass(t, e) {
|
|
1687
|
+
this.passes.splice(e, 0, t), t.setSize(this._width * this._pixelRatio, this._height * this._pixelRatio);
|
|
1496
1688
|
}
|
|
1497
|
-
removePass(
|
|
1498
|
-
const
|
|
1499
|
-
|
|
1689
|
+
removePass(t) {
|
|
1690
|
+
const e = this.passes.indexOf(t);
|
|
1691
|
+
e !== -1 && this.passes.splice(e, 1);
|
|
1500
1692
|
}
|
|
1501
|
-
isLastEnabledPass(
|
|
1502
|
-
for (let
|
|
1503
|
-
if (this.passes[
|
|
1693
|
+
isLastEnabledPass(t) {
|
|
1694
|
+
for (let e = t + 1; e < this.passes.length; e++)
|
|
1695
|
+
if (this.passes[e].enabled)
|
|
1504
1696
|
return !1;
|
|
1505
1697
|
return !0;
|
|
1506
1698
|
}
|
|
1507
|
-
render(
|
|
1508
|
-
|
|
1509
|
-
const
|
|
1699
|
+
render(t) {
|
|
1700
|
+
t === void 0 && (t = this.clock.getDelta());
|
|
1701
|
+
const e = this.renderer.getRenderTarget();
|
|
1510
1702
|
let o = !1;
|
|
1511
1703
|
for (let s = 0, a = this.passes.length; s < a; s++) {
|
|
1512
|
-
const
|
|
1513
|
-
if (
|
|
1514
|
-
if (
|
|
1704
|
+
const r = this.passes[s];
|
|
1705
|
+
if (r.enabled !== !1) {
|
|
1706
|
+
if (r.renderToScreen = this.renderToScreen && this.isLastEnabledPass(s), r.render(this.renderer, this.writeBuffer, this.readBuffer, t, o), r.needsSwap) {
|
|
1515
1707
|
if (o) {
|
|
1516
|
-
const n = this.renderer.getContext(),
|
|
1517
|
-
|
|
1708
|
+
const n = this.renderer.getContext(), u = this.renderer.state.buffers.stencil;
|
|
1709
|
+
u.setFunc(n.NOTEQUAL, 1, 4294967295), this.copyPass.render(this.renderer, this.writeBuffer, this.readBuffer, t), u.setFunc(n.EQUAL, 1, 4294967295);
|
|
1518
1710
|
}
|
|
1519
1711
|
this.swapBuffers();
|
|
1520
1712
|
}
|
|
1521
|
-
|
|
1713
|
+
We !== void 0 && (r instanceof We ? o = !0 : r instanceof Ot && (o = !1));
|
|
1522
1714
|
}
|
|
1523
1715
|
}
|
|
1524
|
-
this.renderer.setRenderTarget(
|
|
1716
|
+
this.renderer.setRenderTarget(e);
|
|
1525
1717
|
}
|
|
1526
|
-
reset(
|
|
1527
|
-
if (
|
|
1528
|
-
const
|
|
1529
|
-
this._pixelRatio = this.renderer.getPixelRatio(), this._width =
|
|
1718
|
+
reset(t) {
|
|
1719
|
+
if (t === void 0) {
|
|
1720
|
+
const e = this.renderer.getSize(new f());
|
|
1721
|
+
this._pixelRatio = this.renderer.getPixelRatio(), this._width = e.width, this._height = e.height, t = this.renderTarget1.clone(), t.setSize(this._width * this._pixelRatio, this._height * this._pixelRatio);
|
|
1530
1722
|
}
|
|
1531
|
-
this.renderTarget1.dispose(), this.renderTarget2.dispose(), this.renderTarget1 =
|
|
1723
|
+
this.renderTarget1.dispose(), this.renderTarget2.dispose(), this.renderTarget1 = t, this.renderTarget2 = t.clone(), this.writeBuffer = this.renderTarget1, this.readBuffer = this.renderTarget2;
|
|
1532
1724
|
}
|
|
1533
|
-
setSize(
|
|
1534
|
-
this._width =
|
|
1725
|
+
setSize(t, e) {
|
|
1726
|
+
this._width = t, this._height = e;
|
|
1535
1727
|
const o = this._width * this._pixelRatio, s = this._height * this._pixelRatio;
|
|
1536
1728
|
this.renderTarget1.setSize(o, s), this.renderTarget2.setSize(o, s);
|
|
1537
1729
|
for (let a = 0; a < this.passes.length; a++)
|
|
1538
1730
|
this.passes[a].setSize(o, s);
|
|
1539
1731
|
}
|
|
1540
|
-
setPixelRatio(
|
|
1541
|
-
this._pixelRatio =
|
|
1732
|
+
setPixelRatio(t) {
|
|
1733
|
+
this._pixelRatio = t, this.setSize(this._width, this._height);
|
|
1542
1734
|
}
|
|
1543
1735
|
dispose() {
|
|
1544
1736
|
this.renderTarget1.dispose(), this.renderTarget2.dispose(), this.copyPass.dispose();
|
|
1545
1737
|
}
|
|
1546
1738
|
}
|
|
1547
|
-
class
|
|
1548
|
-
constructor(
|
|
1549
|
-
super(), this.scene =
|
|
1739
|
+
class Bt extends P {
|
|
1740
|
+
constructor(t, e, o = null, s = null, a = null) {
|
|
1741
|
+
super(), this.scene = t, this.camera = e, this.overrideMaterial = o, this.clearColor = s, this.clearAlpha = a, this.clear = !0, this.clearDepth = !1, this.needsSwap = !1, this._oldClearColor = new q();
|
|
1550
1742
|
}
|
|
1551
|
-
render(
|
|
1552
|
-
const s =
|
|
1553
|
-
|
|
1554
|
-
let a,
|
|
1555
|
-
this.overrideMaterial !== null && (
|
|
1743
|
+
render(t, e, o) {
|
|
1744
|
+
const s = t.autoClear;
|
|
1745
|
+
t.autoClear = !1;
|
|
1746
|
+
let a, r;
|
|
1747
|
+
this.overrideMaterial !== null && (r = this.scene.overrideMaterial, this.scene.overrideMaterial = this.overrideMaterial), this.clearColor !== null && (t.getClearColor(this._oldClearColor), t.setClearColor(this.clearColor, t.getClearAlpha())), this.clearAlpha !== null && (a = t.getClearAlpha(), t.setClearAlpha(this.clearAlpha)), this.clearDepth == !0 && t.clearDepth(), t.setRenderTarget(this.renderToScreen ? null : o), this.clear === !0 && t.clear(t.autoClearColor, t.autoClearDepth, t.autoClearStencil), t.render(this.scene, this.camera), this.clearColor !== null && t.setClearColor(this._oldClearColor), this.clearAlpha !== null && t.setClearAlpha(a), this.overrideMaterial !== null && (this.scene.overrideMaterial = r), t.autoClear = s;
|
|
1556
1748
|
}
|
|
1557
1749
|
}
|
|
1558
|
-
const
|
|
1750
|
+
const Qe = Symbol("effectComposerThree"), yo = /* @__PURE__ */ c({
|
|
1559
1751
|
__name: "EffectComposer",
|
|
1560
1752
|
props: {
|
|
1561
1753
|
enabled: { type: Boolean, default: !0 },
|
|
1562
1754
|
withoutRenderPass: { type: Boolean }
|
|
1563
1755
|
},
|
|
1564
|
-
setup(
|
|
1565
|
-
const
|
|
1566
|
-
|
|
1567
|
-
const { renderer: s, sizes: a, scene:
|
|
1568
|
-
|
|
1569
|
-
var
|
|
1570
|
-
(
|
|
1571
|
-
}),
|
|
1572
|
-
var
|
|
1573
|
-
const { width:
|
|
1574
|
-
|
|
1575
|
-
});
|
|
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));
|
|
1756
|
+
setup(i, { expose: t }) {
|
|
1757
|
+
const e = i, o = U(null);
|
|
1758
|
+
He(Qe, o), t({ composer: o });
|
|
1759
|
+
const { renderer: s, sizes: a, scene: r, camera: n } = G();
|
|
1760
|
+
S(() => {
|
|
1761
|
+
var d;
|
|
1762
|
+
(d = o.value) == null || d.dispose(), o.value = new Rt(s.instance);
|
|
1763
|
+
}), S(() => {
|
|
1764
|
+
var b;
|
|
1765
|
+
const { width: d, height: x } = a;
|
|
1766
|
+
x.value && d.value && ((b = o.value) == null || b.setSize(d.value, x.value));
|
|
1582
1767
|
});
|
|
1583
|
-
const {
|
|
1584
|
-
return
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
}), (
|
|
1590
|
-
|
|
1591
|
-
}),
|
|
1592
|
-
|
|
1768
|
+
const { pixelRatio: l } = Ye();
|
|
1769
|
+
return S(() => {
|
|
1770
|
+
var d;
|
|
1771
|
+
(d = o.value) == null || d.setPixelRatio(l.value);
|
|
1772
|
+
}), e.withoutRenderPass || S(() => {
|
|
1773
|
+
n.activeCamera.value && r.value && o.value && o.value.addPass(new Bt(r.value, n.activeCamera.value));
|
|
1774
|
+
}), s.replaceRenderFunction((d) => {
|
|
1775
|
+
o.value && e.enabled && (o.value.render(), d());
|
|
1776
|
+
}), z(() => {
|
|
1777
|
+
var d;
|
|
1778
|
+
(d = o.value) == null || d.dispose();
|
|
1779
|
+
}), (d, x) => Ie(d.$slots, "default");
|
|
1780
|
+
}
|
|
1781
|
+
}), W = (i, t, e) => {
|
|
1782
|
+
if (!t && e)
|
|
1593
1783
|
throw new Error("passDependencies is required when dependencyFieldsTriggeringRecreation is provided");
|
|
1594
|
-
const o =
|
|
1595
|
-
|
|
1784
|
+
const o = Q(Qe), s = U(i()), { sizes: a, invalidate: r } = C();
|
|
1785
|
+
t && g(t, () => r());
|
|
1596
1786
|
const n = () => {
|
|
1597
|
-
var
|
|
1598
|
-
(
|
|
1599
|
-
},
|
|
1600
|
-
!(o != null && o.value) || !a.height.value || !a.width.value || (o.value.addPass(s.value),
|
|
1787
|
+
var l;
|
|
1788
|
+
(l = o == null ? void 0 : o.value) == null || l.removePass(s.value), s.value.dispose();
|
|
1789
|
+
}, u = S(() => {
|
|
1790
|
+
!(o != null && o.value) || !a.height.value || !a.width.value || (o.value.addPass(s.value), ue(() => u()));
|
|
1601
1791
|
});
|
|
1602
|
-
return
|
|
1603
|
-
() =>
|
|
1792
|
+
return e && g(
|
|
1793
|
+
() => e.map((l) => t == null ? void 0 : t[l]),
|
|
1604
1794
|
() => {
|
|
1605
1795
|
if (!(o != null && o.value))
|
|
1606
1796
|
return;
|
|
1607
|
-
const
|
|
1608
|
-
~
|
|
1797
|
+
const l = o.value.passes.findIndex((d) => d === s.value);
|
|
1798
|
+
~l && (n(), s.value = i(), o.value.insertPass(s.value, l));
|
|
1609
1799
|
}
|
|
1610
|
-
),
|
|
1800
|
+
), z(() => {
|
|
1611
1801
|
n();
|
|
1612
1802
|
}), { pass: s };
|
|
1613
|
-
},
|
|
1803
|
+
}, Nt = {
|
|
1614
1804
|
uniforms: {
|
|
1615
1805
|
tDiffuse: { value: null },
|
|
1616
1806
|
//diffuse texture
|
|
@@ -1705,54 +1895,53 @@ const Xe = Symbol("effectComposerThree"), ho = /* @__PURE__ */ u({
|
|
|
1705
1895
|
}`
|
|
1706
1896
|
)
|
|
1707
1897
|
};
|
|
1708
|
-
class
|
|
1709
|
-
constructor(
|
|
1898
|
+
class Ue extends P {
|
|
1899
|
+
constructor(t = 64) {
|
|
1710
1900
|
super();
|
|
1711
|
-
const
|
|
1712
|
-
this.uniforms =
|
|
1901
|
+
const e = Nt;
|
|
1902
|
+
this.uniforms = D.clone(e.uniforms), this.heightMap = this.generateHeightmap(t), this.uniforms.tDisp.value = this.heightMap, this.material = new M({
|
|
1713
1903
|
uniforms: this.uniforms,
|
|
1714
|
-
vertexShader:
|
|
1715
|
-
fragmentShader:
|
|
1904
|
+
vertexShader: e.vertexShader,
|
|
1905
|
+
fragmentShader: e.fragmentShader
|
|
1716
1906
|
}), this.fsQuad = new R(this.material), this.goWild = !1, this.curF = 0, this.generateTrigger();
|
|
1717
1907
|
}
|
|
1718
|
-
render(
|
|
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 =
|
|
1908
|
+
render(t, e, o) {
|
|
1909
|
+
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 = y.randFloat(-Math.PI, Math.PI), this.uniforms.seed_x.value = y.randFloat(-1, 1), this.uniforms.seed_y.value = y.randFloat(-1, 1), this.uniforms.distortion_x.value = y.randFloat(0, 1), this.uniforms.distortion_y.value = y.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 = y.randFloat(-Math.PI, Math.PI), this.uniforms.distortion_x.value = y.randFloat(0, 1), this.uniforms.distortion_y.value = y.randFloat(0, 1), this.uniforms.seed_x.value = y.randFloat(-0.3, 0.3), this.uniforms.seed_y.value = y.randFloat(-0.3, 0.3)) : this.goWild == !1 && (this.uniforms.byp.value = 1), this.curF++, this.renderToScreen ? (t.setRenderTarget(null), this.fsQuad.render(t)) : (t.setRenderTarget(e), this.clear && t.clear(), this.fsQuad.render(t));
|
|
1720
1910
|
}
|
|
1721
1911
|
generateTrigger() {
|
|
1722
|
-
this.randX =
|
|
1912
|
+
this.randX = y.randInt(120, 240);
|
|
1723
1913
|
}
|
|
1724
|
-
generateHeightmap(
|
|
1725
|
-
const
|
|
1914
|
+
generateHeightmap(t) {
|
|
1915
|
+
const e = new Float32Array(t * t), o = t * t;
|
|
1726
1916
|
for (let a = 0; a < o; a++) {
|
|
1727
|
-
const
|
|
1728
|
-
|
|
1917
|
+
const r = y.randFloat(0, 1);
|
|
1918
|
+
e[a] = r;
|
|
1729
1919
|
}
|
|
1730
|
-
const s = new
|
|
1920
|
+
const s = new nt(e, t, t, lt, ut);
|
|
1731
1921
|
return s.needsUpdate = !0, s;
|
|
1732
1922
|
}
|
|
1733
1923
|
dispose() {
|
|
1734
1924
|
this.material.dispose(), this.heightMap.dispose(), this.fsQuad.dispose();
|
|
1735
1925
|
}
|
|
1736
1926
|
}
|
|
1737
|
-
const
|
|
1927
|
+
const Mo = /* @__PURE__ */ c({
|
|
1738
1928
|
__name: "Glitch",
|
|
1739
1929
|
props: {
|
|
1740
1930
|
dtSize: {},
|
|
1741
1931
|
goWild: { type: Boolean }
|
|
1742
1932
|
},
|
|
1743
|
-
setup(
|
|
1744
|
-
const
|
|
1745
|
-
|
|
1746
|
-
const { onBeforeRender:
|
|
1747
|
-
return
|
|
1748
|
-
[[() =>
|
|
1933
|
+
setup(i, { expose: t }) {
|
|
1934
|
+
const e = i, { pass: o } = W(() => new Ue(e.dtSize), e, ["dtSize"]), { invalidate: s } = C();
|
|
1935
|
+
t({ pass: o });
|
|
1936
|
+
const { onBeforeRender: a } = ce();
|
|
1937
|
+
return a(() => s()), v(
|
|
1938
|
+
[[() => e.goWild, "goWild"]],
|
|
1749
1939
|
o,
|
|
1750
|
-
() => new
|
|
1940
|
+
() => new Ue()
|
|
1751
1941
|
), () => {
|
|
1752
1942
|
};
|
|
1753
1943
|
}
|
|
1754
|
-
}),
|
|
1755
|
-
name: "HalftoneShader",
|
|
1944
|
+
}), k = {
|
|
1756
1945
|
uniforms: {
|
|
1757
1946
|
tDiffuse: { value: null },
|
|
1758
1947
|
shape: { value: 1 },
|
|
@@ -2055,28 +2244,28 @@ const po = /* @__PURE__ */ u({
|
|
|
2055
2244
|
}`
|
|
2056
2245
|
)
|
|
2057
2246
|
};
|
|
2058
|
-
class
|
|
2059
|
-
constructor(
|
|
2060
|
-
super(), this.uniforms =
|
|
2247
|
+
class zt extends P {
|
|
2248
|
+
constructor(t, e, o) {
|
|
2249
|
+
super(), this.uniforms = D.clone(k.uniforms), this.material = new M({
|
|
2061
2250
|
uniforms: this.uniforms,
|
|
2062
|
-
fragmentShader:
|
|
2063
|
-
vertexShader:
|
|
2064
|
-
}), this.uniforms.width.value =
|
|
2251
|
+
fragmentShader: k.fragmentShader,
|
|
2252
|
+
vertexShader: k.vertexShader
|
|
2253
|
+
}), this.uniforms.width.value = t, this.uniforms.height.value = e;
|
|
2065
2254
|
for (const s in o)
|
|
2066
2255
|
o.hasOwnProperty(s) && this.uniforms.hasOwnProperty(s) && (this.uniforms[s].value = o[s]);
|
|
2067
2256
|
this.fsQuad = new R(this.material);
|
|
2068
2257
|
}
|
|
2069
|
-
render(
|
|
2070
|
-
this.material.uniforms.tDiffuse.value = o.texture, this.renderToScreen ? (
|
|
2258
|
+
render(t, e, o) {
|
|
2259
|
+
this.material.uniforms.tDiffuse.value = o.texture, this.renderToScreen ? (t.setRenderTarget(null), this.fsQuad.render(t)) : (t.setRenderTarget(e), this.clear && t.clear(), this.fsQuad.render(t));
|
|
2071
2260
|
}
|
|
2072
|
-
setSize(
|
|
2073
|
-
this.uniforms.width.value =
|
|
2261
|
+
setSize(t, e) {
|
|
2262
|
+
this.uniforms.width.value = t, this.uniforms.height.value = e;
|
|
2074
2263
|
}
|
|
2075
2264
|
dispose() {
|
|
2076
2265
|
this.material.dispose(), this.fsQuad.dispose();
|
|
2077
2266
|
}
|
|
2078
2267
|
}
|
|
2079
|
-
const
|
|
2268
|
+
const To = /* @__PURE__ */ c({
|
|
2080
2269
|
__name: "Halftone",
|
|
2081
2270
|
props: {
|
|
2082
2271
|
shape: {},
|
|
@@ -2089,55 +2278,55 @@ const mo = /* @__PURE__ */ u({
|
|
|
2089
2278
|
greyscale: { type: Boolean },
|
|
2090
2279
|
blendingMode: {}
|
|
2091
2280
|
},
|
|
2092
|
-
setup(
|
|
2093
|
-
const
|
|
2281
|
+
setup(i, { expose: t }) {
|
|
2282
|
+
const e = i, { sizes: o } = G(), s = F(
|
|
2094
2283
|
() => Object.fromEntries(
|
|
2095
|
-
Object.entries(
|
|
2284
|
+
Object.entries(e).filter(([r, n]) => n !== void 0)
|
|
2096
2285
|
)
|
|
2097
|
-
), { pass: a } =
|
|
2286
|
+
), { pass: a } = W(() => new zt(
|
|
2098
2287
|
o.width.value,
|
|
2099
2288
|
o.height.value,
|
|
2100
2289
|
s.value
|
|
2101
|
-
),
|
|
2102
|
-
return
|
|
2290
|
+
), e);
|
|
2291
|
+
return t({ pass: a }), S(() => {
|
|
2103
2292
|
a.value.setSize(o.width.value, o.height.value);
|
|
2104
|
-
}),
|
|
2105
|
-
Object.entries(
|
|
2106
|
-
|
|
2293
|
+
}), S(() => {
|
|
2294
|
+
Object.entries(e).forEach(([r, n]) => {
|
|
2295
|
+
r in a.value.uniforms && (a.value.uniforms[r].value = n ?? k.uniforms[r].value);
|
|
2107
2296
|
});
|
|
2108
2297
|
}), () => {
|
|
2109
2298
|
};
|
|
2110
2299
|
}
|
|
2111
2300
|
});
|
|
2112
|
-
class
|
|
2113
|
-
constructor(
|
|
2114
|
-
super(), this.pixelSize =
|
|
2301
|
+
class Ge extends P {
|
|
2302
|
+
constructor(t, e, o, s = {}) {
|
|
2303
|
+
super(), this.pixelSize = t, this.resolution = new f(), this.renderResolution = new f(), this.pixelatedMaterial = this.createPixelatedMaterial(), this.normalMaterial = new ct(), this.fsQuad = new R(this.pixelatedMaterial), this.scene = e, this.camera = o, this.normalEdgeStrength = s.normalEdgeStrength || 0.3, this.depthEdgeStrength = s.depthEdgeStrength || 0.4, this.beautyRenderTarget = new L(), this.beautyRenderTarget.texture.minFilter = B, this.beautyRenderTarget.texture.magFilter = B, this.beautyRenderTarget.texture.type = E, this.beautyRenderTarget.depthTexture = new dt(), this.normalRenderTarget = new L(), this.normalRenderTarget.texture.minFilter = B, this.normalRenderTarget.texture.magFilter = B, this.normalRenderTarget.texture.type = E;
|
|
2115
2304
|
}
|
|
2116
2305
|
dispose() {
|
|
2117
2306
|
this.beautyRenderTarget.dispose(), this.normalRenderTarget.dispose(), this.pixelatedMaterial.dispose(), this.normalMaterial.dispose(), this.fsQuad.dispose();
|
|
2118
2307
|
}
|
|
2119
|
-
setSize(
|
|
2120
|
-
this.resolution.set(
|
|
2308
|
+
setSize(t, e) {
|
|
2309
|
+
this.resolution.set(t, e), this.renderResolution.set(t / this.pixelSize | 0, e / this.pixelSize | 0);
|
|
2121
2310
|
const { x: o, y: s } = this.renderResolution;
|
|
2122
2311
|
this.beautyRenderTarget.setSize(o, s), this.normalRenderTarget.setSize(o, s), this.fsQuad.material.uniforms.resolution.value.set(o, s, 1 / o, 1 / s);
|
|
2123
2312
|
}
|
|
2124
|
-
setPixelSize(
|
|
2125
|
-
this.pixelSize =
|
|
2313
|
+
setPixelSize(t) {
|
|
2314
|
+
this.pixelSize = t, this.setSize(this.resolution.x, this.resolution.y);
|
|
2126
2315
|
}
|
|
2127
|
-
render(
|
|
2316
|
+
render(t, e) {
|
|
2128
2317
|
const o = this.fsQuad.material.uniforms;
|
|
2129
|
-
o.normalEdgeStrength.value = this.normalEdgeStrength, o.depthEdgeStrength.value = this.depthEdgeStrength,
|
|
2318
|
+
o.normalEdgeStrength.value = this.normalEdgeStrength, o.depthEdgeStrength.value = this.depthEdgeStrength, t.setRenderTarget(this.beautyRenderTarget), t.render(this.scene, this.camera);
|
|
2130
2319
|
const s = this.scene.overrideMaterial;
|
|
2131
|
-
|
|
2320
|
+
t.setRenderTarget(this.normalRenderTarget), this.scene.overrideMaterial = this.normalMaterial, t.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 ? t.setRenderTarget(null) : (t.setRenderTarget(e), this.clear && t.clear()), this.fsQuad.render(t);
|
|
2132
2321
|
}
|
|
2133
2322
|
createPixelatedMaterial() {
|
|
2134
|
-
return new
|
|
2323
|
+
return new M({
|
|
2135
2324
|
uniforms: {
|
|
2136
2325
|
tDiffuse: { value: null },
|
|
2137
2326
|
tDepth: { value: null },
|
|
2138
2327
|
tNormal: { value: null },
|
|
2139
2328
|
resolution: {
|
|
2140
|
-
value: new
|
|
2329
|
+
value: new ft(
|
|
2141
2330
|
this.renderResolution.x,
|
|
2142
2331
|
this.renderResolution.y,
|
|
2143
2332
|
1 / this.renderResolution.x,
|
|
@@ -2256,28 +2445,28 @@ class Fe extends C {
|
|
|
2256
2445
|
});
|
|
2257
2446
|
}
|
|
2258
2447
|
}
|
|
2259
|
-
const
|
|
2448
|
+
const Co = /* @__PURE__ */ c({
|
|
2260
2449
|
__name: "Pixelation",
|
|
2261
2450
|
props: {
|
|
2262
2451
|
pixelSize: {},
|
|
2263
2452
|
depthEdgeStrength: {},
|
|
2264
2453
|
normalEdgeStrength: {}
|
|
2265
2454
|
},
|
|
2266
|
-
setup(
|
|
2267
|
-
const
|
|
2268
|
-
return
|
|
2269
|
-
a.value.setPixelSize(
|
|
2270
|
-
}),
|
|
2455
|
+
setup(i, { expose: t }) {
|
|
2456
|
+
const e = i, { scene: o, camera: s } = C(), { pass: a } = W(() => new Ge(e.pixelSize, o.value, s.value), e);
|
|
2457
|
+
return t({ pass: a }), S(() => {
|
|
2458
|
+
a.value.setPixelSize(e.pixelSize);
|
|
2459
|
+
}), v(
|
|
2271
2460
|
[
|
|
2272
|
-
[() =>
|
|
2273
|
-
[() =>
|
|
2461
|
+
[() => e.depthEdgeStrength, "depthEdgeStrength"],
|
|
2462
|
+
[() => e.normalEdgeStrength, "normalEdgeStrength"]
|
|
2274
2463
|
],
|
|
2275
2464
|
a,
|
|
2276
|
-
() => new
|
|
2465
|
+
() => new Ge(1, o.value, s.value)
|
|
2277
2466
|
), () => {
|
|
2278
2467
|
};
|
|
2279
2468
|
}
|
|
2280
|
-
}),
|
|
2469
|
+
}), Wt = {
|
|
2281
2470
|
name: "OutputShader",
|
|
2282
2471
|
uniforms: {
|
|
2283
2472
|
tDiffuse: { value: null },
|
|
@@ -2363,39 +2552,38 @@ const vo = /* @__PURE__ */ u({
|
|
|
2363
2552
|
}`
|
|
2364
2553
|
)
|
|
2365
2554
|
};
|
|
2366
|
-
class
|
|
2555
|
+
class Ut extends P {
|
|
2367
2556
|
constructor() {
|
|
2368
2557
|
super();
|
|
2369
|
-
const
|
|
2370
|
-
this.uniforms =
|
|
2371
|
-
name:
|
|
2558
|
+
const t = Wt;
|
|
2559
|
+
this.uniforms = D.clone(t.uniforms), this.material = new ht({
|
|
2560
|
+
name: t.name,
|
|
2372
2561
|
uniforms: this.uniforms,
|
|
2373
|
-
vertexShader:
|
|
2374
|
-
fragmentShader:
|
|
2562
|
+
vertexShader: t.vertexShader,
|
|
2563
|
+
fragmentShader: t.fragmentShader
|
|
2375
2564
|
}), this.fsQuad = new R(this.material), this._outputColorSpace = null, this._toneMapping = null;
|
|
2376
2565
|
}
|
|
2377
|
-
render(
|
|
2378
|
-
this.uniforms.tDiffuse.value = o.texture, this.uniforms.toneMappingExposure.value =
|
|
2566
|
+
render(t, e, o) {
|
|
2567
|
+
this.uniforms.tDiffuse.value = o.texture, this.uniforms.toneMappingExposure.value = t.toneMappingExposure, (this._outputColorSpace !== t.outputColorSpace || this._toneMapping !== t.toneMapping) && (this._outputColorSpace = t.outputColorSpace, this._toneMapping = t.toneMapping, this.material.defines = {}, pt.getTransfer(this._outputColorSpace) === mt && (this.material.defines.SRGB_TRANSFER = ""), this._toneMapping === vt ? this.material.defines.LINEAR_TONE_MAPPING = "" : this._toneMapping === gt ? this.material.defines.REINHARD_TONE_MAPPING = "" : this._toneMapping === xt ? this.material.defines.CINEON_TONE_MAPPING = "" : this._toneMapping === bt ? this.material.defines.ACES_FILMIC_TONE_MAPPING = "" : this._toneMapping === wt ? this.material.defines.AGX_TONE_MAPPING = "" : this._toneMapping === St ? this.material.defines.NEUTRAL_TONE_MAPPING = "" : this._toneMapping === At && (this.material.defines.CUSTOM_TONE_MAPPING = ""), this.material.needsUpdate = !0), this.renderToScreen === !0 ? (t.setRenderTarget(null), this.fsQuad.render(t)) : (t.setRenderTarget(e), this.clear && t.clear(t.autoClearColor, t.autoClearDepth, t.autoClearStencil), this.fsQuad.render(t));
|
|
2379
2568
|
}
|
|
2380
2569
|
dispose() {
|
|
2381
2570
|
this.material.dispose(), this.fsQuad.dispose();
|
|
2382
2571
|
}
|
|
2383
2572
|
}
|
|
2384
|
-
const
|
|
2573
|
+
const Eo = /* @__PURE__ */ c({
|
|
2385
2574
|
__name: "Output",
|
|
2386
|
-
setup(
|
|
2387
|
-
const { pass:
|
|
2388
|
-
return
|
|
2575
|
+
setup(i, { expose: t }) {
|
|
2576
|
+
const { pass: e } = W(() => new Ut());
|
|
2577
|
+
return t({ pass: e }), () => {
|
|
2389
2578
|
};
|
|
2390
2579
|
}
|
|
2391
2580
|
}), j = {
|
|
2392
|
-
name: "SMAAEdgesShader",
|
|
2393
2581
|
defines: {
|
|
2394
2582
|
SMAA_THRESHOLD: "0.1"
|
|
2395
2583
|
},
|
|
2396
2584
|
uniforms: {
|
|
2397
2585
|
tDiffuse: { value: null },
|
|
2398
|
-
resolution: { value: new
|
|
2586
|
+
resolution: { value: new f(1 / 1024, 1 / 512) }
|
|
2399
2587
|
},
|
|
2400
2588
|
vertexShader: (
|
|
2401
2589
|
/* glsl */
|
|
@@ -2490,7 +2678,6 @@ const go = /* @__PURE__ */ u({
|
|
|
2490
2678
|
}`
|
|
2491
2679
|
)
|
|
2492
2680
|
}, V = {
|
|
2493
|
-
name: "SMAAWeightsShader",
|
|
2494
2681
|
defines: {
|
|
2495
2682
|
SMAA_MAX_SEARCH_STEPS: "8",
|
|
2496
2683
|
SMAA_AREATEX_MAX_DISTANCE: "16",
|
|
@@ -2501,7 +2688,7 @@ const go = /* @__PURE__ */ u({
|
|
|
2501
2688
|
tDiffuse: { value: null },
|
|
2502
2689
|
tArea: { value: null },
|
|
2503
2690
|
tSearch: { value: null },
|
|
2504
|
-
resolution: { value: new
|
|
2691
|
+
resolution: { value: new f(1 / 1024, 1 / 512) }
|
|
2505
2692
|
},
|
|
2506
2693
|
vertexShader: (
|
|
2507
2694
|
/* glsl */
|
|
@@ -2739,12 +2926,11 @@ const go = /* @__PURE__ */ u({
|
|
|
2739
2926
|
|
|
2740
2927
|
}`
|
|
2741
2928
|
)
|
|
2742
|
-
},
|
|
2743
|
-
name: "SMAABlendShader",
|
|
2929
|
+
}, le = {
|
|
2744
2930
|
uniforms: {
|
|
2745
2931
|
tDiffuse: { value: null },
|
|
2746
2932
|
tColor: { value: null },
|
|
2747
|
-
resolution: { value: new
|
|
2933
|
+
resolution: { value: new f(1 / 1024, 1 / 512) }
|
|
2748
2934
|
},
|
|
2749
2935
|
vertexShader: (
|
|
2750
2936
|
/* glsl */
|
|
@@ -2829,43 +3015,43 @@ const go = /* @__PURE__ */ u({
|
|
|
2829
3015
|
}`
|
|
2830
3016
|
)
|
|
2831
3017
|
};
|
|
2832
|
-
class
|
|
2833
|
-
constructor(
|
|
2834
|
-
super(), this.edgesRT = new
|
|
3018
|
+
class Gt extends P {
|
|
3019
|
+
constructor(t, e) {
|
|
3020
|
+
super(), this.edgesRT = new L(t, e, {
|
|
2835
3021
|
depthBuffer: !1,
|
|
2836
|
-
type:
|
|
2837
|
-
}), this.edgesRT.texture.name = "SMAAPass.edges", this.weightsRT = new
|
|
3022
|
+
type: E
|
|
3023
|
+
}), this.edgesRT.texture.name = "SMAAPass.edges", this.weightsRT = new L(t, e, {
|
|
2838
3024
|
depthBuffer: !1,
|
|
2839
|
-
type:
|
|
3025
|
+
type: E
|
|
2840
3026
|
}), this.weightsRT.texture.name = "SMAAPass.weights";
|
|
2841
3027
|
const o = this, s = new Image();
|
|
2842
3028
|
s.src = this.getAreaTexture(), s.onload = function() {
|
|
2843
3029
|
o.areaTexture.needsUpdate = !0;
|
|
2844
|
-
}, this.areaTexture = new
|
|
3030
|
+
}, this.areaTexture = new Le(), this.areaTexture.name = "SMAAPass.area", this.areaTexture.image = s, this.areaTexture.minFilter = yt, this.areaTexture.generateMipmaps = !1, this.areaTexture.flipY = !1;
|
|
2845
3031
|
const a = new Image();
|
|
2846
3032
|
a.src = this.getSearchTexture(), a.onload = function() {
|
|
2847
3033
|
o.searchTexture.needsUpdate = !0;
|
|
2848
|
-
}, this.searchTexture = new
|
|
3034
|
+
}, this.searchTexture = new Le(), this.searchTexture.name = "SMAAPass.search", this.searchTexture.image = a, this.searchTexture.magFilter = B, this.searchTexture.minFilter = B, this.searchTexture.generateMipmaps = !1, this.searchTexture.flipY = !1, this.uniformsEdges = D.clone(j.uniforms), this.uniformsEdges.resolution.value.set(1 / t, 1 / e), this.materialEdges = new M({
|
|
2849
3035
|
defines: Object.assign({}, j.defines),
|
|
2850
3036
|
uniforms: this.uniformsEdges,
|
|
2851
3037
|
vertexShader: j.vertexShader,
|
|
2852
3038
|
fragmentShader: j.fragmentShader
|
|
2853
|
-
}), this.uniformsWeights =
|
|
3039
|
+
}), this.uniformsWeights = D.clone(V.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 M({
|
|
2854
3040
|
defines: Object.assign({}, V.defines),
|
|
2855
3041
|
uniforms: this.uniformsWeights,
|
|
2856
3042
|
vertexShader: V.vertexShader,
|
|
2857
3043
|
fragmentShader: V.fragmentShader
|
|
2858
|
-
}), this.uniformsBlend =
|
|
3044
|
+
}), this.uniformsBlend = D.clone(le.uniforms), this.uniformsBlend.resolution.value.set(1 / t, 1 / e), this.uniformsBlend.tDiffuse.value = this.weightsRT.texture, this.materialBlend = new M({
|
|
2859
3045
|
uniforms: this.uniformsBlend,
|
|
2860
|
-
vertexShader:
|
|
2861
|
-
fragmentShader:
|
|
3046
|
+
vertexShader: le.vertexShader,
|
|
3047
|
+
fragmentShader: le.fragmentShader
|
|
2862
3048
|
}), this.fsQuad = new R(null);
|
|
2863
3049
|
}
|
|
2864
|
-
render(
|
|
2865
|
-
this.uniformsEdges.tDiffuse.value = o.texture, this.fsQuad.material = this.materialEdges,
|
|
3050
|
+
render(t, e, o) {
|
|
3051
|
+
this.uniformsEdges.tDiffuse.value = o.texture, this.fsQuad.material = this.materialEdges, t.setRenderTarget(this.edgesRT), this.clear && t.clear(), this.fsQuad.render(t), this.fsQuad.material = this.materialWeights, t.setRenderTarget(this.weightsRT), this.clear && t.clear(), this.fsQuad.render(t), this.uniformsBlend.tColor.value = o.texture, this.fsQuad.material = this.materialBlend, this.renderToScreen ? (t.setRenderTarget(null), this.fsQuad.render(t)) : (t.setRenderTarget(e), this.clear && t.clear(), this.fsQuad.render(t));
|
|
2866
3052
|
}
|
|
2867
|
-
setSize(
|
|
2868
|
-
this.edgesRT.setSize(
|
|
3053
|
+
setSize(t, e) {
|
|
3054
|
+
this.edgesRT.setSize(t, e), this.weightsRT.setSize(t, e), this.materialEdges.uniforms.resolution.value.set(1 / t, 1 / e), this.materialWeights.uniforms.resolution.value.set(1 / t, 1 / e), this.materialBlend.uniforms.resolution.value.set(1 / t, 1 / e);
|
|
2869
3055
|
}
|
|
2870
3056
|
getAreaTexture() {
|
|
2871
3057
|
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/nx27p3JziPM2pVgoiia5MdEzCGULprIN7gEEeQ5IQxEBBBQnxhsDb5auGmAAYcHMA9eAA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6657/+aYBvuL6657/+VMA8FXWX/f8z58OgK+y/rrnf75RgLna+uue//lTA/CV1V/3/M837aKvvv6653++UQvmauuve/7nTwfAV1N/3fM/fzr24Cuuv+75nz8FFnxl9dc9//MOr/8/glixwRuUfM4AAAAASUVORK5CYII=";
|
|
@@ -2877,27 +3063,25 @@ class Ft extends C {
|
|
|
2877
3063
|
this.edgesRT.dispose(), this.weightsRT.dispose(), this.areaTexture.dispose(), this.searchTexture.dispose(), this.materialEdges.dispose(), this.materialWeights.dispose(), this.materialBlend.dispose(), this.fsQuad.dispose();
|
|
2878
3064
|
}
|
|
2879
3065
|
}
|
|
2880
|
-
const
|
|
3066
|
+
const Po = /* @__PURE__ */ c({
|
|
2881
3067
|
__name: "SMAA",
|
|
2882
3068
|
props: {
|
|
2883
3069
|
width: {},
|
|
2884
3070
|
height: {}
|
|
2885
3071
|
},
|
|
2886
|
-
setup(
|
|
2887
|
-
const
|
|
2888
|
-
return
|
|
2889
|
-
n.value.setSize(a.value,
|
|
3072
|
+
setup(i, { expose: t }) {
|
|
3073
|
+
const e = i, { sizes: o } = G(), { pixelRatio: s } = Ye(), a = F(() => e.width ?? o.width.value * s.value), r = F(() => e.height ?? o.height.value * s.value), { pass: n } = W(() => new Gt(a.value, r.value), e);
|
|
3074
|
+
return t({ pass: n }), S(() => {
|
|
3075
|
+
n.value.setSize(a.value, r.value);
|
|
2890
3076
|
}), () => {
|
|
2891
3077
|
};
|
|
2892
3078
|
}
|
|
2893
|
-
}),
|
|
2894
|
-
name: "LuminosityHighPassShader",
|
|
2895
|
-
shaderID: "luminosityHighPass",
|
|
3079
|
+
}), Ke = {
|
|
2896
3080
|
uniforms: {
|
|
2897
3081
|
tDiffuse: { value: null },
|
|
2898
3082
|
luminosityThreshold: { value: 1 },
|
|
2899
3083
|
smoothWidth: { value: 1 },
|
|
2900
|
-
defaultColor: { value: new
|
|
3084
|
+
defaultColor: { value: new q(0) },
|
|
2901
3085
|
defaultOpacity: { value: 0 }
|
|
2902
3086
|
},
|
|
2903
3087
|
vertexShader: (
|
|
@@ -2941,80 +3125,80 @@ const xo = /* @__PURE__ */ u({
|
|
|
2941
3125
|
}`
|
|
2942
3126
|
)
|
|
2943
3127
|
};
|
|
2944
|
-
class
|
|
2945
|
-
constructor(
|
|
2946
|
-
super(), this.strength =
|
|
2947
|
-
let a = Math.round(this.resolution.x / 2),
|
|
2948
|
-
this.renderTargetBright = new
|
|
2949
|
-
for (let
|
|
2950
|
-
const
|
|
2951
|
-
|
|
2952
|
-
const
|
|
2953
|
-
|
|
3128
|
+
class N extends P {
|
|
3129
|
+
constructor(t, e, o, s) {
|
|
3130
|
+
super(), this.strength = e !== void 0 ? e : 1, this.radius = o, this.threshold = s, this.resolution = t !== void 0 ? new f(t.x, t.y) : new f(256, 256), this.clearColor = new q(0, 0, 0), this.renderTargetsHorizontal = [], this.renderTargetsVertical = [], this.nMips = 5;
|
|
3131
|
+
let a = Math.round(this.resolution.x / 2), r = Math.round(this.resolution.y / 2);
|
|
3132
|
+
this.renderTargetBright = new L(a, r, { type: E }), this.renderTargetBright.texture.name = "UnrealBloomPass.bright", this.renderTargetBright.texture.generateMipmaps = !1;
|
|
3133
|
+
for (let x = 0; x < this.nMips; x++) {
|
|
3134
|
+
const b = new L(a, r, { type: E });
|
|
3135
|
+
b.texture.name = "UnrealBloomPass.h" + x, b.texture.generateMipmaps = !1, this.renderTargetsHorizontal.push(b);
|
|
3136
|
+
const A = new L(a, r, { type: E });
|
|
3137
|
+
A.texture.name = "UnrealBloomPass.v" + x, A.texture.generateMipmaps = !1, this.renderTargetsVertical.push(A), a = Math.round(a / 2), r = Math.round(r / 2);
|
|
2954
3138
|
}
|
|
2955
|
-
const n =
|
|
2956
|
-
this.highPassUniforms =
|
|
3139
|
+
const n = Ke;
|
|
3140
|
+
this.highPassUniforms = D.clone(n.uniforms), this.highPassUniforms.luminosityThreshold.value = s, this.highPassUniforms.smoothWidth.value = 0.01, this.materialHighPassFilter = new M({
|
|
2957
3141
|
uniforms: this.highPassUniforms,
|
|
2958
3142
|
vertexShader: n.vertexShader,
|
|
2959
3143
|
fragmentShader: n.fragmentShader
|
|
2960
3144
|
}), this.separableBlurMaterials = [];
|
|
2961
|
-
const
|
|
2962
|
-
a = Math.round(this.resolution.x / 2),
|
|
2963
|
-
for (let
|
|
2964
|
-
this.separableBlurMaterials.push(this.getSeparableBlurMaterial(
|
|
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 =
|
|
2966
|
-
const
|
|
2967
|
-
this.compositeMaterial.uniforms.bloomFactors.value =
|
|
2968
|
-
const
|
|
2969
|
-
this.copyUniforms =
|
|
3145
|
+
const u = [3, 5, 7, 9, 11];
|
|
3146
|
+
a = Math.round(this.resolution.x / 2), r = Math.round(this.resolution.y / 2);
|
|
3147
|
+
for (let x = 0; x < this.nMips; x++)
|
|
3148
|
+
this.separableBlurMaterials.push(this.getSeparableBlurMaterial(u[x])), this.separableBlurMaterials[x].uniforms.invSize.value = new f(1 / a, 1 / r), a = Math.round(a / 2), r = Math.round(r / 2);
|
|
3149
|
+
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 = e, this.compositeMaterial.uniforms.bloomRadius.value = 0.1;
|
|
3150
|
+
const l = [1, 0.8, 0.6, 0.4, 0.2];
|
|
3151
|
+
this.compositeMaterial.uniforms.bloomFactors.value = l, 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;
|
|
3152
|
+
const d = qe;
|
|
3153
|
+
this.copyUniforms = D.clone(d.uniforms), this.blendMaterial = new M({
|
|
2970
3154
|
uniforms: this.copyUniforms,
|
|
2971
|
-
vertexShader:
|
|
2972
|
-
fragmentShader:
|
|
2973
|
-
blending:
|
|
3155
|
+
vertexShader: d.vertexShader,
|
|
3156
|
+
fragmentShader: d.fragmentShader,
|
|
3157
|
+
blending: Mt,
|
|
2974
3158
|
depthTest: !1,
|
|
2975
3159
|
depthWrite: !1,
|
|
2976
3160
|
transparent: !0
|
|
2977
|
-
}), this.enabled = !0, this.needsSwap = !1, this._oldClearColor = new
|
|
3161
|
+
}), this.enabled = !0, this.needsSwap = !1, this._oldClearColor = new q(), this.oldClearAlpha = 1, this.basic = new Ve(), this.fsQuad = new R(null);
|
|
2978
3162
|
}
|
|
2979
3163
|
dispose() {
|
|
2980
|
-
for (let
|
|
2981
|
-
this.renderTargetsHorizontal[
|
|
2982
|
-
for (let
|
|
2983
|
-
this.renderTargetsVertical[
|
|
3164
|
+
for (let t = 0; t < this.renderTargetsHorizontal.length; t++)
|
|
3165
|
+
this.renderTargetsHorizontal[t].dispose();
|
|
3166
|
+
for (let t = 0; t < this.renderTargetsVertical.length; t++)
|
|
3167
|
+
this.renderTargetsVertical[t].dispose();
|
|
2984
3168
|
this.renderTargetBright.dispose();
|
|
2985
|
-
for (let
|
|
2986
|
-
this.separableBlurMaterials[
|
|
3169
|
+
for (let t = 0; t < this.separableBlurMaterials.length; t++)
|
|
3170
|
+
this.separableBlurMaterials[t].dispose();
|
|
2987
3171
|
this.compositeMaterial.dispose(), this.blendMaterial.dispose(), this.basic.dispose(), this.fsQuad.dispose();
|
|
2988
3172
|
}
|
|
2989
|
-
setSize(
|
|
2990
|
-
let o = Math.round(
|
|
3173
|
+
setSize(t, e) {
|
|
3174
|
+
let o = Math.round(t / 2), s = Math.round(e / 2);
|
|
2991
3175
|
this.renderTargetBright.setSize(o, s);
|
|
2992
3176
|
for (let a = 0; a < this.nMips; a++)
|
|
2993
|
-
this.renderTargetsHorizontal[a].setSize(o, s), this.renderTargetsVertical[a].setSize(o, s), this.separableBlurMaterials[a].uniforms.invSize.value = new
|
|
3177
|
+
this.renderTargetsHorizontal[a].setSize(o, s), this.renderTargetsVertical[a].setSize(o, s), this.separableBlurMaterials[a].uniforms.invSize.value = new f(1 / o, 1 / s), o = Math.round(o / 2), s = Math.round(s / 2);
|
|
2994
3178
|
}
|
|
2995
|
-
render(
|
|
2996
|
-
|
|
2997
|
-
const
|
|
2998
|
-
|
|
3179
|
+
render(t, e, o, s, a) {
|
|
3180
|
+
t.getClearColor(this._oldClearColor), this.oldClearAlpha = t.getClearAlpha();
|
|
3181
|
+
const r = t.autoClear;
|
|
3182
|
+
t.autoClear = !1, t.setClearColor(this.clearColor, 0), a && t.state.buffers.stencil.setTest(!1), this.renderToScreen && (this.fsQuad.material = this.basic, this.basic.map = o.texture, t.setRenderTarget(null), t.clear(), this.fsQuad.render(t)), this.highPassUniforms.tDiffuse.value = o.texture, this.highPassUniforms.luminosityThreshold.value = this.threshold, this.fsQuad.material = this.materialHighPassFilter, t.setRenderTarget(this.renderTargetBright), t.clear(), this.fsQuad.render(t);
|
|
2999
3183
|
let n = this.renderTargetBright;
|
|
3000
|
-
for (let
|
|
3001
|
-
this.fsQuad.material = this.separableBlurMaterials[
|
|
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,
|
|
3003
|
-
}
|
|
3004
|
-
getSeparableBlurMaterial(
|
|
3005
|
-
const
|
|
3006
|
-
for (let o = 0; o <
|
|
3007
|
-
|
|
3008
|
-
return new
|
|
3184
|
+
for (let u = 0; u < this.nMips; u++)
|
|
3185
|
+
this.fsQuad.material = this.separableBlurMaterials[u], this.separableBlurMaterials[u].uniforms.colorTexture.value = n.texture, this.separableBlurMaterials[u].uniforms.direction.value = N.BlurDirectionX, t.setRenderTarget(this.renderTargetsHorizontal[u]), t.clear(), this.fsQuad.render(t), this.separableBlurMaterials[u].uniforms.colorTexture.value = this.renderTargetsHorizontal[u].texture, this.separableBlurMaterials[u].uniforms.direction.value = N.BlurDirectionY, t.setRenderTarget(this.renderTargetsVertical[u]), t.clear(), this.fsQuad.render(t), n = this.renderTargetsVertical[u];
|
|
3186
|
+
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, t.setRenderTarget(this.renderTargetsHorizontal[0]), t.clear(), this.fsQuad.render(t), this.fsQuad.material = this.blendMaterial, this.copyUniforms.tDiffuse.value = this.renderTargetsHorizontal[0].texture, a && t.state.buffers.stencil.setTest(!0), this.renderToScreen ? (t.setRenderTarget(null), this.fsQuad.render(t)) : (t.setRenderTarget(o), this.fsQuad.render(t)), t.setClearColor(this._oldClearColor, this.oldClearAlpha), t.autoClear = r;
|
|
3187
|
+
}
|
|
3188
|
+
getSeparableBlurMaterial(t) {
|
|
3189
|
+
const e = [];
|
|
3190
|
+
for (let o = 0; o < t; o++)
|
|
3191
|
+
e.push(0.39894 * Math.exp(-0.5 * o * o / (t * t)) / t);
|
|
3192
|
+
return new M({
|
|
3009
3193
|
defines: {
|
|
3010
|
-
KERNEL_RADIUS:
|
|
3194
|
+
KERNEL_RADIUS: t
|
|
3011
3195
|
},
|
|
3012
3196
|
uniforms: {
|
|
3013
3197
|
colorTexture: { value: null },
|
|
3014
|
-
invSize: { value: new
|
|
3198
|
+
invSize: { value: new f(0.5, 0.5) },
|
|
3015
3199
|
// inverse texture size
|
|
3016
|
-
direction: { value: new
|
|
3017
|
-
gaussianCoefficients: { value:
|
|
3200
|
+
direction: { value: new f(0.5, 0.5) },
|
|
3201
|
+
gaussianCoefficients: { value: e }
|
|
3018
3202
|
// precomputed Gaussian coefficients
|
|
3019
3203
|
},
|
|
3020
3204
|
vertexShader: `varying vec2 vUv;
|
|
@@ -3045,10 +3229,10 @@ class B extends C {
|
|
|
3045
3229
|
}`
|
|
3046
3230
|
});
|
|
3047
3231
|
}
|
|
3048
|
-
getCompositeMaterial(
|
|
3049
|
-
return new
|
|
3232
|
+
getCompositeMaterial(t) {
|
|
3233
|
+
return new M({
|
|
3050
3234
|
defines: {
|
|
3051
|
-
NUM_MIPS:
|
|
3235
|
+
NUM_MIPS: t
|
|
3052
3236
|
},
|
|
3053
3237
|
uniforms: {
|
|
3054
3238
|
blurTexture1: { value: null },
|
|
@@ -3092,70 +3276,74 @@ class B extends C {
|
|
|
3092
3276
|
});
|
|
3093
3277
|
}
|
|
3094
3278
|
}
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
const
|
|
3279
|
+
N.BlurDirectionX = new f(1, 0);
|
|
3280
|
+
N.BlurDirectionY = new f(0, 1);
|
|
3281
|
+
const Do = /* @__PURE__ */ c({
|
|
3098
3282
|
__name: "UnrealBloom",
|
|
3099
3283
|
props: {
|
|
3100
3284
|
radius: { default: 0 },
|
|
3101
3285
|
strength: { default: 1 },
|
|
3102
3286
|
threshold: { default: 0 }
|
|
3103
3287
|
},
|
|
3104
|
-
setup(
|
|
3105
|
-
const
|
|
3106
|
-
new
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
),
|
|
3111
|
-
return
|
|
3288
|
+
setup(i, { expose: t }) {
|
|
3289
|
+
const e = i, { sizes: o } = G(), { pass: s } = W(() => new N(
|
|
3290
|
+
new f(o.width.value, o.height.value),
|
|
3291
|
+
e.radius,
|
|
3292
|
+
e.strength,
|
|
3293
|
+
e.threshold
|
|
3294
|
+
), e);
|
|
3295
|
+
return t({ pass: s }), S(() => {
|
|
3112
3296
|
var a;
|
|
3113
|
-
s.value.radius =
|
|
3114
|
-
}),
|
|
3297
|
+
s.value.radius = e.radius ?? ((a = s.value.getCompositeMaterial().uniforms.bloomRadius) == null ? void 0 : a.value) ?? 0.1;
|
|
3298
|
+
}), S(() => {
|
|
3115
3299
|
var a;
|
|
3116
|
-
s.value.strength =
|
|
3117
|
-
}),
|
|
3300
|
+
s.value.strength = e.strength ?? ((a = s.value.getCompositeMaterial().uniforms.bloomStrength) == null ? void 0 : a.value) ?? 1;
|
|
3301
|
+
}), S(() => {
|
|
3118
3302
|
var a;
|
|
3119
|
-
s.value.threshold =
|
|
3303
|
+
s.value.threshold = e.threshold ?? ((a = Ke.uniforms.luminosityThreshold) == null ? void 0 : a.value) ?? 1;
|
|
3120
3304
|
}), () => {
|
|
3121
3305
|
};
|
|
3122
3306
|
}
|
|
3123
3307
|
});
|
|
3124
3308
|
export {
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
Zt as
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3309
|
+
Ao as ASCIIPmndrs,
|
|
3310
|
+
$t as BarrelBlurPmndrs,
|
|
3311
|
+
kt as BloomPmndrs,
|
|
3312
|
+
xo as BrightnessContrastPmndrs,
|
|
3313
|
+
to as ChromaticAberrationPmndrs,
|
|
3314
|
+
ro as ColorAveragePmndrs,
|
|
3315
|
+
mo as ColorDepthPmndrs,
|
|
3316
|
+
qt as DepthOfFieldPmndrs,
|
|
3317
|
+
ho as DepthPickingPassPmndrs,
|
|
3318
|
+
uo as DotScreenPmndrs,
|
|
3319
|
+
yo as EffectComposer,
|
|
3320
|
+
Yt as EffectComposerPmndrs,
|
|
3321
|
+
wo as FXAAPmndrs,
|
|
3322
|
+
go as FishEyePmndrs,
|
|
3323
|
+
Mo as Glitch,
|
|
3324
|
+
Qt as GlitchPmndrs,
|
|
3325
|
+
po as GodRaysPmndrs,
|
|
3326
|
+
vo as GridPmndrs,
|
|
3327
|
+
To as Halftone,
|
|
3328
|
+
oo as HueSaturationPmndrs,
|
|
3329
|
+
ao as KuwaharaPmndrs,
|
|
3330
|
+
io as LensDistortionPmndrs,
|
|
3331
|
+
fo as LinocutPmndrs,
|
|
3332
|
+
Kt as NoisePmndrs,
|
|
3333
|
+
Jt as OutlinePmndrs,
|
|
3334
|
+
Eo as Output,
|
|
3335
|
+
Co as Pixelation,
|
|
3336
|
+
Zt as PixelationPmndrs,
|
|
3337
|
+
Po as SMAA,
|
|
3338
|
+
bo as SMAAPmndrs,
|
|
3339
|
+
so as ScanlinePmndrs,
|
|
3340
|
+
co as SepiaPmndrs,
|
|
3341
|
+
no as ShockWavePmndrs,
|
|
3342
|
+
So as TexturePmndrs,
|
|
3343
|
+
lo as TiltShiftPmndrs,
|
|
3344
|
+
eo as ToneMappingPmndrs,
|
|
3345
|
+
Do as UnrealBloom,
|
|
3346
|
+
_t as VignettePmndrs,
|
|
3347
|
+
W as useEffect,
|
|
3348
|
+
h as useEffectPmndrs
|
|
3161
3349
|
};
|