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
- A mesh named photo has a colour map
- The map's colorSpace is srgb
- 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.