🚀 LEVEL UP TO SENIOR:Unlock 500+ Advanced Practical Challenges & Exercises.
🎓 COURSERA PARTNER:Earn professional Google, Meta, and IBM certificates to supercharge your resume.

Project 20: Lit Product Cards Scene

3D Engineer
Step 1 of 2
Project

Review: Meshes & Lighting

Lay out three box meshes like pricing cards, lit with ambient and directional light.

🎯 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.4} />
      <directionalLight position={[3, 4, 2]} intensity={1} />
      <mesh position={[-2, 0, 0]}>
        <boxGeometry args={[1, 1.5, 0.2]} />
        <meshStandardMaterial color="lightgray" />
      </mesh>
      <mesh position={[0, 0, 0]}>
        <boxGeometry args={[1, 1.5, 0.2]} />
        <meshStandardMaterial color="gold" />
      </mesh>
      <mesh position={[2, 0, 0]}>
        <boxGeometry args={[1, 1.5, 0.2]} />
        <meshStandardMaterial color="lightgray" />
      </mesh>
    </Canvas>
  );
}