Skip to content

Commit d08e23f

Browse files
committed
Reset renderTarget to null when rendering camera effects
1 parent 48782ec commit d08e23f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

v3/src/renderer/webgl/WebGLRenderer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ WebGLRenderer.prototype = {
332332
}
333333
if (camera._fadeAlpha > 0 || camera._flashAlpha > 0)
334334
{
335+
this.setRenderTarget(null);
335336
var quadBatch = this.quadBatch;
336337
quadBatch.bind();
337338
// fade rendering

0 commit comments

Comments
 (0)