From cef207de4ad1934e02b8bbd7353d322a842fa5d3 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 6 Apr 2026 17:27:44 +0200 Subject: [PATCH] Update volume time for animated uniforms --- src/runtime-three/runtime-host.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index 60906734..7ad128a2 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -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);