Command Palette

Search for a command to run...

Hectal
Phase 13: WebGPU, TSL and Node Materials
3D Web · Exercise 2 of 3 PreviousNext
Advanced

Stripes in one line of TSL

Give the plane 8 vertical stripes, Lumen blue and Lumen orange, by building its colorNode from uv, fract, step, mix and color.

What Check tests

  1. The plane uses a node material with a colorNode
  2. Both colours appear across the middle of the plane

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.