@takram/three-clouds 0.7.2 → 0.7.3

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.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "A Three.js and R3F implementation of geospatial volumetric clouds",
5
5
  "keywords": [
6
6
  "three",
@@ -811,7 +811,6 @@ vec2 getHazeRayNearFar(const IntersectionResult intersections) {
811
811
 
812
812
  float getRayDistanceToScene(const vec3 rayDirection, out float viewZ) {
813
813
  float depth = readDepthValue(depthBuffer, vUv * targetUvScale + temporalJitter);
814
- depth = reverseLogDepth(depth, cameraNear, cameraFar);
815
814
  if (depth < 1.0 - 1e-7) {
816
815
  depth = reverseLogDepth(depth, cameraNear, cameraFar);
817
816
  viewZ = getViewZ(depth);