Skip to content

Commit

Permalink
Examples: Updated ammo and rapier instancing examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Apr 22, 2023
1 parent 2673ebf commit 39936f7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/physics_ammo_instancing.html
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions examples/physics_rapier_instancing.html
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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;
Expand Down
Binary file modified examples/screenshots/physics_ammo_instancing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/screenshots/physics_rapier_instancing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 39936f7

Please sign in to comment.