lythreeframe 1.0.24 → 1.0.26
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/bundle.cjs.js +4 -3
- package/dist/bundle.esm.js +4 -3
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -2645,10 +2645,10 @@ class BoxActor extends Actor {
|
|
|
2645
2645
|
|
|
2646
2646
|
const DefaultSkyParam = {
|
|
2647
2647
|
turbidity: 10,
|
|
2648
|
-
rayleigh:
|
|
2648
|
+
rayleigh: 3,
|
|
2649
2649
|
mieCoefficient: 0.005,
|
|
2650
|
-
mieDirectionalG: 0.
|
|
2651
|
-
elevation:
|
|
2650
|
+
mieDirectionalG: 0.7,
|
|
2651
|
+
elevation: 2,
|
|
2652
2652
|
azimuth: 135,
|
|
2653
2653
|
};
|
|
2654
2654
|
class SkyComponent extends SceneComponent {
|
|
@@ -2698,6 +2698,7 @@ class SkyActor extends Actor {
|
|
|
2698
2698
|
this.name = "DirectionalLightActor";
|
|
2699
2699
|
this.skyComponent = this.rootComponent;
|
|
2700
2700
|
this.rootComponent.name = `${this.rootComponent.name}(Root)`;
|
|
2701
|
+
this.setScale(45000, 45000, 45000);
|
|
2701
2702
|
}
|
|
2702
2703
|
constructRootComponent() {
|
|
2703
2704
|
this.skyComponent = new SkyComponent();
|
package/dist/bundle.esm.js
CHANGED
|
@@ -2643,10 +2643,10 @@ class BoxActor extends Actor {
|
|
|
2643
2643
|
|
|
2644
2644
|
const DefaultSkyParam = {
|
|
2645
2645
|
turbidity: 10,
|
|
2646
|
-
rayleigh:
|
|
2646
|
+
rayleigh: 3,
|
|
2647
2647
|
mieCoefficient: 0.005,
|
|
2648
|
-
mieDirectionalG: 0.
|
|
2649
|
-
elevation:
|
|
2648
|
+
mieDirectionalG: 0.7,
|
|
2649
|
+
elevation: 2,
|
|
2650
2650
|
azimuth: 135,
|
|
2651
2651
|
};
|
|
2652
2652
|
class SkyComponent extends SceneComponent {
|
|
@@ -2696,6 +2696,7 @@ class SkyActor extends Actor {
|
|
|
2696
2696
|
this.name = "DirectionalLightActor";
|
|
2697
2697
|
this.skyComponent = this.rootComponent;
|
|
2698
2698
|
this.rootComponent.name = `${this.rootComponent.name}(Root)`;
|
|
2699
|
+
this.setScale(45000, 45000, 45000);
|
|
2699
2700
|
}
|
|
2700
2701
|
constructRootComponent() {
|
|
2701
2702
|
this.skyComponent = new SkyComponent();
|