Skip to content
Snippets Groups Projects
Commit 8c8adf24 authored by amandaghassaei's avatar amandaghassaei
Browse files

better lighting

parent da6febfa
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ function ThreeModel(){ ...@@ -29,7 +29,7 @@ function ThreeModel(){
var light = new THREE.DirectionalLight(0xffffff); var light = new THREE.DirectionalLight(0xffffff);
light.position.set(1, 1, 1); light.position.set(1, 1, 1);
scene.add(light); scene.add(light);
light = new THREE.DirectionalLight(0x002288); light = new THREE.DirectionalLight(0xaaaaaa);
light.position.set(-1, -1, -1); light.position.set(-1, -1, -1);
scene.add(light); scene.add(light);
light = new THREE.AmbientLight(0x222222); light = new THREE.AmbientLight(0x222222);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment