@takram/three-clouds 0.2.0 → 0.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takram/three-clouds",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "A Three.js and R3F implementation of geospatial volumetric clouds",
5
5
  "keywords": [
6
6
  "three",
@@ -45,8 +45,8 @@
45
45
  "README.md"
46
46
  ],
47
47
  "dependencies": {
48
- "@takram/three-atmosphere": "0.11.0",
49
- "@takram/three-geospatial": "0.2.0",
48
+ "@takram/three-atmosphere": "0.11.2",
49
+ "@takram/three-geospatial": "0.2.1",
50
50
  "tiny-invariant": "^1.3.3",
51
51
  "type-fest": "^4.34.1"
52
52
  },
@@ -286,7 +286,9 @@ export class CloudsEffect extends Effect {
286
286
  atmosphereUniforms: this.atmosphereUniforms
287
287
  }
288
288
  this.shadowPass = new ShadowPass(passOptions)
289
+ this.shadowPass.mainCamera = camera
289
290
  this.cloudsPass = new CloudsPass(passOptions, atmosphere)
291
+ this.cloudsPass.mainCamera = camera
290
292
 
291
293
  this.clouds = definePropertyShorthand(
292
294
  defineUniformShorthand(