We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f3c887 commit 010c5e7Copy full SHA for 010c5e7
src/core/EffectComposer.js
@@ -668,9 +668,9 @@ export class EffectComposer {
668
if(pass.enabled) {
669
670
// Copy the depth buffer to the stable depth target just before the first pass that swaps buffers
671
- if(!depthBlitted && this._stableDepthTarget !== null && pass.needsSwap && inputBuffer.depthTexture !== null) {
+ if(!depthBlitted && this._stableDepthTarget !== null && pass.needsDepthTexture) {
672
673
- this.blitDepthBuffer(inputBuffer);
+ this.blitDepthBuffer(this.inputBuffer);
674
depthBlitted = true;
675
676
}
0 commit comments