提交 5c20483e 编写于 作者: R Ricardo Cabello

Merge pull request #6312 from WestLangley/dev-cubeCam

CubeCamera.updateCubeMap(): restore the default framebuffer
......@@ -72,6 +72,8 @@ THREE.CubeCamera = function ( near, far, cubeResolution ) {
renderTarget.activeCubeFace = 5;
renderer.render( scene, cameraNZ, renderTarget );
renderer.setRenderTarget( null );
};
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册