We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17d8e13 commit a212dcbCopy full SHA for a212dcb
src/scripts/rendering/DistanceBasedFog.js
@@ -10,7 +10,7 @@ class DistanceBasedFog {
10
}
11
12
updateDistance (val) {
13
- this.farnear.x = (val - 2) * 16
+ this.farnear.x = (Math.sqrt(val)) * 16
14
this.farnear.y = (val - 1) * 16
15
16
0 commit comments