Pārlūkot izejas kodu

Examples: Clean up. (#24942)

Michael Herzog 2 gadi atpakaļ
vecāks
revīzija
82a865f101

BIN
examples/screenshots/webgl_materials_normalmap.jpg


BIN
examples/screenshots/webgl_shadowmap_pointlight.jpg


+ 1 - 1
examples/webgl_materials_normalmap.html

@@ -79,7 +79,7 @@
 				ambientLight = new THREE.AmbientLight( 0x444444 );
 				ambientLight = new THREE.AmbientLight( 0x444444 );
 				scene.add( ambientLight );
 				scene.add( ambientLight );
 
 
-				pointLight = new THREE.PointLight( 0xffffff, 1.25, 1000 );
+				pointLight = new THREE.PointLight( 0xffffff, 2, 1000 );
 				pointLight.position.set( 0, 0, 600 );
 				pointLight.position.set( 0, 0, 600 );
 
 
 				scene.add( pointLight );
 				scene.add( pointLight );

+ 1 - 1
examples/webgl_shadowmap_pointlight.html

@@ -50,7 +50,7 @@
 
 
 				function createLight( color ) {
 				function createLight( color ) {
 
 
-					const intensity = 1.5;
+					const intensity = 2;
 
 
 					const light = new THREE.PointLight( color, intensity, 20 );
 					const light = new THREE.PointLight( color, intensity, 20 );
 					light.castShadow = true;
 					light.castShadow = true;