|
@@ -89,7 +89,7 @@ les détails des lumières ponctuelles, mais pour l'instant, la version simple e
|
|
|
représente la lumière qui émane d'un point unique.</p>
|
|
représente la lumière qui émane d'un point unique.</p>
|
|
|
<pre class="prettyprint showlinemods notranslate lang-js" translate="no">{
|
|
<pre class="prettyprint showlinemods notranslate lang-js" translate="no">{
|
|
|
const color = 0xFFFFFF;
|
|
const color = 0xFFFFFF;
|
|
|
- const intensity = 3;
|
|
|
|
|
|
|
+ const intensity = 500;
|
|
|
const light = new THREE.PointLight(color, intensity);
|
|
const light = new THREE.PointLight(color, intensity);
|
|
|
scene.add(light);
|
|
scene.add(light);
|
|
|
}
|
|
}
|