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.
@@ -274,7 +274,7 @@ const Ms = (s) => {
274
274
  },
275
275
  test: () => !0,
276
276
  load: async () => {
277
- await import("./browserAll-Cn0_K3iB.js");
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-u4U5Puve.js");
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-JogCv1An.js");
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-clYIdI4A.js");
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-COWnLCuX.js");
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
- float alpha = smoothstep(uThreshold, uThreshold + uSmoothness, luma);
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.02, e = 0.06) {
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-DKhmD0G-.js.map
22969
+ //# sourceMappingURL=index-5VKHaxAH.js.map