Reset lastReflectionUpdateTime when resizing reflection target
This commit is contained in:
@@ -824,6 +824,7 @@ export class RuntimeHost {
|
|||||||
|
|
||||||
for (const binding of this.runtimeWaterContactUniforms) {
|
for (const binding of this.runtimeWaterContactUniforms) {
|
||||||
binding.reflectionRenderTarget?.setSize(width, height);
|
binding.reflectionRenderTarget?.setSize(width, height);
|
||||||
|
binding.lastReflectionUpdateTime = Number.NEGATIVE_INFINITY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user