shaders 2.2.11 → 2.2.14
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/{Blob-C0G0efjG.js → Blob-CzWSpVTR.js} +1 -1
- package/dist/core/{Checkerboard-BPkiSF5I.js → Checkerboard-B8CnUlbi.js} +1 -1
- package/dist/core/{CursorTrail-BeJGeovB.js → CursorTrail-BcaRHjU5.js} +1 -1
- package/dist/core/{Duotone-_nR_o3-g.js → Duotone-DGNEAlye.js} +1 -1
- package/dist/core/Godrays-D3VnYrAm.js +106 -0
- package/dist/core/{LinearGradient-LEMeW0KM.js → LinearGradient-DPe-Z-lw.js} +1 -1
- package/dist/core/{RadialGradient-D0cN67jm.js → RadialGradient-CbaCbOJj.js} +1 -1
- package/dist/core/{Ripples-DH71sFJc.js → Ripples-0Ufm3-fY.js} +9 -8
- package/dist/core/{SimplexNoise-DPGC2OPJ.js → SimplexNoise-BKB94dhx.js} +7 -6
- package/dist/core/Spherize-CqjZj4yV.js +104 -0
- package/dist/core/{Spiral-CcyI8azF.js → Spiral-BkzSmPUL.js} +1 -1
- package/dist/core/{Swirl-BpMwkNcm.js → Swirl-BHn9Ji7_.js} +1 -1
- package/dist/core/{Tritone-Dx48G3b1.js → Tritone-DrzxJUaq.js} +1 -1
- package/dist/core/colorMixing-C-FChLp0.js +22 -0
- package/dist/core/index.js +135 -133
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/Blob/index.js +2 -2
- package/dist/core/shaders/Checkerboard/index.js +2 -2
- package/dist/core/shaders/CursorTrail/index.js +2 -2
- package/dist/core/shaders/Duotone/index.js +2 -2
- package/dist/core/shaders/Godrays/index.d.ts.map +1 -1
- package/dist/core/shaders/Godrays/index.js +1 -1
- package/dist/core/shaders/LinearGradient/index.js +2 -2
- package/dist/core/shaders/RadialGradient/index.js +2 -2
- package/dist/core/shaders/Ripples/index.d.ts.map +1 -1
- package/dist/core/shaders/Ripples/index.js +4 -3
- package/dist/core/shaders/SimplexNoise/index.d.ts.map +1 -1
- package/dist/core/shaders/SimplexNoise/index.js +4 -3
- package/dist/core/shaders/Spherize/index.d.ts +62 -0
- package/dist/core/shaders/Spherize/index.d.ts.map +1 -0
- package/dist/core/shaders/Spherize/index.js +7 -0
- package/dist/core/shaders/Spiral/index.js +2 -2
- package/dist/core/shaders/Strands/index.js +1 -1
- package/dist/core/shaders/Stretch/index.js +1 -1
- package/dist/core/shaders/Swirl/index.js +2 -2
- package/dist/core/shaders/TiltShift/index.js +1 -1
- package/dist/core/shaders/Tritone/index.js +2 -2
- package/dist/core/shaders/Twirl/index.js +1 -1
- package/dist/core/shaders/Vibrance/index.js +1 -1
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/core/utilities/colorMixing.d.ts.map +1 -1
- package/dist/react/{generatePresetCode-CbulNGo3.js → generatePresetCode-BXrrE8g5.js} +9 -4
- package/dist/react/{generatePresetCode-ClK4i9O1.cjs → generatePresetCode-DWBlTzlt.cjs} +2 -2
- package/dist/react/index.cjs +71 -71
- package/dist/react/index.js +9016 -8795
- package/dist/react/utils/generatePresetCode.cjs +1 -1
- package/dist/react/utils/generatePresetCode.js +1 -1
- package/dist/registry.js +166 -0
- package/dist/svelte/components/Spherize.svelte.d.ts +19 -0
- package/dist/svelte/{generatePresetCode-CbulNGo3.js → generatePresetCode-BXrrE8g5.js} +9 -4
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +8244 -8064
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/{generatePresetCode-Baa8DyZE.js → generatePresetCode-nej_B_Ke.js} +30 -25
- package/dist/vue/index.js +7848 -7646
- package/dist/vue/utils/generatePresetCode.js +1 -1
- package/package.json +6 -1
- package/dist/core/Godrays-cUzAKVXn.js +0 -106
- package/dist/core/colorMixing-DPZ-Td4U.js +0 -22
- /package/dist/core/{Strands-Co4fkc05.js → Strands-DyrV6zDO.js} +0 -0
- /package/dist/core/{Stretch-C8iYAgNS.js → Stretch-DeBlJ-NH.js} +0 -0
- /package/dist/core/{TiltShift-D31nakFq.js → TiltShift-DiArippe.js} +0 -0
- /package/dist/core/{Twirl-ng6pwyl2.js → Twirl-C6xj1p52.js} +0 -0
- /package/dist/core/{Vibrance-D0ArL0qp.js → Vibrance-C6lNgpWH.js} +0 -0
- /package/dist/core/{WaveDistortion-DGKrpUdb.js → WaveDistortion-DcXxPZ2w.js} +0 -0
- /package/dist/core/{ZoomBlur-uQyy5yko.js → ZoomBlur-_feIVJs6.js} +0 -0
package/dist/core/index.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { A as G, B as Xn, D as R, E as Me, F as un, H as Yn, I as Ze, J as Hn, K as In, L as Wn, M as N, N as S, P as we, R as jn, S as ge, T as Rn, U as Qn, V as Jn, _ as xe, c as Kn, d as Q, g as en, h as nn, i as Zn, k as me, l as Tn, m as D, n as k, o as et, q as nt, s as tt, t as rt, v as c, w as ot, x as J, z as it } from "./three.tsl-BqgDcRt9.js";
|
|
2
2
|
import { n as se, t as be } from "./edges-B-tVdqcI.js";
|
|
3
|
-
import { t as
|
|
3
|
+
import { t as io } from "./time-5uQ65blS.js";
|
|
4
4
|
import "./transformations-DBjTkQ5b.js";
|
|
5
5
|
import { n as at } from "./AngularBlur-BTUdXC0g.js";
|
|
6
6
|
import { n as st } from "./Ascii-Bu8ii7oo.js";
|
|
7
|
-
import "./colorMixing-
|
|
8
|
-
import { n as lt } from "./Blob-
|
|
7
|
+
import "./colorMixing-C-FChLp0.js";
|
|
8
|
+
import { n as lt } from "./Blob-CzWSpVTR.js";
|
|
9
9
|
import { n as ct } from "./Blur-BzUO9yxF.js";
|
|
10
10
|
import { n as ft } from "./Bulge-BCXYAzig.js";
|
|
11
11
|
import { n as ut } from "./ChannelBlur-BEK1qzGn.js";
|
|
12
|
-
import { n as mt } from "./Checkerboard-
|
|
12
|
+
import { n as mt } from "./Checkerboard-B8CnUlbi.js";
|
|
13
13
|
import { n as dt } from "./ChromaFlow-AHO3C4o3.js";
|
|
14
14
|
import { n as ht } from "./ChromaticAberration-nVg3r1FK.js";
|
|
15
15
|
import { n as pt } from "./Circle-C8ltF4BZ.js";
|
|
16
16
|
import { n as gt } from "./CRTScreen-cJ3XHrI9.js";
|
|
17
|
-
import { n as bt } from "./CursorTrail-
|
|
17
|
+
import { n as bt } from "./CursorTrail-BcaRHjU5.js";
|
|
18
18
|
import { n as vt } from "./DiffuseBlur-Dq_vFrB1.js";
|
|
19
19
|
import { n as Ct } from "./Dither-CpN3vGSh.js";
|
|
20
20
|
import { n as Rt } from "./DotGrid-BFUzeSQw.js";
|
|
21
|
-
import { n as Tt } from "./Duotone-
|
|
21
|
+
import { n as Tt } from "./Duotone-DGNEAlye.js";
|
|
22
22
|
import { n as kt } from "./FilmGrain-BAKXXtLg.js";
|
|
23
23
|
import { n as yt } from "./FloatingParticles-Fv8JIzKk.js";
|
|
24
24
|
import { n as wt } from "./GlassTiles-5MyBj1ff.js";
|
|
25
25
|
import { n as Ut } from "./Glow-DvJj7BB7.js";
|
|
26
|
-
import { n as St } from "./Godrays-
|
|
26
|
+
import { n as St } from "./Godrays-D3VnYrAm.js";
|
|
27
27
|
import "./TSLBase-BFMvTOak.js";
|
|
28
28
|
import "./ColorAdjustment-CKwpE_4M.js";
|
|
29
29
|
import { n as Mt } from "./Grayscale-oWIF3PV5.js";
|
|
@@ -35,98 +35,99 @@ import { n as Et } from "./HueShift-CiS4hdtk.js";
|
|
|
35
35
|
import { n as $t } from "./ImageTexture-B3Q29OHX.js";
|
|
36
36
|
import { n as Ft } from "./Invert-Cyc4JHWc.js";
|
|
37
37
|
import { n as Ot } from "./LinearBlur-BTC54qzk.js";
|
|
38
|
-
import { n as Bt } from "./LinearGradient-
|
|
38
|
+
import { n as Bt } from "./LinearGradient-DPe-Z-lw.js";
|
|
39
39
|
import { n as _t } from "./Liquify-D2nzMDzq.js";
|
|
40
40
|
import { n as Vt } from "./Pixelate-irPzmtQm.js";
|
|
41
41
|
import { n as qt } from "./PolarCoordinates-Ck5ZWrQO.js";
|
|
42
42
|
import { n as Gt } from "./Posterize-DICq_t96.js";
|
|
43
43
|
import { n as Lt } from "./ProgressiveBlur-BuORe3VH.js";
|
|
44
|
-
import { n as Nt } from "./RadialGradient-
|
|
44
|
+
import { n as Nt } from "./RadialGradient-CbaCbOJj.js";
|
|
45
45
|
import { n as Pt } from "./RectangularCoordinates-1LIDaeHR.js";
|
|
46
|
-
import { n as Xt } from "./Ripples-
|
|
46
|
+
import { n as Xt } from "./Ripples-0Ufm3-fY.js";
|
|
47
47
|
import { n as Yt } from "./Saturation-DbSXtSeK.js";
|
|
48
|
-
import { n as Ht } from "./SimplexNoise-
|
|
48
|
+
import { n as Ht } from "./SimplexNoise-BKB94dhx.js";
|
|
49
49
|
import { n as It } from "./SineWave-CkWtnzHF.js";
|
|
50
50
|
import { n as Wt } from "./SolidColor-DaB-FHNX.js";
|
|
51
|
-
import { n as jt } from "./
|
|
52
|
-
import { n as Qt } from "./
|
|
53
|
-
import { n as Jt } from "./
|
|
54
|
-
import { n as Kt } from "./
|
|
55
|
-
import { n as Zt } from "./
|
|
56
|
-
import { n as er } from "./
|
|
57
|
-
import { n as nr } from "./
|
|
58
|
-
import { n as tr } from "./
|
|
59
|
-
import { n as rr } from "./
|
|
60
|
-
import { n as or } from "./
|
|
61
|
-
import {
|
|
51
|
+
import { n as jt } from "./Spherize-CqjZj4yV.js";
|
|
52
|
+
import { n as Qt } from "./Spiral-BkzSmPUL.js";
|
|
53
|
+
import { n as Jt } from "./Strands-DyrV6zDO.js";
|
|
54
|
+
import { n as Kt } from "./Stretch-DeBlJ-NH.js";
|
|
55
|
+
import { n as Zt } from "./Swirl-BHn9Ji7_.js";
|
|
56
|
+
import { n as er } from "./TiltShift-DiArippe.js";
|
|
57
|
+
import { n as nr } from "./Tritone-DrzxJUaq.js";
|
|
58
|
+
import { n as tr } from "./Twirl-C6xj1p52.js";
|
|
59
|
+
import { n as rr } from "./Vibrance-C6lNgpWH.js";
|
|
60
|
+
import { n as or } from "./WaveDistortion-DcXxPZ2w.js";
|
|
61
|
+
import { n as ir } from "./ZoomBlur-_feIVJs6.js";
|
|
62
|
+
import { WebGLRenderer as ar } from "three";
|
|
62
63
|
Wn();
|
|
63
64
|
D();
|
|
64
|
-
function
|
|
65
|
+
function sr(e, n, l = 1) {
|
|
65
66
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t)));
|
|
66
67
|
return S(k(c(n.rgb, t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
67
68
|
}
|
|
68
69
|
D();
|
|
69
|
-
var mn = (e) => N(e.x.mul(1.2249401).sub(e.y.mul(0.2249404)).sub(e.z.mul(0)), e.x.mul(-0.0420569).add(e.y.mul(1.0420571)).add(e.z.mul(0)), e.x.mul(-0.0196376).sub(e.y.mul(0.0786361)).add(e.z.mul(1.0982735))),
|
|
70
|
+
var mn = (e) => N(e.x.mul(1.2249401).sub(e.y.mul(0.2249404)).sub(e.z.mul(0)), e.x.mul(-0.0420569).add(e.y.mul(1.0420571)).add(e.z.mul(0)), e.x.mul(-0.0196376).sub(e.y.mul(0.0786361)).add(e.z.mul(1.0982735))), lr = (e) => N(e.x.mul(0.8224621).add(e.y.mul(0.177538)).add(e.z.mul(0)), e.x.mul(0.0331941).add(e.y.mul(0.9668058)).add(e.z.mul(0)), e.x.mul(0.0170826).add(e.y.mul(0.0723974)).add(e.z.mul(0.9105199))), dn = (e) => {
|
|
70
71
|
const n = e.x, l = e.y, t = e.z, u = n.mul(0.4122214708).add(l.mul(0.5363325363)).add(t.mul(0.0514459929)), p = n.mul(0.2119034982).add(l.mul(0.6806995451).add(t.mul(0.1073969566))), h = n.mul(0.0883024619).add(l.mul(0.2817188376)).add(t.mul(0.6299787005)), d = J(u, Q(1 / 3)), T = J(p, Q(1 / 3)), U = J(h, Q(1 / 3));
|
|
71
72
|
return N(d.mul(0.2104542553).add(T.mul(0.793617785)).sub(U.mul(0.0040720468)), d.mul(1.9779984951).sub(T.mul(2.428592205)).add(U.mul(0.4505937099)), d.mul(0.0259040371).add(T.mul(0.7827717662)).sub(U.mul(0.808675766)));
|
|
72
|
-
},
|
|
73
|
+
}, cr = (e) => {
|
|
73
74
|
const n = e.x, l = e.y, t = e.z, u = n.add(l.mul(0.3963377774)).add(t.mul(0.2158037573)), p = n.sub(l.mul(0.1055613458)).sub(t.mul(0.0638541728)), h = n.sub(l.mul(0.0894841775)).sub(t.mul(1.291485548)), d = J(u, Q(3)), T = J(p, Q(3)), U = J(h, Q(3));
|
|
74
75
|
return N(d.mul(4.0767416621).sub(T.mul(3.3077115913)).add(U.mul(0.2309699292)), d.mul(-1.2684380046).add(T.mul(2.6097574011)).sub(U.mul(0.3413193965)), d.mul(-0.0041960863).sub(T.mul(0.7034186147)).add(U.mul(1.707614701)));
|
|
75
76
|
}, hn = (e) => {
|
|
76
77
|
const n = e.x, l = e.y, t = e.z;
|
|
77
78
|
return N(n, Rn(l.mul(l).add(t.mul(t))), Zn(t, l));
|
|
78
|
-
},
|
|
79
|
+
}, fr = (e) => {
|
|
79
80
|
const n = e.x, l = e.y, t = e.z;
|
|
80
81
|
return N(n, l.mul(tt(t)), l.mul(ot(t)));
|
|
81
82
|
};
|
|
82
|
-
function
|
|
83
|
+
function ur(e, n, l = 1) {
|
|
83
84
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t))), p = mn(N(e.r, e.g, e.b)), h = mn(N(n.r, n.g, n.b)), d = dn(p), T = dn(h), U = hn(d);
|
|
84
|
-
return S(
|
|
85
|
+
return S(lr(cr(fr(k(c(hn(T), t), c(U, c(e.a, R(1, t))))))), u);
|
|
85
86
|
}
|
|
86
87
|
D();
|
|
87
|
-
var pn = (e) => N(e.x.mul(1.2249401).sub(e.y.mul(0.2249404)).sub(e.z.mul(0)), e.x.mul(-0.0420569).add(e.y.mul(1.0420571)).add(e.z.mul(0)), e.x.mul(-0.0196376).sub(e.y.mul(0.0786361)).add(e.z.mul(1.0982735))),
|
|
88
|
+
var pn = (e) => N(e.x.mul(1.2249401).sub(e.y.mul(0.2249404)).sub(e.z.mul(0)), e.x.mul(-0.0420569).add(e.y.mul(1.0420571)).add(e.z.mul(0)), e.x.mul(-0.0196376).sub(e.y.mul(0.0786361)).add(e.z.mul(1.0982735))), mr = (e) => N(e.x.mul(0.8224621).add(e.y.mul(0.177538)).add(e.z.mul(0)), e.x.mul(0.0331941).add(e.y.mul(0.9668058)).add(e.z.mul(0)), e.x.mul(0.0170826).add(e.y.mul(0.0723974)).add(e.z.mul(0.9105199))), gn = (e) => {
|
|
88
89
|
const n = e.x, l = e.y, t = e.z, u = n.mul(0.4122214708).add(l.mul(0.5363325363)).add(t.mul(0.0514459929)), p = n.mul(0.2119034982).add(l.mul(0.6806995451).add(t.mul(0.1073969566))), h = n.mul(0.0883024619).add(l.mul(0.2817188376)).add(t.mul(0.6299787005)), d = J(u, Q(1 / 3)), T = J(p, Q(1 / 3)), U = J(h, Q(1 / 3));
|
|
89
90
|
return N(d.mul(0.2104542553).add(T.mul(0.793617785)).sub(U.mul(0.0040720468)), d.mul(1.9779984951).sub(T.mul(2.428592205)).add(U.mul(0.4505937099)), d.mul(0.0259040371).add(T.mul(0.7827717662)).sub(U.mul(0.808675766)));
|
|
90
|
-
},
|
|
91
|
+
}, dr = (e) => {
|
|
91
92
|
const n = e.x, l = e.y, t = e.z, u = n.add(l.mul(0.3963377774)).add(t.mul(0.2158037573)), p = n.sub(l.mul(0.1055613458)).sub(t.mul(0.0638541728)), h = n.sub(l.mul(0.0894841775)).sub(t.mul(1.291485548)), d = J(u, Q(3)), T = J(p, Q(3)), U = J(h, Q(3));
|
|
92
93
|
return N(d.mul(4.0767416621).sub(T.mul(3.3077115913)).add(U.mul(0.2309699292)), d.mul(-1.2684380046).add(T.mul(2.6097574011)).sub(U.mul(0.3413193965)), d.mul(-0.0041960863).sub(T.mul(0.7034186147)).add(U.mul(1.707614701)));
|
|
93
94
|
};
|
|
94
|
-
function
|
|
95
|
+
function hr(e, n, l = 1) {
|
|
95
96
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t))), p = pn(N(e.r, e.g, e.b)), h = pn(N(n.r, n.g, n.b)), d = gn(p);
|
|
96
|
-
return S(
|
|
97
|
+
return S(mr(dr(k(c(gn(h), t), c(d, c(e.a, R(1, t)))))), u);
|
|
97
98
|
}
|
|
98
99
|
D();
|
|
99
|
-
function
|
|
100
|
+
function pr(e, n, l = 1) {
|
|
100
101
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t)));
|
|
101
102
|
return S(k(c(c(e.rgb, n.rgb), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
102
103
|
}
|
|
103
104
|
D();
|
|
104
|
-
function
|
|
105
|
+
function gr(e, n, l = 1) {
|
|
105
106
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t)));
|
|
106
107
|
return S(k(c(R(1, c(R(1, e.rgb), R(1, n.rgb))), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
107
108
|
}
|
|
108
109
|
D();
|
|
109
|
-
function
|
|
110
|
+
function br(e, n, l = 1) {
|
|
110
111
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t)));
|
|
111
112
|
return S(k(c(en(k(e.rgb, n.rgb), 1), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
112
113
|
}
|
|
113
114
|
D();
|
|
114
|
-
function
|
|
115
|
+
function vr(e, n, l = 1) {
|
|
115
116
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t)));
|
|
116
117
|
return S(k(c(xe(c(2, c(e.rgb, n.rgb)), R(1, c(2, c(R(1, e.rgb), R(1, n.rgb)))), Me(0.5, e.rgb)), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
117
118
|
}
|
|
118
119
|
D();
|
|
119
|
-
function
|
|
120
|
+
function Cr(e, n, l = 1) {
|
|
120
121
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t)));
|
|
121
122
|
return S(k(c(rt(R(e.rgb, n.rgb)), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
122
123
|
}
|
|
123
124
|
D();
|
|
124
|
-
function
|
|
125
|
+
function Rr(e, n, l = 1) {
|
|
125
126
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t)));
|
|
126
127
|
return S(k(c(xe(e.rgb, en(Kn(e.rgb, R(1, n.rgb)), 1), Me(1e-3, R(1, n.rgb))), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
127
128
|
}
|
|
128
129
|
D();
|
|
129
|
-
function
|
|
130
|
+
function Tr(e, n, l = 1) {
|
|
130
131
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t)));
|
|
131
132
|
return S(k(c(R(k(e.rgb, n.rgb), c(2, c(e.rgb, n.rgb))), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
132
133
|
}
|
|
@@ -135,110 +136,110 @@ function le(e) {
|
|
|
135
136
|
return k(k(c(e.r, 0.2126), c(e.g, 0.7152)), c(e.b, 0.0722));
|
|
136
137
|
}
|
|
137
138
|
D();
|
|
138
|
-
function
|
|
139
|
+
function kr(e, n, l = 1) {
|
|
139
140
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t))), p = R(le(e.rgb), le(n.rgb));
|
|
140
141
|
return S(k(c(k(n.rgb, p), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
141
142
|
}
|
|
142
143
|
D();
|
|
143
|
-
function
|
|
144
|
+
function yr(e, n, l = 1) {
|
|
144
145
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t))), p = le(e.rgb), h = le(n.rgb).div(k(p, 1e-4));
|
|
145
146
|
return S(k(c(c(e.rgb, h), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
146
147
|
}
|
|
147
148
|
D();
|
|
148
|
-
function
|
|
149
|
+
function wr(e, n, l = 1) {
|
|
149
150
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t)));
|
|
150
151
|
return S(k(c(en(e.rgb, n.rgb), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
151
152
|
}
|
|
152
153
|
D();
|
|
153
|
-
function
|
|
154
|
+
function Ur(e, n, l = 1) {
|
|
154
155
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t)));
|
|
155
156
|
return S(k(c(nn(e.rgb, n.rgb), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
156
157
|
}
|
|
157
158
|
D();
|
|
158
|
-
function
|
|
159
|
+
function Sr(e, n, l = 1) {
|
|
159
160
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t)));
|
|
160
161
|
return S(k(c(xe(S(0, 0, 0, 1).rgb, nn(R(1, R(1, e.rgb).div(k(n.rgb, 1e-4))), 0), Me(1e-4, n.rgb)), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
161
162
|
}
|
|
162
163
|
D();
|
|
163
|
-
function
|
|
164
|
+
function Mr(e, n, l = 1) {
|
|
164
165
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t)));
|
|
165
166
|
return S(k(c(nn(k(k(e.rgb, n.rgb), -1), 0), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
166
167
|
}
|
|
167
168
|
D();
|
|
168
|
-
function
|
|
169
|
+
function xr(e, n, l = 1) {
|
|
169
170
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t))), p = k(c(2, c(e.rgb, n.rgb)), c(c(e.rgb, e.rgb), R(1, c(2, n.rgb)))), h = Rn(e.rgb);
|
|
170
171
|
return S(k(c(xe(p, k(c(2, c(e.rgb, R(1, n.rgb))), c(h, R(c(2, n.rgb), 1))), Me(0.5, n.rgb)), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
171
172
|
}
|
|
172
173
|
D();
|
|
173
|
-
function
|
|
174
|
+
function Ar(e, n, l = 1) {
|
|
174
175
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t)));
|
|
175
176
|
return S(k(c(xe(c(2, c(e.rgb, n.rgb)), R(1, c(2, c(R(1, e.rgb), R(1, n.rgb)))), Me(0.5, n.rgb)), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
176
177
|
}
|
|
177
178
|
D();
|
|
178
|
-
function
|
|
179
|
+
function Dr(e, n, l = 1) {
|
|
179
180
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t))), p = le(e.rgb), h = le(n.rgb), d = e.rgb.sub(p), T = n.rgb.sub(h), U = d.length();
|
|
180
181
|
return S(k(c(k(c(T.normalize(), U), p), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
181
182
|
}
|
|
182
183
|
D();
|
|
183
|
-
function
|
|
184
|
+
function zr(e, n, l = 1) {
|
|
184
185
|
const t = c(n.a, l), u = k(t, c(e.a, R(1, t))), p = le(e.rgb), h = le(n.rgb), d = e.rgb.sub(p), T = n.rgb.sub(h);
|
|
185
186
|
return S(k(c(k(c(d.normalize(), T.length()), p), t), c(e.rgb, c(e.a, R(1, t)))), u);
|
|
186
187
|
}
|
|
187
188
|
var bn = {
|
|
188
|
-
normal:
|
|
189
|
-
"normal-oklch":
|
|
190
|
-
"normal-oklab":
|
|
191
|
-
multiply:
|
|
192
|
-
screen:
|
|
193
|
-
linearDodge:
|
|
194
|
-
overlay:
|
|
195
|
-
difference:
|
|
196
|
-
colorDodge:
|
|
197
|
-
exclusion:
|
|
198
|
-
color:
|
|
199
|
-
luminosity:
|
|
200
|
-
darken:
|
|
201
|
-
lighten:
|
|
202
|
-
colorBurn:
|
|
203
|
-
linearBurn:
|
|
204
|
-
softLight:
|
|
205
|
-
hardLight:
|
|
206
|
-
hue:
|
|
207
|
-
saturation:
|
|
189
|
+
normal: sr,
|
|
190
|
+
"normal-oklch": ur,
|
|
191
|
+
"normal-oklab": hr,
|
|
192
|
+
multiply: pr,
|
|
193
|
+
screen: gr,
|
|
194
|
+
linearDodge: br,
|
|
195
|
+
overlay: vr,
|
|
196
|
+
difference: Cr,
|
|
197
|
+
colorDodge: Rr,
|
|
198
|
+
exclusion: Tr,
|
|
199
|
+
color: kr,
|
|
200
|
+
luminosity: yr,
|
|
201
|
+
darken: wr,
|
|
202
|
+
lighten: Ur,
|
|
203
|
+
colorBurn: Sr,
|
|
204
|
+
linearBurn: Mr,
|
|
205
|
+
softLight: xr,
|
|
206
|
+
hardLight: Ar,
|
|
207
|
+
hue: Dr,
|
|
208
|
+
saturation: zr
|
|
208
209
|
};
|
|
209
210
|
function j(e, n, l = "normal", t = 1) {
|
|
210
211
|
return (bn[l] || bn.normal)(e, n, t);
|
|
211
212
|
}
|
|
212
213
|
D();
|
|
213
|
-
function
|
|
214
|
+
function Er(e, n) {
|
|
214
215
|
const l = c(e.a, n.a);
|
|
215
216
|
return S(e.rgb, l);
|
|
216
217
|
}
|
|
217
218
|
D();
|
|
218
|
-
function
|
|
219
|
+
function $r(e, n) {
|
|
219
220
|
const l = R(1, n.a), t = c(e.a, l);
|
|
220
221
|
return S(e.rgb, t);
|
|
221
222
|
}
|
|
222
223
|
D();
|
|
223
|
-
function
|
|
224
|
+
function Fr(e, n) {
|
|
224
225
|
const l = N(0.2126, 0.7152, 0.0722), t = Tn(n.rgb, l), u = c(e.a, t);
|
|
225
226
|
return S(e.rgb, u);
|
|
226
227
|
}
|
|
227
228
|
D();
|
|
228
|
-
function
|
|
229
|
+
function Or(e, n) {
|
|
229
230
|
const l = N(0.2126, 0.7152, 0.0722), t = R(1, Tn(n.rgb, l)), u = c(e.a, t);
|
|
230
231
|
return S(e.rgb, u);
|
|
231
232
|
}
|
|
232
233
|
var vn = {
|
|
233
|
-
alpha:
|
|
234
|
-
alphaInverted:
|
|
235
|
-
luminance:
|
|
236
|
-
luminanceInverted:
|
|
234
|
+
alpha: Er,
|
|
235
|
+
alphaInverted: $r,
|
|
236
|
+
luminance: Fr,
|
|
237
|
+
luminanceInverted: Or
|
|
237
238
|
};
|
|
238
|
-
function
|
|
239
|
+
function Br(e, n, l = "alpha") {
|
|
239
240
|
return (vn[l] || vn.alpha)(e, n);
|
|
240
241
|
}
|
|
241
|
-
var
|
|
242
|
+
var _r = class {
|
|
242
243
|
frameTimesMs = [];
|
|
243
244
|
maxSamples = 60;
|
|
244
245
|
targetFrameTime = 16.67;
|
|
@@ -406,16 +407,16 @@ var Br = class {
|
|
|
406
407
|
}
|
|
407
408
|
};
|
|
408
409
|
D();
|
|
409
|
-
var { vec2: Ue, cos:
|
|
410
|
+
var { vec2: Ue, cos: Vr, sin: qr, float: Gr, PI: Lr } = me;
|
|
410
411
|
const oe = (e) => e ? e.offsetX !== 0 || e.offsetY !== 0 || e.rotation !== 0 || e.scale !== 1 || e.anchorX !== 0.5 || e.anchorY !== 0.5 : !1, Se = (e, n, l, t, u, p, h, d) => {
|
|
411
|
-
const T = t.mul(
|
|
412
|
+
const T = t.mul(Lr).div(Gr(180)), U = Vr(T), _ = qr(T), B = Ue(p, h), K = e.sub(B).div(u), P = Ue(K.x.mul(d), K.y), X = Ue(P.x.mul(U).sub(P.y.mul(_)), P.x.mul(_).add(P.y.mul(U)));
|
|
412
413
|
return Ue(X.x.div(d), X.y).sub(Ue(n, l)).add(B);
|
|
413
414
|
};
|
|
414
|
-
var
|
|
415
|
-
createUniformsMap: () =>
|
|
416
|
-
updateUniformValue: () =>
|
|
415
|
+
var Nr = /* @__PURE__ */ nt({
|
|
416
|
+
createUniformsMap: () => Pr,
|
|
417
|
+
updateUniformValue: () => Xr
|
|
417
418
|
});
|
|
418
|
-
function
|
|
419
|
+
function Pr(e, n, l) {
|
|
419
420
|
const t = {};
|
|
420
421
|
return Object.entries(e.props).forEach(([u, p]) => {
|
|
421
422
|
const h = n[u];
|
|
@@ -441,7 +442,7 @@ function Nr(e, n, l) {
|
|
|
441
442
|
};
|
|
442
443
|
}), t;
|
|
443
444
|
}
|
|
444
|
-
function
|
|
445
|
+
function Xr(e, n) {
|
|
445
446
|
if (e?.transform) {
|
|
446
447
|
const l = e.transform(n), t = l?.data ?? l;
|
|
447
448
|
e.uniform.value = t;
|
|
@@ -451,7 +452,7 @@ var kn, yn = In({ "src/utilities/uniforms.ts": (() => {
|
|
|
451
452
|
D(), { uniform: kn } = me;
|
|
452
453
|
}) });
|
|
453
454
|
D();
|
|
454
|
-
var Cn = !1,
|
|
455
|
+
var Cn = !1, Yr = /* @__PURE__ */ (() => {
|
|
455
456
|
let e = 0;
|
|
456
457
|
const n = /* @__PURE__ */ new Set(), l = (h) => {
|
|
457
458
|
n.forEach((d) => {
|
|
@@ -491,7 +492,7 @@ var Cn = !1, Xr = /* @__PURE__ */ (() => {
|
|
|
491
492
|
n.delete(h), e--, e === 0 && (window.removeEventListener("mousemove", l), window.removeEventListener("touchmove", t), window.removeEventListener("mouseup", u), window.removeEventListener("touchend", p));
|
|
492
493
|
};
|
|
493
494
|
} };
|
|
494
|
-
})(),
|
|
495
|
+
})(), Hr = () => {
|
|
495
496
|
try {
|
|
496
497
|
{
|
|
497
498
|
const { MODE: e, DEV: n } = {
|
|
@@ -509,7 +510,7 @@ var Cn = !1, Xr = /* @__PURE__ */ (() => {
|
|
|
509
510
|
return !1;
|
|
510
511
|
}
|
|
511
512
|
};
|
|
512
|
-
function
|
|
513
|
+
function mi() {
|
|
513
514
|
let e = null, n, l, t, u, p;
|
|
514
515
|
const h = {
|
|
515
516
|
nodes: /* @__PURE__ */ new Map(),
|
|
@@ -517,7 +518,7 @@ function fi() {
|
|
|
517
518
|
idToNodeId: /* @__PURE__ */ new Map()
|
|
518
519
|
}, d = /* @__PURE__ */ new Map();
|
|
519
520
|
let T = null, U = null, _ = null, B = !1, K = !1, P = !1, X = null, L = !1, ie = !0, z = 0, E = 0, ne = !1, Ge = 0, Le = !1, Ae = 0.5, De = 0.5, ce = !1, ze = !1, Ee = null, ve = null, fe = !1;
|
|
520
|
-
const ae = new
|
|
521
|
+
const ae = new _r();
|
|
521
522
|
let te = [], Ne = !1, $e = [], de = null, Fe = [], he = null, tn = /* @__PURE__ */ new Set(), rn = /* @__PURE__ */ new Set(), Pe = 0, Ce = /* @__PURE__ */ new Set(), Xe = /* @__PURE__ */ new Set(), Re = null, Oe = !1;
|
|
522
523
|
const Ye = (i, r) => {
|
|
523
524
|
i <= 0 || r <= 0 || i === z && r === E || (Re = {
|
|
@@ -641,7 +642,7 @@ function fi() {
|
|
|
641
642
|
let $ = M;
|
|
642
643
|
s && ($ = Te(M).sample(s));
|
|
643
644
|
const y = r.metadata.mask.type || "alpha";
|
|
644
|
-
return
|
|
645
|
+
return Br(i, $, y);
|
|
645
646
|
}, re = (i, r) => {
|
|
646
647
|
if (!r.metadata.transform || !r.transformUniforms || !oe(r.metadata.transform) && !r.transformRTTActive) return i;
|
|
647
648
|
const o = Te(i), f = Se(ge, r.transformUniforms.offsetX, r.transformUniforms.offsetY, r.transformUniforms.rotation, r.transformUniforms.scale, r.transformUniforms.anchorX, r.transformUniforms.anchorY, r.transformUniforms.aspectRatio);
|
|
@@ -1261,7 +1262,7 @@ function fi() {
|
|
|
1261
1262
|
const s = f.uniforms[r];
|
|
1262
1263
|
if (!(!s || !s.uniform)) {
|
|
1263
1264
|
if (s.transform) {
|
|
1264
|
-
const { updateUniformValue: v } = (yn(), Hn(
|
|
1265
|
+
const { updateUniformValue: v } = (yn(), Hn(Nr));
|
|
1265
1266
|
v(s, o);
|
|
1266
1267
|
} else s.uniform.value = o;
|
|
1267
1268
|
L && Z();
|
|
@@ -1430,7 +1431,7 @@ function fi() {
|
|
|
1430
1431
|
fe = r, K = !0, X = new AbortController();
|
|
1431
1432
|
const o = X;
|
|
1432
1433
|
try {
|
|
1433
|
-
if (e = i, t = new Qn(), t.background = null, l = new Xn(-1, 1, 1, -1, 0.1, 10), l.position.z = 1, l.lookAt(0, 0, 0), Ee =
|
|
1434
|
+
if (e = i, t = new Qn(), t.background = null, l = new Xn(-1, 1, 1, -1, 0.1, 10), l.position.z = 1, l.lookAt(0, 0, 0), Ee = Yr.register({
|
|
1434
1435
|
onMouseMove: Bn,
|
|
1435
1436
|
onTouchMove: _n,
|
|
1436
1437
|
onMouseUp: Vn,
|
|
@@ -1451,7 +1452,7 @@ function fi() {
|
|
|
1451
1452
|
if (o.signal.aborted) return;
|
|
1452
1453
|
console.warn("[Shaders] WebGPU initialization failed, falling back to WebGL:", $);
|
|
1453
1454
|
try {
|
|
1454
|
-
if (n = new
|
|
1455
|
+
if (n = new ar({
|
|
1455
1456
|
canvas: i,
|
|
1456
1457
|
antialias: !0,
|
|
1457
1458
|
alpha: !0,
|
|
@@ -1482,7 +1483,7 @@ function fi() {
|
|
|
1482
1483
|
K = !1, X === o && (X = null);
|
|
1483
1484
|
}
|
|
1484
1485
|
}, Nn = () => {
|
|
1485
|
-
!
|
|
1486
|
+
!Hr() || Cn || (console.warn("Shaders is running in development mode. Please purchase a license at https://shaders.com to use it in production."), Cn = !0);
|
|
1486
1487
|
}, fn = () => {
|
|
1487
1488
|
if (X && X.abort(), U && (U.disconnect(), U = null), _ && (_.disconnect(), _ = null), Ee && (Ee(), Ee = null), e && (e.removeEventListener("mousedown", ln), e.removeEventListener("touchstart", cn)), ve && (window.removeEventListener("beforeunload", ve), ve = null), Ke(), on(), Ce.forEach((i) => {
|
|
1488
1489
|
try {
|
|
@@ -1540,7 +1541,7 @@ function fi() {
|
|
|
1540
1541
|
};
|
|
1541
1542
|
}
|
|
1542
1543
|
yn();
|
|
1543
|
-
function
|
|
1544
|
+
function di(e) {
|
|
1544
1545
|
const n = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), t = {
|
|
1545
1546
|
processingOrder: [],
|
|
1546
1547
|
maskSources: /* @__PURE__ */ new Map(),
|
|
@@ -1553,9 +1554,9 @@ function ui(e) {
|
|
|
1553
1554
|
const p = u.mask.source.startsWith("#") ? u.mask.source.substring(1) : u.mask.source, h = n.get(p);
|
|
1554
1555
|
h ? (l.has(u.id) || l.set(u.id, []), l.get(u.id)?.push(h), t.maskSources.set(u.id, h)) : console.warn(`Mask source "${p}" not found for node "${u.id}"`);
|
|
1555
1556
|
}
|
|
1556
|
-
}), t.processingOrder =
|
|
1557
|
+
}), t.processingOrder = Ir(l, t.circularDependencies), t;
|
|
1557
1558
|
}
|
|
1558
|
-
function
|
|
1559
|
+
function Ir(e, n) {
|
|
1559
1560
|
const l = [], t = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Set();
|
|
1560
1561
|
function p(d, T = []) {
|
|
1561
1562
|
if (t.has(d)) return;
|
|
@@ -1575,25 +1576,25 @@ function Hr(e, n) {
|
|
|
1575
1576
|
return l.reverse();
|
|
1576
1577
|
}
|
|
1577
1578
|
D();
|
|
1578
|
-
var { vec2:
|
|
1579
|
-
const
|
|
1579
|
+
var { vec2: Wr, fract: jr, sin: Qr, dot: Jr } = me;
|
|
1580
|
+
const Kr = (e) => jr(Qr(Jr(e, Wr(12.12345, 78.12345))).mul(40000.12345)), hi = (e = 0.03) => (n) => Kr(n).mul(e).mul(0.10012345);
|
|
1580
1581
|
D();
|
|
1581
|
-
var { vec2:
|
|
1582
|
-
const
|
|
1582
|
+
var { vec2: Zr } = me;
|
|
1583
|
+
const pi = (e = Zr(0), n = 0.02, l = 1, t = 1) => {
|
|
1583
1584
|
const { vec2: u, sin: p, cos: h, time: d } = me, T = t * 1.618033988749895, U = t * 2.718281828459045, _ = (Math.sin(t) + 2) * 5, B = (Math.cos(t) + 2) * 5, K = u(p(e.x.mul(l).mul(_).add(d.mul(0.1)).add(T)), h(e.y.mul(l).mul(_).add(d.mul(0.1)).add(U))), P = u(p(e.y.mul(l).mul(B).add(d.mul(0.05)).add(U)), h(e.x.mul(l).mul(B).add(d.mul(0.05)).add(T))), X = K.add(P).mul(n);
|
|
1584
1585
|
return e.add(X);
|
|
1585
1586
|
};
|
|
1586
1587
|
D();
|
|
1587
|
-
const
|
|
1588
|
+
const gi = (e, n, l = 0.6, t = 0.3, u = 1) => {
|
|
1588
1589
|
const { max: p, smoothstep: h, vec4: d } = me, T = p(p(e.r, e.g), e.b), U = h(l, l + t, T).mul(u).mul(1);
|
|
1589
1590
|
return d(e.rgb.add(n.rgb.mul(U)), e.a);
|
|
1590
1591
|
};
|
|
1591
1592
|
D();
|
|
1592
|
-
const
|
|
1593
|
+
const bi = (e = {}) => {
|
|
1593
1594
|
const { inset: n = 0.4, softness: l = 0.5, offsetX: t = 0, offsetY: u = 0 } = e, { float: p, smoothstep: h, uv: d } = me, T = d(), U = T.x.sub(0.5).sub(p(t)).mul(2), _ = T.y.sub(0.5).add(p(u)).mul(2), B = U.mul(U).add(_.mul(_)).sqrt();
|
|
1594
1595
|
return p(1).sub(h(p(1).sub(p(n)), p(1).sub(p(n)).add(p(l)), B.mul(p(1).add(p(l)))));
|
|
1595
1596
|
};
|
|
1596
|
-
var
|
|
1597
|
+
var eo = () => {
|
|
1597
1598
|
const e = {};
|
|
1598
1599
|
return Object.entries({
|
|
1599
1600
|
AngularBlur: at,
|
|
@@ -1639,16 +1640,17 @@ var Zr = () => {
|
|
|
1639
1640
|
SimplexNoise: Ht,
|
|
1640
1641
|
SineWave: It,
|
|
1641
1642
|
SolidColor: Wt,
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1643
|
+
Spherize: jt,
|
|
1644
|
+
Spiral: Qt,
|
|
1645
|
+
Strands: Jt,
|
|
1646
|
+
Stretch: Kt,
|
|
1647
|
+
Swirl: Zt,
|
|
1648
|
+
TiltShift: er,
|
|
1649
|
+
Tritone: nr,
|
|
1650
|
+
Twirl: tr,
|
|
1651
|
+
Vibrance: rr,
|
|
1652
|
+
WaveDistortion: or,
|
|
1653
|
+
ZoomBlur: ir
|
|
1652
1654
|
}).forEach(([l, t]) => {
|
|
1653
1655
|
const u = {};
|
|
1654
1656
|
t.props && Object.entries(t.props).forEach(([p, h]) => {
|
|
@@ -1666,33 +1668,33 @@ var Zr = () => {
|
|
|
1666
1668
|
};
|
|
1667
1669
|
}), e;
|
|
1668
1670
|
};
|
|
1669
|
-
const qe =
|
|
1670
|
-
function
|
|
1671
|
+
const qe = eo();
|
|
1672
|
+
function vi() {
|
|
1671
1673
|
return Object.values(qe);
|
|
1672
1674
|
}
|
|
1673
|
-
function
|
|
1675
|
+
function Ci(e) {
|
|
1674
1676
|
return qe[e];
|
|
1675
1677
|
}
|
|
1676
|
-
function
|
|
1678
|
+
function Ri(e) {
|
|
1677
1679
|
return Object.values(qe).filter((n) => n.category === e);
|
|
1678
1680
|
}
|
|
1679
|
-
function
|
|
1681
|
+
function Ti() {
|
|
1680
1682
|
const e = new Set(Object.values(qe).map((n) => n.category));
|
|
1681
1683
|
return Array.from(e).sort();
|
|
1682
1684
|
}
|
|
1683
1685
|
export {
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1686
|
+
io as createAnimatedTime,
|
|
1687
|
+
Pr as createUniformsMap,
|
|
1688
|
+
pi as distort,
|
|
1689
|
+
bi as edgeMask,
|
|
1690
|
+
vi as getAllShaders,
|
|
1691
|
+
Ci as getShaderByName,
|
|
1692
|
+
Ti as getShaderCategories,
|
|
1693
|
+
Ri as getShadersByCategory,
|
|
1694
|
+
gi as glow,
|
|
1695
|
+
hi as grain,
|
|
1696
|
+
di as resolveMaskDependencies,
|
|
1695
1697
|
qe as shaderRegistry,
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
+
mi as shaderRenderer,
|
|
1699
|
+
Xr as updateUniformValue
|
|
1698
1700
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shaderRegistry.d.ts","sourceRoot":"","sources":["../src/shaderRegistry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shaderRegistry.d.ts","sourceRoot":"","sources":["../src/shaderRegistry.ts"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,mBAAmB,CAAC,GAAG,CAAC,CAAA;IACpC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE;QAC5B,EAAE,CAAC,EAAE,GAAG,CAAA;QACR,OAAO,CAAC,EAAE,GAAG,CAAA;QACb,WAAW,CAAC,EAAE,MAAM,CAAA;KACrB,CAAC,CAAA;CACH;AA0FD,eAAO,MAAM,cAAc,qCAAyB,CAAA;AAGpD,wBAAgB,aAAa,IAAI,mBAAmB,EAAE,CAErD;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,mBAAmB,GAAG,SAAS,CAE7E;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,mBAAmB,EAAE,CAE5E;AAED,wBAAgB,mBAAmB,IAAI,MAAM,EAAE,CAG9C"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../three.tsl-BqgDcRt9.js";
|
|
2
2
|
import "../../time-5uQ65blS.js";
|
|
3
3
|
import "../../transformations-DBjTkQ5b.js";
|
|
4
|
-
import "../../colorMixing-
|
|
5
|
-
import { n as r, t as a } from "../../Blob-
|
|
4
|
+
import "../../colorMixing-C-FChLp0.js";
|
|
5
|
+
import { n as r, t as a } from "../../Blob-CzWSpVTR.js";
|
|
6
6
|
export {
|
|
7
7
|
r as componentDefinition,
|
|
8
8
|
a as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../three.tsl-BqgDcRt9.js";
|
|
2
2
|
import "../../transformations-DBjTkQ5b.js";
|
|
3
|
-
import "../../colorMixing-
|
|
4
|
-
import { n as i, t as a } from "../../Checkerboard-
|
|
3
|
+
import "../../colorMixing-C-FChLp0.js";
|
|
4
|
+
import { n as i, t as a } from "../../Checkerboard-B8CnUlbi.js";
|
|
5
5
|
export {
|
|
6
6
|
i as componentDefinition,
|
|
7
7
|
a as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../three.tsl-BqgDcRt9.js";
|
|
2
2
|
import "../../transformations-DBjTkQ5b.js";
|
|
3
|
-
import "../../colorMixing-
|
|
4
|
-
import { n as a, t as m } from "../../CursorTrail-
|
|
3
|
+
import "../../colorMixing-C-FChLp0.js";
|
|
4
|
+
import { n as a, t as m } from "../../CursorTrail-BcaRHjU5.js";
|
|
5
5
|
export {
|
|
6
6
|
a as componentDefinition,
|
|
7
7
|
m as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../three.tsl-BqgDcRt9.js";
|
|
2
2
|
import "../../transformations-DBjTkQ5b.js";
|
|
3
|
-
import "../../colorMixing-
|
|
4
|
-
import { n as m, t as n } from "../../Duotone-
|
|
3
|
+
import "../../colorMixing-C-FChLp0.js";
|
|
4
|
+
import { n as m, t as n } from "../../Duotone-DGNEAlye.js";
|
|
5
5
|
export {
|
|
6
6
|
m as componentDefinition,
|
|
7
7
|
n as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Godrays/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAMvE,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,CAAA;IACzC,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,MAAM,CAAA;CAC1B;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Godrays/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAMvE,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,CAAA;IACzC,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,MAAM,CAAA;CAC1B;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAwKnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../three.tsl-BqgDcRt9.js";
|
|
2
2
|
import "../../transformations-DBjTkQ5b.js";
|
|
3
|
-
import "../../colorMixing-
|
|
4
|
-
import { n as a, t as e } from "../../LinearGradient-
|
|
3
|
+
import "../../colorMixing-C-FChLp0.js";
|
|
4
|
+
import { n as a, t as e } from "../../LinearGradient-DPe-Z-lw.js";
|
|
5
5
|
export {
|
|
6
6
|
a as componentDefinition,
|
|
7
7
|
e as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../three.tsl-BqgDcRt9.js";
|
|
2
2
|
import "../../transformations-DBjTkQ5b.js";
|
|
3
|
-
import "../../colorMixing-
|
|
4
|
-
import { n as r, t as e } from "../../RadialGradient-
|
|
3
|
+
import "../../colorMixing-C-FChLp0.js";
|
|
4
|
+
import { n as r, t as e } from "../../RadialGradient-CbaCbOJj.js";
|
|
5
5
|
export {
|
|
6
6
|
r as componentDefinition,
|
|
7
7
|
e as default
|