Shader Learn

04 Textures and noise

fbm: noise in layers

Double the frequency, halve the amplitude, add a few layers; then warp the coordinates with noise.

18
0.20.8
04

Runs once per pixelDrag numbers, or edit the code

JS sidegl.uniform1f(uTime, 0.00)

fbm adds layers of noise, each with double the frequency and half the amplitude, giving natural textures like clouds, mountains and marble.

Try it

  • Raise the octaves from 1 to 8
  • Add more warp so the noise starts to “flow”