Browse Source

Examples: Updated ammo and rapier instancing examples.

Mr.doob 2 years ago
parent
commit
39936f7ec1

+ 2 - 2
examples/physics_ammo_instancing.html

@@ -56,7 +56,7 @@
 				scene.background = new THREE.Color( 0x666666 );
 
 				const hemiLight = new THREE.HemisphereLight();
-				hemiLight.intensity = 0.35;
+				hemiLight.intensity = 0.3;
 				scene.add( hemiLight );
 
 				const dirLight = new THREE.DirectionalLight();
@@ -67,7 +67,7 @@
 
 				const floor = new THREE.Mesh(
 					new THREE.BoxGeometry( 10, 5, 10 ),
-					new THREE.ShadowMaterial( { color: 0x111111 } )
+					new THREE.ShadowMaterial( { color: 0x444444 } )
 				);
 				floor.position.y = - 2.5;
 				floor.receiveShadow = true;

+ 2 - 2
examples/physics_rapier_instancing.html

@@ -54,7 +54,7 @@
 				scene.background = new THREE.Color( 0x666666 );
 
 				const hemiLight = new THREE.HemisphereLight();
-				hemiLight.intensity = 0.35;
+				hemiLight.intensity = 0.3;
 				scene.add( hemiLight );
 
 				const dirLight = new THREE.DirectionalLight();
@@ -65,7 +65,7 @@
 
 				const floor = new THREE.Mesh(
 					new THREE.BoxGeometry( 10, 5, 10 ),
-					new THREE.ShadowMaterial( { color: 0x111111 } )
+					new THREE.ShadowMaterial( { color: 0x444444 } )
 				);
 				floor.position.y = - 2.5;
 				floor.receiveShadow = true;

BIN
examples/screenshots/physics_ammo_instancing.jpg


BIN
examples/screenshots/physics_rapier_instancing.jpg