提交 cc522521 编写于 作者: M Michael Herzog 提交者: Mr.doob

Editor: Fix equirect backgrounds. (#21690)

上级 3a74507c
......@@ -575,7 +575,7 @@ function Viewport( editor ) {
renderTarget.fromEquirectangularTexture( renderer, backgroundEquirectangularTexture );
renderTarget.toJSON = function () { return null }; // TODO Remove hack
scene.background = renderTarget;
scene.background = renderTarget.texture;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册