Command Palette

Search for a command to run...

Hectal
Phase 6: Textures and Environments
3D Web · Exercise 1 of 4Next
Beginner

Fix the washed-out photo

The plane photo shows a concrete photo that looks pale and flat. Fix it with one line, so three.js reads the picture as the sRGB colours it holds.

Keep a single texture in memory.

What Check tests

  1. A mesh named photo has a colour map
  2. The map's colorSpace is srgb
  3. Only one texture is in memory

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.