shaders 2.5.104 → 2.5.106

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.
Files changed (37) hide show
  1. package/dist/core/{Blur-CXXttTb1.js → Blur-Cxx3ZuHi.js} +1 -1
  2. package/dist/core/{ChannelBlur-gzP71FWd.js → ChannelBlur-Cth0biwG.js} +1 -1
  3. package/dist/core/Crystal-COGiLVvV.js +402 -0
  4. package/dist/core/{Emboss-ClQV27Mt.js → Emboss-LU-6cckT.js} +50 -42
  5. package/dist/core/{Glass-CpcmrDfm.js → Glass-TRSXbuE6.js} +99 -91
  6. package/dist/core/{Glow-Ft2x2QHL.js → Glow-8bKkyehK.js} +1 -1
  7. package/dist/core/{Neon-C1JlexhM.js → Neon-CMmGJzPy.js} +72 -61
  8. package/dist/core/{ProgressiveBlur-Cx6eR7o9.js → ProgressiveBlur-B_z0pZ1V.js} +1 -1
  9. package/dist/core/{TiltShift-Dh8wc9GG.js → TiltShift-GqDjHvmk.js} +1 -1
  10. package/dist/core/{computeBlur-C3oX720H.js → computeBlur-DeXZ99YL.js} +30 -21
  11. package/dist/core/effects/emboss.d.ts.map +1 -1
  12. package/dist/core/effects/glass.d.ts.map +1 -1
  13. package/dist/core/effects/neon.d.ts.map +1 -1
  14. package/dist/core/index.js +40 -15
  15. package/dist/core/registry.js +11 -11
  16. package/dist/core/renderer.d.ts.map +1 -1
  17. package/dist/core/{shaderRegistry-CVhdTDhR.js → shaderRegistry-AbMwztl7.js} +9 -9
  18. package/dist/core/shaders/Blur/index.js +2 -2
  19. package/dist/core/shaders/ChannelBlur/index.js +2 -2
  20. package/dist/core/shaders/Crystal/index.d.ts.map +1 -1
  21. package/dist/core/shaders/Crystal/index.js +1 -1
  22. package/dist/core/shaders/Emboss/index.js +1 -1
  23. package/dist/core/shaders/Glass/index.d.ts.map +1 -1
  24. package/dist/core/shaders/Glass/index.js +2 -2
  25. package/dist/core/shaders/Glow/index.js +2 -2
  26. package/dist/core/shaders/Neon/index.js +1 -1
  27. package/dist/core/shaders/ProgressiveBlur/index.js +2 -2
  28. package/dist/core/shaders/TiltShift/index.js +2 -2
  29. package/dist/core/utilities/computeBlur.d.ts +1 -1
  30. package/dist/core/utilities/computeBlur.d.ts.map +1 -1
  31. package/dist/js/createShader.js +1 -1
  32. package/dist/react/Shader.js +1 -1
  33. package/dist/solid/engine/Shader.js +1 -1
  34. package/dist/svelte/index.js +1 -1
  35. package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
  36. package/package.json +1 -1
  37. package/dist/core/Crystal-xVyUhVD-.js +0 -394
@@ -8,11 +8,11 @@ import { t as createAnimatedTime } from "./time-DUqSFWvT.js";
8
8
  import "./Aurora-BPHeGEZ_.js";
9
9
  import "./Beam-CAnoOWgt.js";
10
10
  import "./Blob-CuRSRXmA.js";
11
- import "./computeBlur-C3oX720H.js";
12
- import "./Blur-CXXttTb1.js";
11
+ import "./computeBlur-DeXZ99YL.js";
12
+ import "./Blur-Cxx3ZuHi.js";
13
13
  import "./BrightnessContrast-CJTOpQCn.js";
14
14
  import "./Bulge-Chpbxxzj.js";
15
- import "./ChannelBlur-gzP71FWd.js";
15
+ import "./ChannelBlur-Cth0biwG.js";
16
16
  import "./Checkerboard-ucave4-a.js";
17
17
  import "./ChromaFlow-BZXyVHtK.js";
18
18
  import "./ChromaticAberration-DsMj-vBw.js";
@@ -24,7 +24,7 @@ import "./sdf-DyC2H_qS.js";
24
24
  import "./Crescent-BkRt-XWy.js";
25
25
  import "./Cross-kkY7feuC.js";
26
26
  import "./CRTScreen-CTwXU-NX.js";
27
- import "./Crystal-xVyUhVD-.js";
27
+ import "./Crystal-COGiLVvV.js";
28
28
  import "./CursorRipples-Cgm7N0Bp.js";
29
29
  import "./CursorTrail-CCRbdwHJ.js";
30
30
  import "./DiamondGradient-BC3ugP8a.js";
@@ -35,7 +35,7 @@ import "./DotGrid-T9YbgC3V.js";
35
35
  import "./DropShadow-jMhnYPXZ.js";
36
36
  import "./Duotone-Bl02WcA2.js";
