@jdultra/threedtiles 14.0.4 → 14.0.6

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.
@@ -148,6 +148,12 @@ export class OGC3DTile extends THREE.Object3D<THREE.Object3DEventMap> {
148
148
  * @param {number} cropRadius
149
149
  */
150
150
  setSplatsCropRadius(cropRadius: number): void;
151
+ /**
152
+ * set a depth bias to render splats in front of other objects even when they are marginally behind. (avoids overlap issues when overlaying on mesh)
153
+ * @param {number} depthBias
154
+ */
155
+ setSplatsDepthBias(depthBias: number): void;
156
+ splatsDepthBias: number | undefined;
151
157
  /**
152
158
  * Set the splats to use CPU culling. Faster sort and better frame rate at the cost of splats being absent when camera moves quickly.
153
159
  * @param {boolean} splatsCPUCulling
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jdultra/threedtiles",
3
- "version": "14.0.4",
3
+ "version": "14.0.6",
4
4
  "author": "Emeric Beaufays",
5
5
  "description": "An OGC 3DTiles viewer for Three.js",
6
6
  "main": "dist/threedtiles.cjs.js",