🔧 Use correct duration

This commit is contained in:
Simon Schneegans
2022-06-10 10:29:12 +02:00
parent 6fb56612e2
commit 4e5084bdba
+4 -4
View File
@@ -111,8 +111,8 @@ class %EFFECT_CLASS% {
type: Effect.ShaderUniform, type: Effect.ShaderUniform,
fragmentShader: this.shader, fragmentShader: this.shader,
uniform: "uDuration", uniform: "uDuration",
from: this.duration, from: this.duration * 0.001,
to: this.duration to: this.duration * 0.001
} }
] ]
}); });
@@ -152,8 +152,8 @@ class %EFFECT_CLASS% {
type: Effect.ShaderUniform, type: Effect.ShaderUniform,
fragmentShader: this.shader, fragmentShader: this.shader,
uniform: "uDuration", uniform: "uDuration",
from: this.duration, from: this.duration * 0.001,
to: this.duration to: this.duration * 0.001
} }
] ]
}); });