Project 8: Scene Lighting Demo
3D Engineer
Builds on these lessons
Step 1 of 2
Project
Ambient Light Alone
ambientLight lights every surface equally from all directions — with only a dim one, shapes look flat with no shading.
🎯 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.3} />
<mesh>
<boxGeometry args={[1, 1, 1]} />
<meshStandardMaterial color="orange" />
</mesh>
</Canvas>
);
}