提交 3b8b2fac 编写于 作者: W WestLangley

Added tonemapping

上级 7e0a78be
......@@ -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.
先完成此消息的编辑!
想要评论请 注册