soonspacejs 2.15.7 → 2.15.9

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/index.esm.js CHANGED
@@ -24,7 +24,7 @@ import * as bi from "three/examples/jsm/utils/SkeletonUtils.js";
24
24
  import * as Uc from "three/examples/jsm/libs/fflate.module.js";
25
25
  import { NURBSCurve as Gc } from "three/examples/jsm/curves/NURBSCurve.js";
26
26
  import { RectAreaLightHelper as Vc } from "three/examples/jsm/helpers/RectAreaLightHelper.js";
27
- const Hc = "soonspacejs", Wc = "2.15.7", Si = {
27
+ const Hc = "soonspacejs", Wc = "2.15.9", Si = {
28
28
  name: Hc,
29
29
  version: Wc
30
30
  }, Sa = "[soonspacejs]: ";
@@ -4574,8 +4574,10 @@ class gu {
4574
4574
  const e = new Ml({
4575
4575
  powerPreference: "high-performance",
4576
4576
  antialias: !1,
4577
- stencil: !1,
4578
- depth: !1,
4577
+ // 贴地标绘(cesium-to-three classification)走模板阴影体,需要主帧缓冲具备
4578
+ // stencil + depth;非后处理直出路径据此渲染。后处理路径另见 EffectComposer。
4579
+ stencil: !0,
4580
+ depth: !0,
4579
4581
  preserveDrawingBuffer: !0,
4580
4582
  logarithmicDepthBuffer: !0
4581
4583
  });
@@ -6178,7 +6180,10 @@ class Ye {
6178
6180
  _initEffectComposer() {
6179
6181
  return new mc(this.renderer, {
6180
6182
  multisampling: 0,
6181
- frameBufferType: on
6183
+ frameBufferType: on,
6184
+ // 贴地标绘(cesium-to-three classification)模板阴影体需要在 RenderPass 的离屏
6185
+ // 目标上具备 stencil;color 命令以 ZeroStencilOp 自清零,无需逐帧整屏清模板。
6186
+ stencilBuffer: !0
6182
6187
  });
6183
6188
  }
6184
6189
  _initPasses() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soonspacejs",
3
- "version": "2.15.7",
3
+ "version": "2.15.9",
4
4
  "homepage": "https://www.xwbuilders.com/soonspacejs/",
5
5
  "description": "soonspacejs 2.x",
6
6
  "module": "./dist/index.esm.js",