ソースを参照

update lightMap example scene to reduce lighting now that lightMap is truly additive.

Ben Houston 10 年 前
コミット
37f1361fcd
1 ファイル変更1 行追加6 行削除
  1. 1 6
      examples/webgl_materials_lightmap.html

+ 1 - 6
examples/webgl_materials_lightmap.html

@@ -100,12 +100,7 @@
 
 
 				// LIGHTS
 				// LIGHTS
 
 
-				var directionalLight = new THREE.DirectionalLight( 0x333333, 2 );
-				directionalLight.position.set( 100, 100, -100 );
-				scene.add( directionalLight );
-
-
-				var hemiLight = new THREE.HemisphereLight( 0xaabbff, 0x040404, 1 );
+				var hemiLight = new THREE.HemisphereLight( 0xaabbff, 0x040404, 0.5 );
 
 
 				hemiLight.position.y = 500;
 				hemiLight.position.y = 500;
 				scene.add( hemiLight );
 				scene.add( hemiLight );