All examples · Shaders and post

Shader effects II

What this example shows

A second batch, built on sampleTexture(uv): glitch tears, swirl, a 5×5 box blur (sampling in a loop), water ripples, CRT barrel warp, Sobel edge detection, old-film grain and a kaleidoscope.

Each is one fn effect(color, uv) in createMaterial, all animating from mu.time.

Starting