This commit is contained in:
+2
-2
@@ -8,14 +8,14 @@ RectAreaLightUniformsLib.init();
|
||||
* Базовый свет сцены (Ambient + Directional)
|
||||
*/
|
||||
export function setupLights(scene) {
|
||||
const ambient = new THREE.AmbientLight(0xffffff, 0.8);
|
||||
const ambient = new THREE.AmbientLight(0xffffff, 0.3);
|
||||
scene.add(ambient);
|
||||
|
||||
const key = new THREE.DirectionalLight(0xffffff, 0.2);
|
||||
key.position.set(0, 0, 0);
|
||||
scene.add(key);
|
||||
|
||||
const fill = new THREE.DirectionalLight(0xffffff, 0.2);
|
||||
const fill = new THREE.DirectionalLight(0xffffff, 0.5);
|
||||
fill.position.set(0, 0, 0);
|
||||
scene.add(fill);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user