@soonspacejs/plugin-atmosphere 2.16.0 → 2.16.2
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.esm.js +0 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -11487,7 +11487,6 @@ class Md {
|
|
|
11487
11487
|
const { viewport: { scene: t, camera: r, renderer: n } } = e;
|
|
11488
11488
|
this.date.setHours(10, 0, 0, 0), this.texturesGenerator = new Uu(n), this.arrayBufferLoader = new ua(), this.skyMaterial = new Fr(), this.skyMesh = new na(new aa(2, 2), this.skyMaterial), this.skyMesh.frustumCulled = !1, this.skyLight = new ku(), this.sunLight = new tl(), this.sunLight.shadow.autoUpdate = !1, this.sunLight.shadow.bias = -5e-4, this.sunLight.shadow.normalBias = 0.5, this.sunLight.shadow.camera.near = 0.01, this.sunLight.shadow.mapSize.width = n.capabilities.maxTextureSize, this.sunLight.shadow.mapSize.height = n.capabilities.maxTextureSize, this.aerialPerspectiveEffect = new Z(r), this.aerialPerspective = { effect: this.aerialPerspectiveEffect, enabled: !1 }, this.lensFlareEffect = new gd(), this.lensFlare = { effect: this.lensFlareEffect, enabled: !1 }, this.ditheringEffect = new ad(), this.dithering = { effect: this.ditheringEffect, enabled: !1 }, this.lightingMaskPass = new Au(t, r), this.lightingMaskPass.selectionLayer = Mi, this.cubeRenderTarget = new Po(512, { type: K }), this.cubeCamera = new Lo(0.1, 1e3, this.cubeRenderTarget), this.cloudsEffect = new co(r), this.cloudsEffect.coverage = this.cloudCoverage, this.cloudsEffect.qualityPreset = this.cloudQuality, this.cloudsEffect.localWeatherVelocity.set(1e-3, 0), this.cloudsEffect.events.addEventListener("change", this.onCloudsChange), this.clouds = { effect: this.cloudsEffect, enabled: !1 };
|
|
11489
11489
|
}
|
|
11490
|
-
ssp;
|
|
11491
11490
|
cacheKey = "";
|
|
11492
11491
|
date = /* @__PURE__ */ new Date();
|
|
11493
11492
|
longitude = 120;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soonspacejs/plugin-atmosphere",
|
|
3
3
|
"pluginName": "AtmospherePlugin",
|
|
4
|
-
"version": "2.16.
|
|
4
|
+
"version": "2.16.2",
|
|
5
5
|
"description": "Atmosphere plugin for SoonSpace.js",
|
|
6
6
|
"main": "dist/index.esm.js",
|
|
7
7
|
"module": "dist/index.esm.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"license": "UNLICENSED",
|
|
16
16
|
"gitHead": "4a87dd85050651088e11c3da777c49fab3db7e5d",
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"soonspacejs": "2.16.
|
|
18
|
+
"soonspacejs": "2.16.2"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@takram/three-atmosphere": "0.18.0",
|