Command Palette

Search for a command to run...

Hectal
Phase 6: Textures and Environments
3D Web · Exercise 2 of 4 PreviousNext
Intermediate

Chrome that reflects

The ball chrome has metalness: 1 and is black with a single highlight. Give the scene an environment so the ball reflects a room.

Use the built-in RoomEnvironment (no file needed), prepared with PMREMGenerator.

What Check tests

  1. The scene has an environment
  2. The environment is prepared (CubeUV mapping)
  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.