提交 a529e4c7 编写于 作者: A alteredq

Fixed dynamic cube map cars demo.

Finally, the trouble was at the application level: renderer.clear clears the current framebuffer, which, if you juggle multiple render targets, doesn't have to be necessarily the screen. Here it was the last face of cube render target.
上级 d2c6487b
......@@ -1012,7 +1012,7 @@
camera.lookAt( cameraTarget );
renderer.clear();
renderer.clearTarget( null );
composer.render( 0.1 );
renderer.shadowMapEnabled = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册