endset_three_editor 0.8.6 → 0.8.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/dist/three-editor.es.js
CHANGED
|
@@ -2015,7 +2015,7 @@ function Fo() {
|
|
|
2015
2015
|
}
|
|
2016
2016
|
function zo() {
|
|
2017
2017
|
const a = Fo(), e = new P.WebGLRenderer({ antialias: !0, alpha: !0 });
|
|
2018
|
-
e.setSize(C.container.clientWidth, C.container.clientHeight), e.setPixelRatio(a), e.toneMapping = P.
|
|
2018
|
+
e.setSize(C.container.clientWidth, C.container.clientHeight), e.setPixelRatio(a), e.toneMapping = P.NeutralToneMapping, e.toneMappingExposure = 1, console.log(
|
|
2019
2019
|
`[Renderer] css=${C.container.clientWidth}×${C.container.clientHeight}, dpr=${window.devicePixelRatio}, targetRatio=${a}, antialias=true`
|
|
2020
2020
|
), C.container.appendChild(e.domElement), C.renderer = e;
|
|
2021
2021
|
}
|
|
@@ -2032,7 +2032,7 @@ function Go() {
|
|
|
2032
2032
|
function Uo() {
|
|
2033
2033
|
if (C.scene = new P.Scene(), C.scene.name = "sl_scene", C.renderer) {
|
|
2034
2034
|
const a = vn(C.renderer);
|
|
2035
|
-
a && (C.scene.environment = a, C.scene.environmentIntensity =
|
|
2035
|
+
a && (C.scene.environment = a, C.scene.environmentIntensity = 1);
|
|
2036
2036
|
}
|
|
2037
2037
|
}
|
|
2038
2038
|
function Bo() {
|
|
@@ -2473,7 +2473,7 @@ function Aa(a, e = "edit", t, n, s) {
|
|
|
2473
2473
|
C.scene.environment = y;
|
|
2474
2474
|
else if (C.renderer) {
|
|
2475
2475
|
const I = vn(C.renderer);
|
|
2476
|
-
I && (C.scene.environment = I, C.scene.environmentIntensity =
|
|
2476
|
+
I && (C.scene.environment = I, C.scene.environmentIntensity = 1);
|
|
2477
2477
|
}
|
|
2478
2478
|
} else
|
|
2479
2479
|
(c = C.scene) == null || c.add(r);
|