Command Palette

Search for a command to run...

Hectal
Phase 12: Shaders with GLSL
3D Web · Exercise 3 of 5 PreviousNext
Advanced

Unfreeze a uniform

The plane should turn from black to white once a second (fract(uTime)), but it never changes. Find why and fix it without changing the shaders.

What Check tests

  1. The shader uses uTime
  2. The picture changes over time

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.