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