gaussian-splat-lite 0.1.6 → 0.1.8

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/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ and this project follows [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.8] - 2026-08-28
11
+
12
+ ### Fixed
13
+
14
+ - Initialized the shared empty Splat texture with zero-valued pixel data so WebGL texture-array uploads no longer select an invalid pixel-unpack-buffer path.
15
+
16
+ ## [0.1.7] - 2026-08-28
17
+
18
+ ### Added
19
+
20
+ - Added read/write `GaussianSplatRenderer.transparent`, `depthTest`, and `depthWrite` properties for changing material behavior after construction.
21
+
10
22
  ## [0.1.6] - 2026-08-28
11
23
 
12
24
  ### Changed
@@ -101,7 +113,9 @@ and this project follows [Semantic Versioning](https://semver.org/).
101
113
 
102
114
  - Initial public release of the Three.js Gaussian Splatting renderer.
103
115
 
104
- [Unreleased]: https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite/compare/v0.1.6...HEAD
116
+ [Unreleased]: https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite/compare/v0.1.8...HEAD
117
+ [0.1.8]: https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite/compare/v0.1.7...v0.1.8
118
+ [0.1.7]: https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite/compare/v0.1.6...v0.1.7
105
119
  [0.1.6]: https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite/compare/v0.1.5...v0.1.6
106
120
  [0.1.5]: https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite/compare/v0.1.4...v0.1.5
107
121
  [0.1.4]: https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite/compare/v0.1.3...v0.1.4
@@ -1584,15 +1584,10 @@ const _Splats = class _Splats {
1584
1584
  return texture;
1585
1585
  }
1586
1586
  };
1587
- _Splats.emptyTexture = newUintArrayTexture(null, 1, 1, 1);
1587
+ _Splats.emptyTexture = newUintArrayTexture(new Uint32Array(4), 1, 1, 1);
1588
1588
  let Splats = _Splats;
1589
1589
  function newUintArrayTexture(data, width, height, depth) {
1590
- const texture = new THREE__namespace.DataArrayTexture(
1591
- data,
1592
- width,
1593
- height,
1594
- depth
1595
- );
1590
+ const texture = new THREE__namespace.DataArrayTexture(data, width, height, depth);
1596
1591
  texture.format = THREE__namespace.RGBAIntegerFormat;
1597
1592
  texture.type = THREE__namespace.UnsignedIntType;
1598
1593
  texture.internalFormat = "RGBA32UI";
@@ -3454,6 +3449,27 @@ const _GaussianSplatRenderer = class _GaussianSplatRenderer extends THREE__names
3454
3449
  this.material.needsUpdate = true;
3455
3450
  }
3456
3451
  }
3452
+ get transparent() {
3453
+ return this.material.transparent;
3454
+ }
3455
+ set transparent(value) {
3456
+ if (this.material.transparent !== value) {
3457
+ this.material.transparent = value;
3458
+ this.material.needsUpdate = true;
3459
+ }
3460
+ }
3461
+ get depthTest() {
3462
+ return this.material.depthTest;
3463
+ }
3464
+ set depthTest(value) {
3465
+ this.material.depthTest = value;
3466
+ }
3467
+ get depthWrite() {
3468
+ return this.material.depthWrite;
3469
+ }
3470
+ set depthWrite(value) {
3471
+ this.material.depthWrite = value;
3472
+ }
3457
3473
  };
3458
3474
  _GaussianSplatRenderer.emptyOrdering = (() => {
3459
3475
  const numIndices = 4 * ORDERING_TEXTURE_WIDTH;