From 938b18793dd6135b7286141b2c9ec8cd68433c06 Mon Sep 17 00:00:00 2001
From: Amanda Ghassaei <amandaghassaei@gmail.com>
Date: Tue, 4 Aug 2015 13:54:43 -0400
Subject: [PATCH] lighting

---
 js/three/ThreeModel.js | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/js/three/ThreeModel.js b/js/three/ThreeModel.js
index 4c5bf8c6..faeb0df8 100644
--- a/js/three/ThreeModel.js
+++ b/js/three/ThreeModel.js
@@ -33,14 +33,25 @@ define(['underscore', 'three'], function(_, THREE){
 //        scene.fog = new THREE.FogExp2(fogColor, 0.001);
 
         // lights
-        var light = new THREE.DirectionalLight(0xffffff);
-        light.position.set(1, 1, 1);
+        var color = 0x888888;
+        var light = new THREE.DirectionalLight(color);
+        light.position.set(0, 10, 0);
         scene.add(light);
-        light = new THREE.DirectionalLight(0xaaaaaa);
+        var light = new THREE.DirectionalLight(color);
+        light.position.set(0, -10, 0);
+        scene.add(light);
+        var light = new THREE.DirectionalLight(color);
+        light.position.set(0, 0, 300);
+        scene.add(light);
+        var light = new THREE.DirectionalLight(0xaaaaaa);
         light.position.set(-1, -1, -1);
         scene.add(light);
-        light = new THREE.AmbientLight(0x222222);
+        var light = new THREE.DirectionalLight(0xaaaaaa);
+        light.position.set(1, 1, -1);
+        scene.add(light);
+        var light = new THREE.AmbientLight(0x222222);
         scene.add(light);
+        
 
         // renderer
         renderer.setClearColor(fogColor, 1);
-- 
GitLab