Command Palette

Search for a command to run...

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

Make the chrome ball shine

The chrome ball has metalness: 1 and one AmbientLight, and it is black.

Give the scene an environment (use RoomEnvironment with a PMREMGenerator) so the ball reflects something.

What Check tests

  1. The scene has an environment
  2. The ball is still full metal
  3. The middle of the ball is no longer black

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.