Browse Source

clean up lightmap example to make it look more attractive with normal lighting.

Ben Houston 10 years ago
parent
commit
2d218c6402
1 changed files with 3 additions and 5 deletions
  1. 3 5
      examples/webgl_materials_lightmap.html

+ 3 - 5
examples/webgl_materials_lightmap.html

@@ -100,15 +100,13 @@
 
 				// LIGHTS
 
-				var directionalLight = new THREE.DirectionalLight( 0x333333, 1.475 );
+				var directionalLight = new THREE.DirectionalLight( 0x333333, 2 );
 				directionalLight.position.set( 100, 100, -100 );
 				scene.add( directionalLight );
 
 
-				var hemiLight = new THREE.HemisphereLight( 0x333333, 0x333333, 1.25 );
-				hemiLight.color.setHSL( 0.6, 1, 0.375 );
-				hemiLight.groundColor.setHSL( 0.1, 0.8, 0.35 );
-		
+				var hemiLight = new THREE.HemisphereLight( 0xaabbff, 0x040404, 1 );
+
 				hemiLight.position.y = 500;
 				scene.add( hemiLight );