Shader Learn

11 GPU quirks

Common operations at a glance

A grey gradient is the input. Switch operations and see how each changes it.

0.15

Runs once per pixelDrag numbers, or edit the code

abs, clamp, pow, floor, min, max: bend a straight 0–1 line into the shape you need.

Try it

  • Switch through the operations
  • Open the pixel debugger and read x and result