holostaff-widget 2.1.3 → 2.1.4
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/{BufferResource-Drqe9ZKX.js → BufferResource-n5kRzHSb.js} +2 -2
- package/dist/{BufferResource-Drqe9ZKX.js.map → BufferResource-n5kRzHSb.js.map} +1 -1
- package/dist/{CanvasRenderer-COWnLCuX.js → CanvasRenderer-B0v2M8OG.js} +3 -3
- package/dist/{CanvasRenderer-COWnLCuX.js.map → CanvasRenderer-B0v2M8OG.js.map} +1 -1
- package/dist/{RenderTargetSystem-LdwnobMn.js → RenderTargetSystem-B4PRh7oU.js} +2 -2
- package/dist/{RenderTargetSystem-LdwnobMn.js.map → RenderTargetSystem-B4PRh7oU.js.map} +1 -1
- package/dist/{WebGLRenderer-clYIdI4A.js → WebGLRenderer-CuZpDXNe.js} +4 -4
- package/dist/{WebGLRenderer-clYIdI4A.js.map → WebGLRenderer-CuZpDXNe.js.map} +1 -1
- package/dist/{WebGPURenderer-JogCv1An.js → WebGPURenderer-DL_0dPIF.js} +4 -4
- package/dist/{WebGPURenderer-JogCv1An.js.map → WebGPURenderer-DL_0dPIF.js.map} +1 -1
- package/dist/{browserAll-Cn0_K3iB.js → browserAll-B1XOaRn-.js} +3 -3
- package/dist/{browserAll-Cn0_K3iB.js.map → browserAll-B1XOaRn-.js.map} +1 -1
- package/dist/hs-widget.es.js +1 -1
- package/dist/hs-widget.umd.js +22 -21
- package/dist/hs-widget.umd.js.map +1 -1
- package/dist/{index-DKhmD0G-.js → index-5VKHaxAH.js} +9 -8
- package/dist/{index-DKhmD0G-.js.map → index-5VKHaxAH.js.map} +1 -1
- package/dist/{webworkerAll-u4U5Puve.js → webworkerAll-DRRT_PkE.js} +2 -2
- package/dist/{webworkerAll-u4U5Puve.js.map → webworkerAll-DRRT_PkE.js.map} +1 -1
- package/package.json +1 -1
|
@@ -274,7 +274,7 @@ const Ms = (s) => {
|
|
|
274
274
|
},
|
|
275
275
|
test: () => !0,
|
|
276
276
|
load: async () => {
|
|
277
|
-
await import("./browserAll-
|
|
277
|
+
await import("./browserAll-B1XOaRn-.js");
|
|
278
278
|
}
|
|
279
279
|
}, Na = {
|
|
280
280
|
extension: {
|
|
@@ -284,7 +284,7 @@ const Ms = (s) => {
|
|
|
284
284
|
},
|
|
285
285
|
test: () => typeof self < "u" && self.WorkerGlobalScope !== void 0,
|
|
286
286
|
load: async () => {
|
|
287
|
-
await import("./webworkerAll-
|
|
287
|
+
await import("./webworkerAll-DRRT_PkE.js");
|
|
288
288
|
}
|
|
289
289
|
};
|
|
290
290
|
class xt {
|
|
@@ -9588,17 +9588,17 @@ async function vl(s) {
|
|
|
9588
9588
|
for (let r = 0; r < t.length; r++) {
|
|
9589
9589
|
const o = t[r];
|
|
9590
9590
|
if (o === "webgpu" && await Al()) {
|
|
9591
|
-
const { WebGPURenderer: a } = await import("./WebGPURenderer-
|
|
9591
|
+
const { WebGPURenderer: a } = await import("./WebGPURenderer-DL_0dPIF.js");
|
|
9592
9592
|
e = a, i = { ...s, ...s.webgpu };
|
|
9593
9593
|
break;
|
|
9594
9594
|
} else if (o === "webgl" && Tl(
|
|
9595
9595
|
s.failIfMajorPerformanceCaveat ?? Lo.defaultOptions.failIfMajorPerformanceCaveat
|
|
9596
9596
|
)) {
|
|
9597
|
-
const { WebGLRenderer: a } = await import("./WebGLRenderer-
|
|
9597
|
+
const { WebGLRenderer: a } = await import("./WebGLRenderer-CuZpDXNe.js");
|
|
9598
9598
|
e = a, i = { ...s, ...s.webgl };
|
|
9599
9599
|
break;
|
|
9600
9600
|
} else if (o === "canvas") {
|
|
9601
|
-
const { CanvasRenderer: a } = await import("./CanvasRenderer-
|
|
9601
|
+
const { CanvasRenderer: a } = await import("./CanvasRenderer-B0v2M8OG.js");
|
|
9602
9602
|
e = a, i = { ...s, ...s.canvasOptions };
|
|
9603
9603
|
break;
|
|
9604
9604
|
}
|
|
@@ -18457,13 +18457,14 @@ const ud = (
|
|
|
18457
18457
|
void main(void) {
|
|
18458
18458
|
vec4 color = texture(uTexture, vTextureCoord);
|
|
18459
18459
|
float luma = dot(color.rgb, vec3(0.299, 0.587, 0.114));
|
|
18460
|
-
|
|
18460
|
+
// Invert: alpha = 1 for dark (subject), alpha = 0 for bright (white bg)
|
|
18461
|
+
float alpha = 1.0 - smoothstep(uThreshold - uSmoothness, uThreshold, luma);
|
|
18461
18462
|
finalColor = vec4(color.rgb * alpha, alpha);
|
|
18462
18463
|
}
|
|
18463
18464
|
`
|
|
18464
18465
|
);
|
|
18465
18466
|
class fd extends sl {
|
|
18466
|
-
constructor(t = 0.
|
|
18467
|
+
constructor(t = 0.97, e = 0.04) {
|
|
18467
18468
|
const i = ji.from({ vertex: ud, fragment: dd });
|
|
18468
18469
|
super({
|
|
18469
18470
|
glProgram: i,
|
|
@@ -22965,4 +22966,4 @@ export {
|
|
|
22965
22966
|
No as y,
|
|
22966
22967
|
Ut as z
|
|
22967
22968
|
};
|
|
22968
|
-
//# sourceMappingURL=index-
|
|
22969
|
+
//# sourceMappingURL=index-5VKHaxAH.js.map
|