Command Palette

Search for a command to run...

Hectal
Phase 5: Materials, Light and Shadow
3D Web · Exercise 2 of 5 PreviousNext
Beginner

Make a white plate mid-grey

A white MeshLambertMaterial plate faces a directional light of intensity π, so its middle is full white.

Change one number so the middle of the plate is a mid-grey: a red value between 140 and 165 on screen.

What Check tests

  1. The light is still a directional light named light
  2. The middle of the plate is mid-grey (140 to 165)

Stuck? One hint at a time

The solution unlocks after your first Check. Try first: that is where the learning happens.

Runs in your browser. Your code is saved here.

Your page

Press Run to see the page.

Console

Nothing logged yet.