@playcanvas/supersplat-viewer 1.8.0 → 1.8.1
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.js +1 -1
- package/package.json +1 -1
- package/public/index.js +4 -2
- package/public/index.js.map +1 -1
package/package.json
CHANGED
package/public/index.js
CHANGED
|
@@ -101527,8 +101527,10 @@ class Viewer {
|
|
|
101527
101527
|
this.cameraFrame.destroy();
|
|
101528
101528
|
this.cameraFrame = null;
|
|
101529
101529
|
}
|
|
101530
|
-
|
|
101531
|
-
|
|
101530
|
+
if (!app.xr.active) {
|
|
101531
|
+
camera.camera.toneMapping = tonemapTable[settings.tonemapping];
|
|
101532
|
+
camera.camera.clearColor = new Color(background.color);
|
|
101533
|
+
}
|
|
101532
101534
|
}
|
|
101533
101535
|
}
|
|
101534
101536
|
}
|