37
37
  import "./Ellipse-CXxGqTYI.js";
38
- import "./Emboss-ClQV27Mt.js";
38
+ import "./Emboss-LU-6cckT.js";
39
39
  import "./FallingLines-CArEXajJ.js";
40
40
  import "./FilmGrain-DSJiMtEp.js";
41
41
  import "./FloatingParticles-BtwGRl_d.js";
@@ -44,10 +44,10 @@ import "./FlowField-RyqiRxyI.js";
44
44
  import "./FlowingGradient-C0Zoyfd6.js";
45
45
  import "./Fog-DhFHErOx.js";
46
46
  import "./Form3D-DaPbLGUi.js";
47
- import "./Glass-CpcmrDfm.js";
47
+ import "./Glass-TRSXbuE6.js";
48
48
  import "./GlassTiles-Dgh6nOaE.js";
49
49
  import "./Glitch-BsbzLahF.js";
50
- import "./Glow-Ft2x2QHL.js";
50
+ import "./Glow-8bKkyehK.js";
51
51
  import "./Godrays-D1LINbut.js";
52
52
  import "./Grayscale-Ri-695Uh.js";
53
53
  import "./Grid-BYSsAIEv.js";
@@ -65,7 +65,7 @@ import "./LinearGradient-CM02z32l.js";
65
65
  import "./Liquify-CyXo6vAH.js";
66
66
  import "./Mirror-B7XmfGdw.js";
67
67
  import "./MultiPointGradient-8zGSIM4U.js";
68
- import "./Neon-C1JlexhM.js";
68
+ import "./Neon-CMmGJzPy.js";
69
69
  import "./Paper-B08rxNys.js";
70
70
  import "./Perspective-BN_OpTZq.js";
71
71
  import "./Pixelate-dxPAFCRu.js";
@@ -73,7 +73,7 @@ import "./Plasma-DGCw0cd7.js";
73
73
  import "./PolarCoordinates-CMYCFT4S.js";
74
74
  import "./Polygon-CsCOt5YE.js";
75
75
  import "./Posterize-Blv9pzPT.js";
76
- import "./ProgressiveBlur-Cx6eR7o9.js";
76
+ import "./ProgressiveBlur-B_z0pZ1V.js";
77
77
  import "./RadialGradient-De0gtdh3.js";
78
78
  import "./RectangularCoordinates-8Sa2GaDy.js";
79
79
  import "./Ring-kHH-DIDQ.js";
@@ -96,7 +96,7 @@ import "./Stretch--GV6hbru.js";
96
96
  import "./Stripes-CFCXw1_N.js";
97
97
  import "./StudioBackground-DJr-cxOL.js";
98
98
  import "./Swirl-By5FadQK.js";
99
- import "./TiltShift-Dh8wc9GG.js";
99
+ import "./TiltShift-GqDjHvmk.js";
100
100
  import "./Tint-DaTx2HII.js";
101
101
  import "./Trapezoid-Co0sIA73.js";
102
102
  import "./Tritone-C9Yx69Tw.js";
@@ -113,7 +113,7 @@ import "./WaveDistortion-BGdgj3Iz.js";
113
113
  import "./Weave-CIP_EUPa.js";
114
114
  import "./WebcamTexture-cXPyEumA.js";
115
115
  import "./ZoomBlur-BuIVpHGG.js";
116
- import { t as getAllShaders } from "./shaderRegistry-CVhdTDhR.js";
116
+ import { t as getAllShaders } from "./shaderRegistry-AbMwztl7.js";
117
117
  import { Material, Mesh, MeshBasicNodeMaterial, OrthographicCamera, PlaneGeometry, SRGBColorSpace, Scene, Vector2, WebGPURenderer } from "three/webgpu";
118
118
  import { WebGLRenderer } from "three";
119
119
  import { PI, abs, add, atan, clamp, convertToTexture, cos, div, dot, float, fract, max, min, mix, mul, pow, screenUV, sign, sin, smoothstep, sqrt, step, sub, time, uniform, uv, vec2, vec3, vec4 } from "three/tsl";
