提交 accb4c40 编写于 作者: D Diego Marcos

Disabling scissor test after rendering each frame to leave OpenGL state as it was

上级 2d597133
......@@ -114,6 +114,8 @@ THREE.VREffect = function ( renderer, done ) {
renderer.setScissor( eyeDivisionLine, 0, eyeDivisionLine, rendererHeight );
renderer.render( scene, cameraRight );
renderer.enableScissorTest( false );
};
this.setSize = function( width, height ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册