|
@@ -613,6 +613,11 @@ export class DefaultRenderingPipeline extends PostProcessRenderPipeline implemen
|
|
|
this._scene.postProcessRenderPipelineManager.attachCamerasToRenderPipeline(this._name, this._cameras);
|
|
|
}
|
|
|
|
|
|
+ // In multicamera mode, the scene needs to autoclear in between cameras.
|
|
|
+ if (this._scene.activeCameras && this._scene.activeCameras.length > 1) {
|
|
|
+ this._scene.autoClear = true;
|
|
|
+ }
|
|
|
+
|
|
|
if (!this._enableMSAAOnFirstPostProcess(this.samples) && this.samples > 1) {
|
|
|
Logger.Warn("MSAA failed to enable, MSAA is only supported in browsers that support webGL >= 2.0");
|
|
|
}
|