Command Palette

Search for a command to run...

Hectal
Phase 5: Materials, Light and Shadow
3D Web · Exercise 5 of 5 Previous
Intermediate

Light the stand like the showroom

Build a small version of the showroom's lighting. Add a DirectionalLight named key-light that casts a shadow with a 1024 × 1024 map, and a HemisphereLight fill.

Make the group named fork (already there) cast a shadow onto the stand, and let the stand receive it. Turn on shadows in the renderer and set NeutralToneMapping.

What Check tests

  1. A key-light with a 1024 x 1024 shadow
  2. There is a hemisphere fill
  3. The renderer draws shadows with Neutral tone mapping
  4. The fork's meshes cast and the stand receives
  5. The shadow pass draws: at least 3 draw calls

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.