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

Merge pull request #17236 from Mugen87/dev33

Examples: Clean up
......@@ -100,6 +100,8 @@
renderer.setSize( SCREEN_WIDTH, SCREEN_HEIGHT );
container.appendChild( renderer.domElement );
renderer.gammaOutput = true;
renderer.gammaFactor = 2.2;
renderer.autoClear = false;
//
......@@ -137,7 +139,7 @@
// GROUND
var geometry = new THREE.PlaneBufferGeometry( 100, 100 );
var planeMaterial = new THREE.MeshPhongMaterial( { color: 0xffdd99 } );
var planeMaterial = new THREE.MeshPhongMaterial( { color: 0xffb851 } );
var ground = new THREE.Mesh( geometry, planeMaterial );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册