|
@@ -18,7 +18,7 @@
|
|
|
|
|
|
<h2>Example</h2>
|
|
<h2>Example</h2>
|
|
|
|
|
|
-<code>var light = new THREE.AmbientLight( 0xff0000 );
|
|
|
|
|
|
+<code>var light = new THREE.AmbientLight( 0x404040 ); // soft white light
|
|
scene.add( light );</code>
|
|
scene.add( light );</code>
|
|
|
|
|
|
will light objects with red.
|
|
will light objects with red.
|