diff --git a/src/renderers/WebGLMultipleRenderTargets.js b/src/renderers/WebGLMultipleRenderTargets.js index a5fb5a176b53c8..a0bff130049bf0 100644 --- a/src/renderers/WebGLMultipleRenderTargets.js +++ b/src/renderers/WebGLMultipleRenderTargets.js @@ -59,13 +59,15 @@ class WebGLMultipleRenderTargets extends WebGLRenderTarget { this.depthBuffer = source.depthBuffer; this.stencilBuffer = source.stencilBuffer; - this.depthTexture = source.depthTexture; + + if ( source.depthTexture !== null ) this.depthTexture = source.depthTexture.clone(); this.texture.length = 0; for ( let i = 0, il = source.texture.length; i < il; i ++ ) { this.texture[ i ] = source.texture[ i ].clone(); + this.texture[ i ].isRenderTargetTexture = true; }