Reset lastReflectionUpdateTime when resizing reflection target

This commit is contained in:
2026-04-07 07:13:08 +02:00
parent 0d5855171a
commit d5d7219c57

View File

@@ -824,6 +824,7 @@ export class RuntimeHost {
for (const binding of this.runtimeWaterContactUniforms) {
binding.reflectionRenderTarget?.setSize(width, height);
binding.lastReflectionUpdateTime = Number.NEGATIVE_INFINITY;
}
}