提交 9e402e57 编写于 作者: O Olli Etuaho

Add resizing support to AfterimagePass

上级 f3642887
......@@ -78,6 +78,13 @@ THREE.AfterimagePass.prototype = Object.assign( Object.create( THREE.Pass.protot
}
},
setSize: function ( width, height ) {
this.textureComp.setSize( width, height );
this.textureOld.setSize( width, height );
}
} );
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册