未验证 提交 9569777b 编写于 作者: M Michael Herzog 提交者: GitHub

Update webgl_furnace_test.html

上级 42ad7c81
......@@ -111,6 +111,7 @@
const envScene = new THREE.Scene();
envScene.background = new THREE.Color( COLOR );
if ( renderer.outputEncoding === THREE.sRGBEncoding ) envScene.background.convertSRGBToLinear();
const pmremGenerator = new THREE.PMREMGenerator( renderer );
radianceMap = pmremGenerator.fromScene( envScene ).texture;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册