Examples Filter Shader (GLSL)

Filter Shader (GLSL)

Filter shaders are a way to apply an effect to anything that is on the canvas. In this example, the effect is applied to a video.

Creative Commons BY-NC-SA license badge

Filter Shader (GLSL): Creared by Dave Pagurek. Edited and maintained by p5.js Contributors and Processing Foundation. Licensed under CC BY-NC-SA 4.0.

You can find the code history of these examples here: 2023 code. You can suggest improvements by contributing to the current website!