未验证 提交 f8f269ee 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #17377 from WestLangley/dev_clearcoat_tonemapping

Clearcoat Example: Added tone mapping
......@@ -66,6 +66,7 @@
var textureLoader = new THREE.TextureLoader();
var diffuse = textureLoader.load( "textures/carbon/Carbon.png" );
diffuse.encoding = THREE.sRGBEncoding;
diffuse.wrapS = THREE.RepeatWrapping;
diffuse.wrapT = THREE.RepeatWrapping;
diffuse.repeat.x = 10;
......@@ -183,7 +184,11 @@
//
renderer.gammaInput = true;
renderer.toneMapping = THREE.ACESFilmicToneMapping;
renderer.toneMappingExposure = 1;
//
renderer.gammaOutput = true;
//
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册