shaders 2.3.53 → 2.3.54

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.
@@ -186,7 +186,6 @@ const componentDefinition = {
186
186
  const highlightColor = uniforms.highlightColor.uniform;
187
187
  const edgeWidth = softness.mul(float(.3));
188
188
  const edgeCurve = softness.mul(float(2)).add(float(.5));
189
- const edgeComplexity = float(.5);
190
189
  const aspect = viewportSize.x.div(viewportSize.y);
191
190
  const aspectCorrectedUV = vec2(baseUV.x.mul(aspect), baseUV.y);
192
191
  const centerPos = vec2(uniforms.center.uniform.x.mul(aspect), uniforms.center.uniform.y.oneMinus());
@@ -195,12 +194,10 @@ const componentDefinition = {
195
194
  const baseRadius = size;
196
195
  const noiseScale = float(4);
197
196
  const noise1 = sin(uv$1.x.mul(noiseScale.mul(float(.8))).add(animTime.mul(float(.8)))).mul(sin(uv$1.y.mul(noiseScale.mul(float(.7))).add(animTime.mul(float(.6))))).add(sin(uv$1.x.mul(noiseScale.mul(float(1.2))).sub(uv$1.y.mul(noiseScale.mul(float(.9))).add(animTime.mul(float(.4)))))).mul(float(.15)).mul(deformation);
198
- const noise2 = sin(uv$1.x.mul(noiseScale.mul(float(1.4))).sub(animTime.mul(float(.5)))).mul(sin(uv$1.y.mul(noiseScale.mul(float(1.1))).add(animTime.mul(float(.7))))).mul(float(.12)).mul(deformation).mul(smoothstep(float(.15), float(.25), edgeComplexity));
199
- const noise3 = sin(uv$1.x.mul(noiseScale.mul(float(1.8))).add(uv$1.y.mul(noiseScale.mul(float(1.6))).add(animTime.mul(float(.3))))).add(sin(uv$1.x.mul(noiseScale.mul(float(.6))).sub(animTime.mul(float(.9))))).mul(float(.1)).mul(deformation).mul(smoothstep(float(.3), float(.4), edgeComplexity));
200
- const noise4 = sin(uv$1.x.mul(noiseScale.mul(float(2.2))).add(animTime.mul(float(.2)))).mul(sin(uv$1.y.mul(noiseScale.mul(float(1.9))).sub(animTime.mul(float(.8))))).mul(float(.08)).mul(deformation).mul(smoothstep(float(.45), float(.55), edgeComplexity));
201
- const noise5 = sin(uv$1.x.mul(noiseScale.mul(float(2.8))).sub(uv$1.y.mul(noiseScale.mul(float(2.4))).add(animTime.mul(float(.6))))).mul(float(.06)).mul(deformation).mul(smoothstep(float(.6), float(.7), edgeComplexity));
202
- const noise6 = sin(uv$1.x.mul(noiseScale.mul(float(3.2))).add(animTime.mul(float(1.1)))).add(sin(uv$1.y.mul(noiseScale.mul(float(3.5))).sub(animTime.mul(float(.4))))).mul(float(.04)).mul(deformation).mul(smoothstep(float(.75), float(.85), edgeComplexity));
203
- const noiseAmount = noise1.add(noise2).add(noise3).add(noise4).add(noise5).add(noise6);
197
+ const noise2 = sin(uv$1.x.mul(noiseScale.mul(float(1.4))).sub(animTime.mul(float(.5)))).mul(sin(uv$1.y.mul(noiseScale.mul(float(1.1))).add(animTime.mul(float(.7))))).mul(float(.12)).mul(deformation);
198
+ const noise3 = sin(uv$1.x.mul(noiseScale.mul(float(1.8))).add(uv$1.y.mul(noiseScale.mul(float(1.6))).add(animTime.mul(float(.3))))).add(sin(uv$1.x.mul(noiseScale.mul(float(.6))).sub(animTime.mul(float(.9))))).mul(float(.1)).mul(deformation);
199
+ const noise4 = sin(uv$1.x.mul(noiseScale.mul(float(2.2))).add(animTime.mul(float(.2)))).mul(sin(uv$1.y.mul(noiseScale.mul(float(1.9))).sub(animTime.mul(float(.8))))).mul(float(.04)).mul(deformation);
200
+ const noiseAmount = noise1.add(noise2).add(noise3).add(noise4);
204
201
  const organicRadius = baseRadius.add(noiseAmount);
205
202
  const blobMask = pow(smoothstep(organicRadius.sub(edgeWidth), organicRadius.add(edgeWidth), dist).oneMinus(), edgeCurve);
206
203
  const distFromCenter = length(uv$1);
@@ -1,4 +1,5 @@
1
- import { SRGBColorSpace, VideoTexture } from "three/webgpu";
1
+ import { t as needsVideoCanvasWorkaround } from "./browser-Dcr7w1AA.js";
2
+ import { CanvasTexture, SRGBColorSpace, VideoTexture } from "three/webgpu";
2
3
  import { float, max, min, or, screenUV, select, step, texture, uniform, vec2, vec4, viewportSize } from "three/tsl";
3
4
  const componentDefinition = {
4
5
  name: "VideoTexture",
@@ -67,19 +68,29 @@ const componentDefinition = {
67
68
  fragmentNode: ({ uniforms, onCleanup, onBeforeRender }) => {
68
69
  const baseUV = screenUV;
69
70
  let videoElement = null;
70
- let videoTexture = null;
71
71
  let currentUrl = "";
72
72
  let isLoading = false;
73
73
  let isDisposed = false;
74
74
  const videoAspectUniform = uniform(1);
75
75
  const videoWidthUniform = uniform(640);
76
76
  const videoHeightUniform = uniform(480);
77
- const placeholderVideo = document.createElement("video");
78
- placeholderVideo.playsInline = true;
79
- placeholderVideo.muted = true;
80
- videoTexture = new VideoTexture(placeholderVideo);
81
- videoTexture.colorSpace = SRGBColorSpace;
82
- const textureNode = texture(videoTexture);
77
+ let canvas = null;
78
+ let ctx = null;
79
+ let activeTexture;
80
+ if (needsVideoCanvasWorkaround()) {
81
+ canvas = document.createElement("canvas");
82
+ canvas.width = 640;
83
+ canvas.height = 480;
84
+ ctx = canvas.getContext("2d");
85
+ activeTexture = new CanvasTexture(canvas);
86
+ } else {
87
+ const placeholderVideo = document.createElement("video");
88
+ placeholderVideo.playsInline = true;
89
+ placeholderVideo.muted = true;
90
+ activeTexture = new VideoTexture(placeholderVideo);
91
+ }
92
+ activeTexture.colorSpace = SRGBColorSpace;
93
+ const textureNode = texture(activeTexture);
83
94
  const loadVideo = async (url) => {
84
95
  if (!url || url.trim() === "" || isLoading || isDisposed) return;
85
96
  isLoading = true;
@@ -115,10 +126,6 @@ const componentDefinition = {
115
126
  videoElement.src = "";
116
127
  videoElement = null;
117
128
  }
118
- if (videoTexture) videoTexture.dispose();
119
- videoTexture = new VideoTexture(video);
120
- videoTexture.colorSpace = SRGBColorSpace;
121
- textureNode.value = videoTexture;
122
129
  videoElement = video;
123
130
  currentUrl = url;
124
131
  try {
@@ -126,6 +133,14 @@ const componentDefinition = {
126
133
  } catch (error) {
127
134
  console.warn("[VideoTexture] Autoplay failed (browser policy):", error);
128
135
  }
136
+ activeTexture.dispose();
137
+ if (needsVideoCanvasWorkaround()) {
138
+ canvas.width = width;
139
+ canvas.height = height;
140
+ activeTexture = new CanvasTexture(canvas);
141
+ } else activeTexture = new VideoTexture(video);
142
+ activeTexture.colorSpace = SRGBColorSpace;
143
+ textureNode.value = activeTexture;
129
144
  isLoading = false;
130
145
  } catch (error) {
131
146
  console.error("[VideoTexture] Failed to load video:", error);
@@ -142,6 +157,10 @@ const componentDefinition = {
142
157
  if (videoElement) {
143
158
  const loopValue = uniforms.loop?.uniform?.value ?? true;
144
159
  if (videoElement.loop !== loopValue) videoElement.loop = loopValue;
160
+ if (needsVideoCanvasWorkaround() && !videoElement.paused && videoElement.readyState >= 2) {
161
+ ctx.drawImage(videoElement, 0, 0, canvas.width, canvas.height);
162
+ activeTexture.needsUpdate = true;
163
+ }
145
164
  }
146
165
  });
147
166
  onCleanup(() => {
@@ -151,11 +170,7 @@ const componentDefinition = {
151
170
  videoElement.src = "";
152
171
  videoElement = null;
153
172
  }
154
- if (videoTexture) {
155
- videoTexture.dispose();
156
- videoTexture = null;
157
- }
158
- placeholderVideo.src = "";
173
+ activeTexture.dispose();
159
174
  currentUrl = "";
160
175
  });
161
176
  const uv$1 = baseUV;
@@ -1,4 +1,5 @@
1
- import { SRGBColorSpace, VideoTexture } from "three/webgpu";
1
+ import { t as needsVideoCanvasWorkaround } from "./browser-Dcr7w1AA.js";
2
+ import { CanvasTexture, SRGBColorSpace, VideoTexture } from "three/webgpu";
2
3
  import { float, max, min, or, screenUV, select, step, texture, uniform, vec2, vec4, viewportSize } from "three/tsl";
3
4
  const componentDefinition = {
4
5
  name: "WebcamTexture",
@@ -55,22 +56,32 @@ const componentDefinition = {
55
56
  }
56
57
  }
57
58
  },
58
- fragmentNode: ({ uniforms, onCleanup }) => {
59
+ fragmentNode: ({ uniforms, onCleanup, onBeforeRender }) => {
59
60
  const baseUV = screenUV;
60
61
  let mediaStream = null;
61
62
  let videoElement = null;
62
- let videoTexture = null;
63
63
  let isInitialized = false;
64
64
  let isDisposed = false;
65
65
  const videoAspectUniform = uniform(1);
66
66
  const videoWidthUniform = uniform(640);
67
67
  const videoHeightUniform = uniform(480);
68
- const placeholderVideo = document.createElement("video");
69
- placeholderVideo.playsInline = true;
70
- placeholderVideo.muted = true;
71
- videoTexture = new VideoTexture(placeholderVideo);
72
- videoTexture.colorSpace = SRGBColorSpace;
73
- const textureNode = texture(videoTexture);
68
+ let canvas = null;
69
+ let ctx = null;
70
+ let activeTexture;
71
+ if (needsVideoCanvasWorkaround()) {
72
+ canvas = document.createElement("canvas");
73
+ canvas.width = 640;
74
+ canvas.height = 480;
75
+ ctx = canvas.getContext("2d");
76
+ activeTexture = new CanvasTexture(canvas);
77
+ } else {
78
+ const placeholderVideo = document.createElement("video");
79
+ placeholderVideo.playsInline = true;
80
+ placeholderVideo.muted = true;
81
+ activeTexture = new VideoTexture(placeholderVideo);
82
+ }
83
+ activeTexture.colorSpace = SRGBColorSpace;
84
+ const textureNode = texture(activeTexture);
74
85
  const startWebcam = async () => {
75
86
  if (isInitialized || isDisposed) return;
76
87
  try {
@@ -108,10 +119,14 @@ const componentDefinition = {
108
119
  videoAspectUniform.value = width / height;
109
120
  videoWidthUniform.value = width;
110
121
  videoHeightUniform.value = height;
111
- if (videoTexture) videoTexture.dispose();
112
- videoTexture = new VideoTexture(videoElement);
113
- videoTexture.colorSpace = SRGBColorSpace;
114
- textureNode.value = videoTexture;
122
+ activeTexture.dispose();
123
+ if (needsVideoCanvasWorkaround()) {
124
+ canvas.width = width;
125
+ canvas.height = height;
126
+ activeTexture = new CanvasTexture(canvas);
127
+ } else activeTexture = new VideoTexture(videoElement);
128
+ activeTexture.colorSpace = SRGBColorSpace;
129
+ textureNode.value = activeTexture;
115
130
  isInitialized = true;
116
131
  console.log(`[WebcamTexture] Webcam started: ${width}x${height}`);
117
132
  } catch (error) {
@@ -123,21 +138,23 @@ const componentDefinition = {
123
138
  }
124
139
  };
125
140
  startWebcam();
141
+ onBeforeRender(() => {
142
+ if (needsVideoCanvasWorkaround() && videoElement && isInitialized && !videoElement.paused && videoElement.readyState >= 2) {
143
+ ctx.drawImage(videoElement, 0, 0, canvas.width, canvas.height);
144
+ activeTexture.needsUpdate = true;
145
+ }
146
+ });
126
147
  onCleanup(() => {
127
148
  isDisposed = true;
128
149
  if (mediaStream) {
129
150
  mediaStream.getTracks().forEach((track) => track.stop());
130
151
  mediaStream = null;
131
152
  }
132
- if (videoTexture) {
133
- videoTexture.dispose();
134
- videoTexture = null;
135
- }
136
153
  if (videoElement) {
137
154
  videoElement.srcObject = null;
138
155
  videoElement = null;
139
156
  }
140
- placeholderVideo.srcObject = null;
157
+ activeTexture.dispose();
141
158
  isInitialized = false;
142
159
  });
143
160
  const uv$1 = baseUV;
@@ -0,0 +1,6 @@
1
+ var _needsCanvasWorkaround = null;
2
+ function needsVideoCanvasWorkaround() {
3
+ if (_needsCanvasWorkaround === null) _needsCanvasWorkaround = typeof navigator !== "undefined" && /Firefox/.test(navigator.userAgent);
4
+ return _needsCanvasWorkaround;
5
+ }
6
+ export { needsVideoCanvasWorkaround as t };
@@ -6,7 +6,7 @@ import { n as componentDefinition$1 } from "./Ascii-BmSlALjq.js";
6
6
  import "./colorMixing-Ehw-Hfs_.js";
7
7
  import { n as componentDefinition$2 } from "./Aurora-BDnL1XdK.js";
8
8
  import { n as componentDefinition$3 } from "./Beam-CyRoRQEj.js";
9
- import { n as componentDefinition$4 } from "./Blob-BgN4aVOR.js";
9
+ import { n as componentDefinition$4 } from "./Blob-CunyZ0A6.js";
10
10
  import { n as componentDefinition$5 } from "./Blur-NNElJwzj.js";
11
11
  import { n as componentDefinition$6 } from "./BrightnessContrast-FdkKMaQQ.js";
12
12
  import { n as componentDefinition$7 } from "./Bulge-Ca9hW7y4.js";
@@ -72,10 +72,11 @@ import { n as componentDefinition$66 } from "./Tint-VTnDmiKF.js";
72
72
  import { n as componentDefinition$67 } from "./Tritone-v6z_O967.js";
73
73
  import { n as componentDefinition$68 } from "./Twirl-BWpsT8iI.js";
74
74
  import { n as componentDefinition$69 } from "./Vibrance-C_DSuzwf.js";
75
- import { n as componentDefinition$70 } from "./VideoTexture-OrpXuUNQ.js";
76
- import { n as componentDefinition$71 } from "./WaveDistortion-BAxVvc8B.js";
77
- import { n as componentDefinition$72 } from "./WebcamTexture-D2CHXtkO.js";
78
- import { n as componentDefinition$73 } from "./ZoomBlur-D--sEenn.js";
75
+ import "./browser-Dcr7w1AA.js";
76
+ import { n as componentDefinition$70 } from "./VideoTexture-DfsNWCXk.js";
77
+ import { n as componentDefinition$71 } from "./WaveDistortion-xj8fjAf_.js";
78
+ import { n as componentDefinition$72 } from "./WebcamTexture-Cxppkhiu.js";
79
+ import { n as componentDefinition$73 } from "./ZoomBlur-BePhHTgF.js";
79
80
  var createShaderRegistry = () => {
80
81
  const registry = {};
81
82
  const shaderDefinitions = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Blob/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAIvE,OAAO,EAAC,cAAc,EAAE,iBAAiB,EAAyC,MAAM,qCAAqC,CAAA;AAI7H,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;CAClD;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAqQnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Blob/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAIvE,OAAO,EAAC,cAAc,EAAE,iBAAiB,EAAyC,MAAM,qCAAqC,CAAA;AAI7H,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;CAClD;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAkPnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import "../../transformations-CC_c-QAT.js";
2
2
  import "../../time-BZqyVJXt.js";
3
3
  import "../../colorMixing-Ehw-Hfs_.js";
4
- import { n as componentDefinition, t as Blob_default } from "../../Blob-BgN4aVOR.js";
4
+ import { n as componentDefinition, t as Blob_default } from "../../Blob-CunyZ0A6.js";
5
5
  export { componentDefinition, Blob_default as default };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/VideoTexture/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAMvE,MAAM,WAAW,cAAc;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,OAAO,CAAA;CAChB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CA8SnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/VideoTexture/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAOvE,MAAM,WAAW,cAAc;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,OAAO,CAAA;CAChB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAyTnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -1,2 +1,3 @@
1
- import { n as componentDefinition, t as VideoTexture_default } from "../../VideoTexture-OrpXuUNQ.js";
1
+ import "../../browser-Dcr7w1AA.js";
2
+ import { n as componentDefinition, t as VideoTexture_default } from "../../VideoTexture-DfsNWCXk.js";
2
3
  export { componentDefinition, VideoTexture_default as default };
@@ -1,5 +1,5 @@
1
1
  import "../../edges-Bd7GP4s2.js";
2
2
  import "../../transformations-CC_c-QAT.js";
3
3
  import "../../time-BZqyVJXt.js";
4
- import { n as componentDefinition, t as WaveDistortion_default } from "../../WaveDistortion-BAxVvc8B.js";
4
+ import { n as componentDefinition, t as WaveDistortion_default } from "../../WaveDistortion-xj8fjAf_.js";
5
5
  export { componentDefinition, WaveDistortion_default as default };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/WebcamTexture/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAMvE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAwRnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/WebcamTexture/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAOvE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAuSnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -1,2 +1,3 @@
1
- import { n as componentDefinition, t as WebcamTexture_default } from "../../WebcamTexture-D2CHXtkO.js";
1
+ import "../../browser-Dcr7w1AA.js";
2
+ import { n as componentDefinition, t as WebcamTexture_default } from "../../WebcamTexture-Cxppkhiu.js";
2
3
  export { componentDefinition, WebcamTexture_default as default };
@@ -1,3 +1,3 @@
1
1
  import "../../transformations-CC_c-QAT.js";
2
- import { n as componentDefinition, t as ZoomBlur_default } from "../../ZoomBlur-D--sEenn.js";
2
+ import { n as componentDefinition, t as ZoomBlur_default } from "../../ZoomBlur-BePhHTgF.js";
3
3
  export { componentDefinition, ZoomBlur_default as default };
@@ -0,0 +1,2 @@
1
+ export declare function needsVideoCanvasWorkaround(): boolean;
2
+ //# sourceMappingURL=browser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../src/utilities/browser.ts"],"names":[],"mappings":"AAIA,wBAAgB,0BAA0B,IAAI,OAAO,CAKpD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shaders",
3
- "version": "2.3.53",
3
+ "version": "2.3.54",
4
4
  "description": "Shader magic for modern frontends",
5
5
  "author": "Shader Effects Inc.",
6
6
  "homepage": "https://shaders.com/",
@@ -705,7 +705,7 @@
705
705
  "typecheck": "tsc --noEmit"
706
706
  },
707
707
  "dependencies": {
708
- "three": "^0.181.0"
708
+ "three": "^0.182.0"
709
709
  },
710
710
  "devDependencies": {
711
711
  "@types/fs-extra": "^11.0.4",