style: adjust tire material properties and update 3D model positioning in HeroBackground3D

This commit is contained in:
sazzadulalambd
2026-06-22 16:58:46 +06:00
parent eb38a01976
commit 7976d1375a

View File

@@ -63,9 +63,9 @@ function AeroxModel() {
metalness: 0.9, metalness: 0.9,
}); });
const tireMat = new THREE.MeshStandardMaterial({ const tireMat = new THREE.MeshStandardMaterial({
color: '#0f172a', color: '#111111',
roughness: 0.8, roughness: 0.9,
metalness: 0.15, metalness: 0.1,
}); });
clone.traverse((child) => { clone.traverse((child) => {
@@ -95,7 +95,7 @@ function AeroxModel() {
return ( return (
<Float speed={1.2} rotationIntensity={0.1} floatIntensity={0.3}> <Float speed={1.2} rotationIntensity={0.1} floatIntensity={0.3}>
<group ref={group} rotation={[0, -0.5, 0]} position={[0, -0.1, 0]}> <group ref={group} rotation={[0, -0.5, 0]} position={[2.5, -0.1, -1]}>
<primitive object={model} /> <primitive object={model} />
</group> </group>
</Float> </Float>