提交 b6799474 编写于 作者: A alteredq

Fixed postprocessing example behavior on window resize.

Finally it was much simpler issue than I thought ;)
上级 7d5d4d78
......@@ -307,8 +307,8 @@
renderScene.uniforms[ "tDiffuse" ].value = composerScene.renderTarget2;
quadBG.scale.set( window.innerWidth, 1, window.innerHeight );
quadMask.scale.set( window.innerWidth / 2, 1, window.innerHeight / 2 );
quadBG.scale.set( window.innerWidth, window.innerHeight, 1 );
quadMask.scale.set( window.innerWidth / 2, window.innerHeight / 2, 1 );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册