Procházet zdrojové kódy

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

Ben Houston před 10 roky
rodič
revize
37f1361fcd
1 změnil soubory, kde provedl 1 přidání a 6 odebrání
  1. 1 6
      examples/webgl_materials_lightmap.html

+ 1 - 6
examples/webgl_materials_lightmap.html

@@ -100,12 +100,7 @@
 
 				// 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;
 				scene.add( hemiLight );