🔧 Use correct duration
This commit is contained in:
+4
-4
@@ -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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user