@@ -774,6 +774,11 @@ function shaderRenderer() {
774
774
  let previousTextures = /* @__PURE__ */ new Set();
775
775
  let pendingResize = null;
776
776
  let isResizeScheduled = false;
777
+ const COMPUTE_REBUILD_DEBOUNCE_MS = 200;
778
+ const COMPUTE_REBUILD_SKIP_TOLERANCE = .02;
779
+ let computeRebuildTimeout = null;
780
+ let lastComputeRebuildWidth = 0;
781
+ let lastComputeRebuildHeight = 0;
777
782
  const updateRendererDimensions = (width, height) => {
778
783
  if (width <= 0 || height <= 0) return;
779
784
  if (width === currentWidth && height === currentHeight) return;
@@ -792,6 +797,8 @@ function shaderRenderer() {
792
797
  currentHeight = height$1;
793
798
  if (!hasInitialDimensions) {
794
799
  hasInitialDimensions = true;
800
+ lastComputeRebuildWidth = width$1;
801
+ lastComputeRebuildHeight = height$1;
795
802
  if (nodeRegistry.nodes.size > 0 && materialUpdateBatchRAF === null) materialUpdateBatchRAF = requestAnimationFrame(() => {
796
803
  materialUpdateBatchRAF = null;
797
804
  updateMaterial();
@@ -825,10 +832,22 @@ function shaderRenderer() {
825
832
  hasComputeNodes = true;
826
833
  break;
827
834
  }
828
- if (hasComputeNodes && materialUpdateBatchRAF === null) materialUpdateBatchRAF = requestAnimationFrame(() => {
829
- materialUpdateBatchRAF = null;
830
- updateMaterial();
831
- });
835
+ if (hasComputeNodes) {
836
+ const lastW = lastComputeRebuildWidth;
837
+ const lastH = lastComputeRebuildHeight;
838
+ const widthDelta = lastW > 0 ? Math.abs(width$1 - lastW) / lastW : 1;
839
+ const heightDelta = lastH > 0 ? Math.abs(height$1 - lastH) / lastH : 1;
840
+ if (!(widthDelta < COMPUTE_REBUILD_SKIP_TOLERANCE && heightDelta < COMPUTE_REBUILD_SKIP_TOLERANCE)) {
841
+ if (computeRebuildTimeout !== null) clearTimeout(computeRebuildTimeout);
842
+ computeRebuildTimeout = setTimeout(() => {
843
+ computeRebuildTimeout = null;
844
+ if (materialUpdateBatchRAF === null) materialUpdateBatchRAF = requestAnimationFrame(() => {
845
+ materialUpdateBatchRAF = null;
846
+ updateMaterial();
847
+ });
848
+ }, COMPUTE_REBUILD_DEBOUNCE_MS);
849
+ }
850
+ }
832
851
  lastRenderTime = 0;
833
852
  renderFrame();
834
853
  });
@@ -923,6 +942,8 @@ function shaderRenderer() {
923
942
  material = newMaterial;
924
943
  needsMaterialRefresh = false;
925
944
  lastComposedNodes = currentComposedNodes;
945
+ lastComputeRebuildWidth = currentWidth;
946
+ lastComputeRebuildHeight = currentHeight;
926
947
  if (!hasEmittedReady && currentComposedNodes.size > 0) firstRenderPending = true;
927
948
  }
928
949
  }
@@ -2159,6 +2180,10 @@ function shaderRenderer() {
2159
2180
  };
2160
2181
  const cleanup = () => {
2161
2182
  if (initializationAbortController) initializationAbortController.abort();
2183
+ if (computeRebuildTimeout !== null) {
2184
+ clearTimeout(computeRebuildTimeout);
2185
+ computeRebuildTimeout = null;
2186
+ }
2162
2187
  if (resizeObserver) {
2163
2188
  resizeObserver.disconnect();
2164
2189
  resizeObserver = null;
@@ -8,11 +8,11 @@ import "./time-DUqSFWvT.js";
8
8
  import "./Aurora-BPHeGEZ_.js";
9
9
  import "./Beam-CAnoOWgt.js";
10
10
  import "./Blob-CuRSRXmA.js";
11
- import "./computeBlur-C3oX720H.js";
12
- import "./Blur-CXXttTb1.js";
11
+ import "./computeBlur-DeXZ99YL.js";
12
+ import "./Blur-Cxx3ZuHi.js";
13
13
  import "./BrightnessContrast-CJTOpQCn.js";
14
14
  import "./Bulge-Chpbxxzj.js";
15
- import "./ChannelBlur-gzP71FWd.js";
15
+ import "./ChannelBlur-Cth0biwG.js";
16
16
  import "./Checkerboard-ucave4-a.js";
17
17
  import "./ChromaFlow-BZXyVHtK.js";
18
18
  import "./ChromaticAberration-DsMj-vBw.js";
@@ -24,7 +24,7 @@ import "./sdf-DyC2H_qS.js";
24
24
  import "./Crescent-BkRt-XWy.js";
25
25
  import "./Cross-kkY7feuC.js";
26
26
  import "./CRTScreen-CTwXU-NX.js";
27
- import "./Crystal-xVyUhVD-.js";
27
+ import "./Crystal-COGiLVvV.js";
28
28
  import "./CursorRipples-Cgm7N0Bp.js";
29
29
  import "./CursorTrail-CCRbdwHJ.js";
30
30
  import "./DiamondGradient-BC3ugP8a.js";
@@ -35,7 +35,7 @@ import "./DotGrid-T9YbgC3V.js";
35
35
  import "./DropShadow-jMhnYPXZ.js";
36
36
  import "./Duotone-Bl02WcA2.js";
37
37
  import "./Ellipse-CXxGqTYI.js";
38
- import "./Emboss-ClQV27Mt.js";
38
+ import "./Emboss-LU-6cckT.js";
39
39
  import "./FallingLines-CArEXajJ.js";
40
40
  import "./FilmGrain-DSJiMtEp.js";
41
41
  import "./FloatingParticles-BtwGRl_d.js";
@@ -44,10 +44,10 @@ import "./FlowField-RyqiRxyI.js";
44
44
  import "./FlowingGradient-C0Zoyfd6.js";
45
45
  import "./Fog-DhFHErOx.js";
46
46
  import "./Form3D-DaPbLGUi.js";
47
- import "./Glass-CpcmrDfm.js";
47
+ import "./Glass-TRSXbuE6.js";
48
48
  import "./GlassTiles-Dgh6nOaE.js";
49
49
  import "./Glitch-BsbzLahF.js";
50
- import "./Glow-Ft2x2QHL.js";
50
+ import "./Glow-8bKkyehK.js";
51
51
  import "./Godrays-D1LINbut.js";
52
52
  import "./Grayscale-Ri-695Uh.js";
53
53
  import "./Grid-BYSsAIEv.js";
@@ -65,7 +65,7 @@ import "./LinearGradient-CM02z32l.js";
65
65
  import "./Liquify-CyXo6vAH.js";
66
66
  import "./Mirror-B7XmfGdw.js";
67
67
  import "./MultiPointGradient-8zGSIM4U.js";
68
- import "./Neon-C1JlexhM.js";
68
+ import "./Neon-CMmGJzPy.js";
69
69
  import "./Paper-B08rxNys.js";
70
70
  import "./Perspective-BN_OpTZq.js";
71
71
  import "./Pixelate-dxPAFCRu.js";
@@ -73,7 +73,7 @@ import "./Plasma-DGCw0cd7.js";
73
73
  import "./PolarCoordinates-CMYCFT4S.js";
74
74
  import "./Polygon-CsCOt5YE.js";
75
75
  import "./Posterize-Blv9pzPT.js";
76
- import "./ProgressiveBlur-Cx6eR7o9.js";
76
+ import "./ProgressiveBlur-B_z0pZ1V.js";
77
77
  import "./RadialGradient-De0gtdh3.js";
78
78
  import "./RectangularCoordinates-8Sa2GaDy.js";
79
79
  import "./Ring-kHH-DIDQ.js";
@@ -96,7 +96,7 @@ import "./Stretch--GV6hbru.js";
96
96
  import "./Stripes-CFCXw1_N.js";
97
97
  import "./StudioBackground-DJr-cxOL.js";
98
98
  import "./Swirl-By5FadQK.js";
99
- import "./TiltShift-Dh8wc9GG.js";
99
+ import "./TiltShift-GqDjHvmk.js";
100
100
  import "./Tint-DaTx2HII.js";
101
101
  import "./Trapezoid-Co0sIA73.js";
102
102
  import "./Tritone-C9Yx69Tw.js";
@@ -113,5 +113,5 @@ import "./WaveDistortion-BGdgj3Iz.js";
113
113
  import "./Weave-CIP_EUPa.js";
114
114
  import "./WebcamTexture-cXPyEumA.js";
115
115
  import "./ZoomBlur-BuIVpHGG.js";
116
- import { a as shaderRegistry, i as getShadersByCategory, n as getShaderByName, r as getShaderCategories, t as getAllShaders } from "./shaderRegistry-CVhdTDhR.js";
116
+ import { a as shaderRegistry, i as getShadersByCategory, n as getShaderByName, r as getShaderCategories, t as getAllShaders } from "./shaderRegistry-AbMwztl7.js";
117
117
  export { getAllShaders, getShaderByName, getShaderCategories, getShadersByCategory, shaderRegistry };
@@ -1 +1 @@
1
- {"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../src/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,IAAI,EAMT,cAAc,EACjB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAA;AAInC,OAAO,EAAoB,eAAe,EAAE,mBAAmB,EAAE,UAAU,EAA8D,YAAY,EAAE,cAAc,EAAE,cAAc,EAAqB,WAAW,EAAC,MAAM,SAAS,CAAA;AACrO,OAAO,EAAqB,gBAAgB,EAAC,MAAM,sBAAsB,CAAA;AAMzE;;GAEG;AACH,UAAU,QAAQ;IAEd;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,gBAAgB,EAAE,mBAAmB,CAAC,cAAc,CAAC,CAAA;IAErD;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAEvB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,aAAa,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,cAAc,EAAE,GAAG,CAAA;IAEnB;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAA;IAEtB;;OAEG;IACH,QAAQ,EAAE,WAAW,CAAA;IAErB;;;OAGG;IACH,gBAAgB,EAAE,eA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G,IAAI,YAAY,YAAY,GAAG,IAAI,aAAY,WAAW,wBAA6B,mBAAmB,cAAc,iBAAiB,KAAG,IAAI;qBA0b3O,MAAM,KAAG,IAAI;iCA1RD,MAAM,eAAe,MAAM,SAAS,GAAG,KAAG,IAAI;iCA8D9C,MAAM,YAAY,OAAO,CAAC,YAAY,CAAC,KAAG,IAAI;;oBAmsC9D,MAAM,UAAU,MAAM;0BAvgBf,IAAI;yBAyBL,IAAI;yBA1OE,OAAO,CAAC,IAAI,CAAC;+BAgMb,gBAAgB;;eAgiBmB,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC;;2BArBpE,QAAQ,GAAG,OAAO,GAAG,IAAI;;2BAwB1B,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI;;;mCAl0EZ,MAAM,KAAG,QAAQ,EAAE;oCA+CzC,IAAI,YACF,QAAQ,UACV,MAAM,kBACE,GAAG,CAAC,MAAM,CAAC,gBACb,IAAI,KACnB,IAAI;0CA0VK,IAAI,YACF,QAAQ,KACnB,IAAI;;;;EAg8DV"}
@@ -3,10 +3,10 @@ import { n as componentDefinition$1 } from "./Ascii-BwSMmD6Z.js";
3
3
  import { n as componentDefinition$2 } from "./Aurora-BPHeGEZ_.js";
4
4
  import { n as componentDefinition$3 } from "./Beam-CAnoOWgt.js";
5
5
  import { n as componentDefinition$4 } from "./Blob-CuRSRXmA.js";
6
- import { n as componentDefinition$5 } from "./Blur-CXXttTb1.js";
6
+ import { n as componentDefinition$5 } from "./Blur-Cxx3ZuHi.js";
7
7
  import { n as componentDefinition$6 } from "./BrightnessContrast-CJTOpQCn.js";
8
8
  import { n as componentDefinition$7 } from "./Bulge-Chpbxxzj.js";
9
- import { n as componentDefinition$8 } from "./ChannelBlur-gzP71FWd.js";
9
+ import { n as componentDefinition$8 } from "./ChannelBlur-Cth0biwG.js";
10
10
  import { n as componentDefinition$9 } from "./Checkerboard-ucave4-a.js";
11
11
  import { n as componentDefinition$10 } from "./ChromaFlow-BZXyVHtK.js";
12
12
  import { n as componentDefinition$11 } from "./ChromaticAberration-DsMj-vBw.js";
@@ -17,7 +17,7 @@ import { n as componentDefinition$15 } from "./ContourLines-KTHC32hd.js";
17
17
  import { n as componentDefinition$16 } from "./Crescent-BkRt-XWy.js";
18
18
  import { n as componentDefinition$17 } from "./Cross-kkY7feuC.js";
19
19
  import { n as componentDefinition$18 } from "./CRTScreen-CTwXU-NX.js";
20
- import { n as componentDefinition$19 } from "./Crystal-xVyUhVD-.js";
20
+ import { n as componentDefinition$19 } from "./Crystal-COGiLVvV.js";
21
21
  import { n as componentDefinition$20 } from "./CursorRipples-Cgm7N0Bp.js";
22
22
  import { n as componentDefinition$21 } from "./CursorTrail-CCRbdwHJ.js";
23
23
  import { n as componentDefinition$22 } from "./DiamondGradient-BC3ugP8a.js";
@@ -28,7 +28,7 @@ import { n as componentDefinition$26 } from "./DotGrid-T9YbgC3V.js";
28
28
  import { n as componentDefinition$27 } from "./DropShadow-jMhnYPXZ.js";
29
29
  import { n as componentDefinition$28 } from "./Duotone-Bl02WcA2.js";
30
30
  import { n as componentDefinition$29 } from "./Ellipse-CXxGqTYI.js";
31
- import { n as componentDefinition$30 } from "./Emboss-ClQV27Mt.js";
31
+ import { n as componentDefinition$30 } from "./Emboss-LU-6cckT.js";
32
32
  import { n as componentDefinition$31 } from "./FallingLines-CArEXajJ.js";
33
33
  import { n as componentDefinition$32 } from "./FilmGrain-DSJiMtEp.js";
34
34
  import { n as componentDefinition$33 } from "./FloatingParticles-BtwGRl_d.js";
@@ -37,10 +37,10 @@ import { n as componentDefinition$35 } from "./FlowField-RyqiRxyI.js";
37
37
  import { n as componentDefinition$36 } from "./FlowingGradient-C0Zoyfd6.js";
38
38
  import { n as componentDefinition$37 } from "./Fog-DhFHErOx.js";
39
39
  import { n as componentDefinition$38 } from "./Form3D-DaPbLGUi.js";
40
- import { n as componentDefinition$39 } from "./Glass-CpcmrDfm.js";
40
+ import { n as componentDefinition$39 } from "./Glass-TRSXbuE6.js";
41
41
  import { n as componentDefinition$40 } from "./GlassTiles-Dgh6nOaE.js";
42
42
  import { n as componentDefinition$41 } from "./Glitch-BsbzLahF.js";
43
- import { n as componentDefinition$42 } from "./Glow-Ft2x2QHL.js";
43
+ import { n as componentDefinition$42 } from "./Glow-8bKkyehK.js";
44
44
  import { n as componentDefinition$43 } from "./Godrays-D1LINbut.js";
45
45
  import { n as componentDefinition$44 } from "./Grayscale-Ri-695Uh.js";
46
46
  import { n as componentDefinition$45 } from "./Grid-BYSsAIEv.js";
@@ -58,7 +58,7 @@ import { n as componentDefinition$56 } from "./LinearGradient-CM02z32l.js";
58
58
  import { n as componentDefinition$57 } from "./Liquify-CyXo6vAH.js";
59
59
  import { n as componentDefinition$58 } from "./Mirror-B7XmfGdw.js";
60
60
  import { n as componentDefinition$59 } from "./MultiPointGradient-8zGSIM4U.js";
61
- import { n as componentDefinition$60 } from "./Neon-C1JlexhM.js";
61
+ import { n as componentDefinition$60 } from "./Neon-CMmGJzPy.js";
62
62
  import { n as componentDefinition$61 } from "./Paper-B08rxNys.js";
63
63
  import { n as componentDefinition$62 } from "./Perspective-BN_OpTZq.js";
64
64
  import { n as componentDefinition$63 } from "./Pixelate-dxPAFCRu.js";
@@ -66,7 +66,7 @@ import { n as componentDefinition$64 } from "./Plasma-DGCw0cd7.js";
66
66
  import { n as componentDefinition$65 } from "./PolarCoordinates-CMYCFT4S.js";
67
67
  import { n as componentDefinition$66 } from "./Polygon-CsCOt5YE.js";
68
68
  import { n as componentDefinition$67 } from "./Posterize-Blv9pzPT.js";
69
- import { n as componentDefinition$68 } from "./ProgressiveBlur-Cx6eR7o9.js";
69
+ import { n as componentDefinition$68 } from "./ProgressiveBlur-B_z0pZ1V.js";
70
70
  import { n as componentDefinition$69 } from "./RadialGradient-De0gtdh3.js";
71
71
  import { n as componentDefinition$70 } from "./RectangularCoordinates-8Sa2GaDy.js";
72
72
  import { n as componentDefinition$71 } from "./Ring-kHH-DIDQ.js";
@@ -89,7 +89,7 @@ import { n as componentDefinition$87 } from "./Stretch--GV6hbru.js";
89
89
  import { n as componentDefinition$88 } from "./Stripes-CFCXw1_N.js";
90
90
  import { n as componentDefinition$89 } from "./StudioBackground-DJr-cxOL.js";
91
91
  import { n as componentDefinition$90 } from "./Swirl-By5FadQK.js";
92
- import { n as componentDefinition$91 } from "./TiltShift-Dh8wc9GG.js";
92
+ import { n as componentDefinition$91 } from "./TiltShift-GqDjHvmk.js";
93
93
  import { n as componentDefinition$92 } from "./Tint-DaTx2HII.js";
94
94
  import { n as componentDefinition$93 } from "./Trapezoid-Co0sIA73.js";
95
95
  import { n as componentDefinition$94 } from "./Tritone-C9Yx69Tw.js";
@@ -1,4 +1,4 @@
1
1
  import "../../alpha-C4ptedXe.js";
2
- import "../../computeBlur-C3oX720H.js";
3
- import { n as componentDefinition, t as Blur_default } from "../../Blur-CXXttTb1.js";
2
+ import "../../computeBlur-DeXZ99YL.js";
3
+ import { n as componentDefinition, t as Blur_default } from "../../Blur-Cxx3ZuHi.js";
4
4
  export { componentDefinition, Blur_default as default };
@@ -1,4 +1,4 @@
1
1
  import "../../alpha-C4ptedXe.js";
2
- import "../../computeBlur-C3oX720H.js";
3
- import { n as componentDefinition, t as ChannelBlur_default } from "../../ChannelBlur-gzP71FWd.js";
2
+ import "../../computeBlur-DeXZ99YL.js";
3
+ import { n as componentDefinition, t as ChannelBlur_default } from "../../ChannelBlur-Cth0biwG.js";
4
4
  export { componentDefinition, ChannelBlur_default as default };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Crystal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AASvE,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,qCAAqC,CAAA;AAuBrF,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAA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S,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,OAAO,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAClD,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,aAAa,EAAE,MAAM,CAAA;IACrB,sBAAsB,EAAE,OAAO,CAAA;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CA2YnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import "../../transformations-B5lM6fYX.js";
2
2
  import "../../sdf-DyC2H_qS.js";
3
- import { n as componentDefinition, t as Crystal_default } from "../../Crystal-xVyUhVD-.js";
3
+ import { n as componentDefinition, t as Crystal_default } from "../../Crystal-COGiLVvV.js";
4
4
  export { componentDefinition, Crystal_default as default };
@@ -1,4 +1,4 @@
1
1
  import "../../transformations-B5lM6fYX.js";
2
2
  import "../../sdf-DyC2H_qS.js";
3
- import { n as componentDefinition, t as Emboss_default } from "../../Emboss-ClQV27Mt.js";
3
+ import { n as componentDefinition, t as Emboss_default } from "../../Emboss-LU-6cckT.js";
4
4
  export { componentDefinition, Emboss_default as default };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Glass/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAA0D,MAAM,iBAAiB,CAAA;AAG5G,OAAO,EAAC,iBAAiB,EAAE,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AE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,cAAc,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IACpD,iBAAiB,EAAE,MAAM,CAAA;IACzB,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,aAAa,EAAE,MAAM,CAAA;IACrB,sBAAsB,EAAE,OAAO,CAAA;IAC/B,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAClD,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAqMnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import "../../transformations-B5lM6fYX.js";
2
- import "../../computeBlur-C3oX720H.js";
2
+ import "../../computeBlur-DeXZ99YL.js";
3
3
  import "../../sdf-DyC2H_qS.js";
4
- import { n as componentDefinition, t as Glass_default } from "../../Glass-CpcmrDfm.js";
4
+ import { n as componentDefinition, t as Glass_default } from "../../Glass-TRSXbuE6.js";
5
5
  export { componentDefinition, Glass_default as default };
@@ -1,4 +1,4 @@
1
1
  import "../../alpha-C4ptedXe.js";
2
- import "../../computeBlur-C3oX720H.js";
3
- import { n as componentDefinition, t as Glow_default } from "../../Glow-Ft2x2QHL.js";
2
+ import "../../computeBlur-DeXZ99YL.js";
3
+ import { n as componentDefinition, t as Glow_default } from "../../Glow-8bKkyehK.js";
4
4
  export { componentDefinition, Glow_default as default };
@@ -1,4 +1,4 @@
1
1
  import "../../transformations-B5lM6fYX.js";
2
2
  import "../../sdf-DyC2H_qS.js";
3
- import { n as componentDefinition, t as Neon_default } from "../../Neon-C1JlexhM.js";
3
+ import { n as componentDefinition, t as Neon_default } from "../../Neon-CMmGJzPy.js";
4
4
  export { componentDefinition, Neon_default as default };
@@ -1,5 +1,5 @@
1
1
  import "../../transformations-B5lM6fYX.js";
2
2
  import "../../alpha-C4ptedXe.js";
3
- import "../../computeBlur-C3oX720H.js";
4
- import { n as componentDefinition, t as ProgressiveBlur_default } from "../../ProgressiveBlur-Cx6eR7o9.js";
3
+ import "../../computeBlur-DeXZ99YL.js";
4
+ import { n as componentDefinition, t as ProgressiveBlur_default } from "../../ProgressiveBlur-B_z0pZ1V.js";
5
5
  export { componentDefinition, ProgressiveBlur_default as default };
@@ -1,5 +1,5 @@
1
1
  import "../../transformations-B5lM6fYX.js";
2
2
  import "../../alpha-C4ptedXe.js";
3
- import "../../computeBlur-C3oX720H.js";
4
- import { n as componentDefinition, t as TiltShift_default } from "../../TiltShift-Dh8wc9GG.js";
3
+ import "../../computeBlur-DeXZ99YL.js";
4
+ import { n as componentDefinition, t as TiltShift_default } from "../../TiltShift-GqDjHvmk.js";
5
5
  export { componentDefinition, TiltShift_default as default };
@@ -29,7 +29,7 @@ export interface VariableBlurComputeResult {
29
29
  * @param height - Render height in pixels
30
30
  * @param onCleanup - Cleanup callback registration
31
31
  */
32
- export declare function createGaussianBlurCompute(inputTexture: any, width: number, height: number, onCleanup: (cb: () => void) => void): GaussianBlurComputeResult;
32
+ export declare function createGaussianBlurCompute(inputTexture: any, width: number, height: number, onCleanup: (cb: () => void) => void, outputScale?: number): GaussianBlurComputeResult;
33
33
  /**
34
34
  * Create a 2-pass separable Gaussian blur with per-pixel variable radius.
35
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"computeBlur.d.ts","sourceRoot":"","sources":["../../src/utilities/computeBlur.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAC,cAAc,EAAC,MAAM,cAAc,CAAA;AAyB3C,MAAM,WAAW,yBAAyB;IACtC,0EAA0E;IAC1E,YAAY,EAAE,GAAG,EAAE,CAAA;IACnB,wEAAwE;IACxE,aAAa,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAA;IAClD,wFAAwF;IACxF,YAAY,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C;AAED,MAAM,WAAW,yBAAyB;IACtC,0DAA0D;IAC1D,YAAY,EAAE,GAAG,EAAE,CAAA;IACnB,mCAAmC;IACnC,aAAa,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAA;IAClD,uFAAuF;IACvF,cAAc,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAA;IACnD,uFAAuF;IACvF,gBAAgB,EAAE,GAAG,CAAA;CACxB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CACrC,YAAY,EAAE,GAAG,EACjB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,GACpC,yBAAyB,CAmG3B;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,iCAAiC,CAC7C,YAAY,EAAE,GAAG,EACjB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,GACpC,yBAAyB,CAqF3B"}
1
+ {"version":3,"file":"computeBlur.d.ts","sourceRoot":"","sources":["../../src/utilities/computeBlur.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAC,cAAc,EAAC,MAAM,cAAc,CAAA;AAyB3C,MAAM,WAAW,yBAAyB;IACtC,0EAA0E;IAC1E,YAAY,EAAE,GAAG,EAAE,CAAA;IACnB,wEAAwE;IACxE,aAAa,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAA;IAClD,wFAAwF;IACxF,YAAY,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C;AAED,MAAM,WAAW,yBAAyB;IACtC,0DAA0D;IAC1D,YAAY,EAAE,GAAG,EAAE,CAAA;IACnB,mCAAmC;IACnC,aAAa,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAA;IAClD,uFAAuF;IACvF,cAAc,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAA;IACnD,uFAAuF;IACvF,gBAAgB,EAAE,GAAG,CAAA;CACxB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CACrC,YAAY,EAAE,GAAG,EACjB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,EACnC,WAAW,GAAE,MAAU,GACxB,yBAAyB,CAuH3B;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,iCAAiC,CAC7C,YAAY,EAAE,GAAG,EACjB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,GACpC,yBAAyB,CAqF3B"}
@@ -46,7 +46,7 @@ async function createShader(canvas, preset, options) {
46
46
  if (isExternalUser()) {
47
47
  const checkRendering = () => {
48
48
  if (renderer.getPerformanceStats().fps > 0) {
49
- telemetryCollector = startTelemetry(renderer, "2.5.104", options?.disableTelemetry || false, false);
49
+ telemetryCollector = startTelemetry(renderer, "2.5.106", options?.disableTelemetry || false, false);
50
50
  if (telemetryCollector) telemetryCollector.start();
51
51
  telemetryStartTimeout = null;
52
52
  } else telemetryStartTimeout = setTimeout(checkRendering, 500);
@@ -89,7 +89,7 @@ const Shader = ({ children, disableTelemetry = false, colorSpace = "p3-linear",
89
89
  return;
90
90
  }
91
91
  if (rendererRef.current.getPerformanceStats().fps > 0) {
92
- telemetryCollectorRef.current = startTelemetry(rendererRef.current, "2.5.104", disableTelemetry, isPreview);
92
+ telemetryCollectorRef.current = startTelemetry(rendererRef.current, "2.5.106", disableTelemetry, isPreview);
93
93
  if (telemetryCollectorRef.current) telemetryCollectorRef.current.start();
94
94
  telemetryStartTimeoutRef.current = null;
95
95
  } else telemetryStartTimeoutRef.current = window.setTimeout(checkRendering, 500);
@@ -67,7 +67,7 @@ function Shader(allProps) {
67
67
  const checkRendering = () => {
68
68
  const stats = rendererInstance.getPerformanceStats();
69
69
  if (stats.fps > 0) {
70
- const version = "2.5.104";
70
+ const version = "2.5.106";
71
71
  telemetryCollector = startTelemetry(rendererInstance, version, props.disableTelemetry, props.isPreview);
72
72
  if (telemetryCollector) {
73
73
  telemetryCollector.start();
@@ -21342,7 +21342,7 @@ function Shader($$anchor, $$props) {
21342
21342
  const checkRendering = () => {
21343
21343
  if (!rendererInstance) return;
21344
21344
  if (rendererInstance.getPerformanceStats().fps > 0) {
21345
- telemetryCollector = startTelemetry(rendererInstance, "2.5.104", disableTelemetry(), isPreview());
21345
+ telemetryCollector = startTelemetry(rendererInstance, "2.5.106", disableTelemetry(), isPreview());
21346
21346
  if (telemetryCollector) telemetryCollector.start();
21347
21347
  telemetryStartTimeout = null;
21348
21348
  } else telemetryStartTimeout = window.setTimeout(checkRendering, 500);
@@ -60,7 +60,7 @@ var Shader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineC
60
60
  const startTelemetryWhenReady = () => {
61
61
  const checkRendering = () => {
62
62
  if (rendererInstance.value.getPerformanceStats().fps > 0) {
63
- telemetryCollector = startTelemetry(rendererInstance.value, "2.5.104", props.disableTelemetry, props.isPreview);
63
+ telemetryCollector = startTelemetry(rendererInstance.value, "2.5.106", props.disableTelemetry, props.isPreview);
64
64
  if (telemetryCollector) telemetryCollector.start();
65
65
  telemetryStartTimeout = null;
66
66
  } else telemetryStartTimeout = setTimeout(checkRendering, 500);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shaders",
3
- "version": "2.5.104",
3
+ "version": "2.5.106",
4
4
  "description": "Shader magic for modern frontends",
5
5
  "author": "Shader Effects Inc.",
6
6
  "homepage": "https://shaders.com/",