Przeglądaj źródła

Docs: AmbientLight hint as suggested by @WestLangley. Closes #2872.

Mr.doob 13 lat temu
rodzic
commit
a7d5acf09e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      docs/api/lights/AmbientLight.html

+ 1 - 1
docs/api/lights/AmbientLight.html

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