Project 6: Material Finish Demo
3D Engineer
Builds on these lessons
Step 1 of 2
Project
Roughness & Metalness
meshStandardMaterial is physically-based: roughness controls how matte vs. glossy a surface looks, and metalness controls how metallic it looks.
🎯 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.8} />
<mesh>
<sphereGeometry args={[1, 32, 32]} />
<meshStandardMaterial color="silver" roughness={0.2} metalness={0.9} />
</mesh>
</Canvas>
);
}