on crafting painterly shaders
Maxime Heckel · 2024
painterly rendering in webgl, built up from first principles with a live sandbox at every step
maxime heckel's essay on building shaders that mimic paint, watercolor, and aquarelle
what i notice
- the kuwahara filter (and its anisotropic version) does most of the work: edge-preserving blur that turns detail into brushy patches of color
- the three things that sell paint: no fine texture or normal detail, preserved edges, quantized color
- every step has a runnable sandbox, so the effect is reproducible, not just admirable
- the orange tree and cloud renders read as paintings, not filtered photos