فهرست منبع

improve settings for light map example now that lightMap is properly modulated and additive.

Ben Houston 10 سال پیش
والد
کامیت
487e008ed5
1فایلهای تغییر یافته به همراه5 افزوده شده و 4 حذف شده
  1. 5 4
      examples/webgl_materials_lightmap.html

+ 5 - 4
examples/webgl_materials_lightmap.html

@@ -100,14 +100,15 @@
 
 				// LIGHTS
 
-				var directionalLight = new THREE.DirectionalLight( 0xffffff, 1.475 );
+				var directionalLight = new THREE.DirectionalLight( 0x333333, 1.475 );
 				directionalLight.position.set( 100, 100, -100 );
 				scene.add( directionalLight );
 
 
-				var hemiLight = new THREE.HemisphereLight( 0xffffff, 0xffffff, 1.25 );
-				hemiLight.color.setHSL( 0.6, 1, 0.75 );
-				hemiLight.groundColor.setHSL( 0.1, 0.8, 0.7 );
+				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 );
+		
 				hemiLight.position.y = 500;
 				scene.add( hemiLight );