Skip to main content
100%

Gist f05cafe1da03a8d334462f2fa63825f4

✓ Published0🌍 Public
Aandybak
Last edited Aug 31, 2020
Created on Aug 31, 2020

This shader effect creates a flowing, directional distortion of an input texture by sampling it multiple times around each pixel. It computes eight rotated sample offsets, gathers luminance from both inner and outer rings, and accumulates a motion vector that steers the final texture lookup. The result is a smeared, energy-driven displacement that makes the image appear to shift and swirl based on its own brightness. The implementation uses GLSL in Shadertoy’s `mainImage` function, relying on `texture` calls to `iChannel0` and arithmetic on normalized pixel coordinates (`fragCoord` and `iResolution.xy`).

AI-generated description

Similar vizzes