未验证 提交 71c6c3d9 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #17037 from higharc/postprocess-pass-size-fix

Unify setting postprocessing pass size
......@@ -90,9 +90,7 @@ Object.assign( EffectComposer.prototype, {
addPass: function ( pass ) {
this.passes.push( pass );
var size = this.renderer.getDrawingBufferSize( new Vector2() );
pass.setSize( size.width, size.height );
pass.setSize( this._width * this._pixelRatio, this._height * this._pixelRatio );
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册