Update viewport water reflections in render loop
This commit is contained in:
@@ -4346,6 +4346,10 @@ export class ViewportHost {
|
|||||||
uniform.value = this.volumeTime;
|
uniform.value = this.volumeTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.viewportWaterSurfaceBindings.length > 0) {
|
||||||
|
this.updateViewportWaterReflections();
|
||||||
|
}
|
||||||
|
|
||||||
if (this.advancedRenderingComposer !== null) {
|
if (this.advancedRenderingComposer !== null) {
|
||||||
this.advancedRenderingComposer.render();
|
this.advancedRenderingComposer.render();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user