Project 18: Multi-Material Scene
3D Engineer
Step 1 of 2
Project
Review: Geometries & Materials
Combine multiple geometry types with different material properties in one scene.
🎯 Your Task
Please add the exact code shown in the light gray box below to your editor.Do not delete your previous code, just insert these new lines in the correct place!
export default function Scene() {
return (
<Canvas>
<ambientLight intensity={0.7} />
<mesh position={[-1.5, 0, 0]}>
<boxGeometry args={[1, 1, 1]} />
<meshStandardMaterial color="silver" roughness={0.2} metalness={0.8} />
</mesh>
<mesh position={[1.5, 0, 0]}>
<sphereGeometry args={[0.7, 32, 32]} />
<meshStandardMaterial color="crimson" wireframe />
</mesh>
</Canvas>
);
}