Reset lastReflectionUpdateTime when resizing reflection render targets

This commit is contained in:
2026-04-07 07:13:41 +02:00
parent 2789859360
commit 49a64b2d9b

View File

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