diff --git a/src/systems/tunnel-effect.js b/src/systems/tunnel-effect.js
index 1fb0516ec68ea17780603b13e253bf904bf5c961..abfdf9bd69102c572abe72ef06c92bb6a88b9447 100644
--- a/src/systems/tunnel-effect.js
+++ b/src/systems/tunnel-effect.js
@@ -76,8 +76,8 @@ AFRAME.registerSystem("tunneleffect", {
           this.deltaR = this.targetRadius - r;
           this.deltaS = softness - this.targetSoftness;
         }
-        const unit = this.dt / this.fadeTimeoutMs;
-        this._updateVignettePass(r + this.deltaR * unit, softness - this.deltaS * unit, this.opacity);
+        const ratio = this.dt / this.fadeTimeoutMs;
+        this._updateVignettePass(r + this.deltaR * ratio, softness - this.deltaS * ratio, this.opacity);
       } else {
         this._exitTunnel();
       }