diff --git a/physijs/tests/jenga.ts b/physijs/tests/jenga.ts index e2eeecc94..77b9c6cd6 100644 --- a/physijs/tests/jenga.ts +++ b/physijs/tests/jenga.ts @@ -85,7 +85,7 @@ initScene = function() { // Materials table_material = Physijs.createMaterial( - new THREE.MeshLambertMaterial({ map: THREE.ImageUtils.loadTexture( 'images/wood.jpg' ), ambient: 0xFFFFFF }), + new THREE.MeshLambertMaterial({ map: THREE.ImageUtils.loadTexture( 'images/wood.jpg' ) }), .9, // high friction .2 // low restitution ); @@ -93,7 +93,7 @@ initScene = function() { table_material.map.repeat.set( 5, 5 ); block_material = Physijs.createMaterial( - new THREE.MeshLambertMaterial({ map: THREE.ImageUtils.loadTexture( 'images/plywood.jpg' ), ambient: 0xFFFFFF }), + new THREE.MeshLambertMaterial({ map: THREE.ImageUtils.loadTexture( 'images/plywood.jpg' ) }), .4, // medium friction .4 // medium restitution );