|
@@ -88,8 +88,8 @@
|
|
|
camera.position.set( 4.25, 1.4, - 4.5 );
|
|
|
|
|
|
controls = new OrbitControls( camera, container );
|
|
|
- controls.enableDamping = true;
|
|
|
controls.maxDistance = 9;
|
|
|
+ controls.maxPolarAngle = THREE.MathUtils.degToRad( 90 );
|
|
|
controls.target.set( 0, 0.5, 0 );
|
|
|
controls.update();
|
|
|
|
|
@@ -108,7 +108,7 @@
|
|
|
// materials
|
|
|
|
|
|
const bodyMaterial = new THREE.MeshPhysicalMaterial( {
|
|
|
- color: 0xff0000, metalness: 1.0, roughness: 0.5, clearcoat: 1.0, clearcoatRoughness: 0.03, sheen: 0.5
|
|
|
+ color: 0xff0000, metalness: 1.0, roughness: 0.5, clearcoat: 1.0, clearcoatRoughness: 0.03
|
|
|
} );
|
|
|
|
|
|
const detailsMaterial = new THREE.MeshStandardMaterial( {
|