|
@@ -86,9 +86,13 @@
|
|
|
|
|
|
//
|
|
|
|
|
|
- var ambientLight = new THREE.AmbientLight( 0xcccccc );
|
|
|
+ var ambientLight = new THREE.AmbientLight( 0xffffff, 0.2 );
|
|
|
scene.add( ambientLight );
|
|
|
|
|
|
+ var directionalLight = new THREE.DirectionalLight( 0xffffff, 0.8 );
|
|
|
+ directionalLight.position.set( 1, 1, - 1 );
|
|
|
+ scene.add( directionalLight );
|
|
|
+
|
|
|
//
|
|
|
|
|
|
renderer = new THREE.WebGLRenderer( { antialias: true } );
|