Update volume time for animated uniforms

This commit is contained in:
2026-04-06 17:27:44 +02:00
parent 0529975ef7
commit cef207de4a

View File

@@ -1007,6 +1007,9 @@ export class RuntimeHost {
for (const mat of this.volumeAnimatedMaterials) {
(mat.uniforms["time"] as { value: number }).value = this.volumeTime;
}
for (const uniform of this.volumeAnimatedUniforms) {
uniform.value = this.volumeTime;
}
for (const mixer of this.animationMixers.values()) {
mixer.update(dt);