mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 01:38:44 +00:00
updated lighting.
This commit is contained in:
1 parent
38c4e46e36
commit
654b629f10
1 file changed
+1
-1
@@ -183,7 +183,7 @@ class Scene {
|
||||
|
||||
_create_base_lighting() {
|
||||
const color = 0xFCECE7;
|
||||
const light = new THREE.AmbientLight(color, 0.8);
|
||||
const light = new THREE.HemisphereLight(color, 0x8d8d8d, 3.5);
|
||||
this.scene.add(light);
|
||||
|
||||
const directional_light = new THREE.DirectionalLight(color, 3.5);
|
||||
|
||||
Reference in new issue
Block a user