2
0
Эх сурвалжийг харах

update physica2 variations to emphasize the envmap diffuse

Ben Houston 9 жил өмнө
parent
commit
9598f34439

+ 4 - 4
examples/webgl_materials_variations_physical2.html

@@ -161,11 +161,11 @@
 
 				// Lights
 
-				scene.add( new THREE.AmbientLight( 0x222222 ) );
+				//scene.add( new THREE.AmbientLight( 0x222222 ) );
 
-				var directionalLight = new THREE.DirectionalLight( 0xffffff, 1 );
-				directionalLight.position.set( 1, 1, 1 ).normalize();
-				scene.add( directionalLight );
+				//var directionalLight = new THREE.DirectionalLight( 0xffffff, 1 );
+				//directionalLight.position.set( 1, 1, 1 ).normalize();
+				//scene.add( directionalLight );
 
 				var pointLight = new THREE.PointLight( 0xffffff, 2, 800 );
 				particleLight.add( pointLight );