Image Dithering · Retro
Animated WebGL shader background in the Image Dithering style. Retro variant. Generated by the 21st.dev Shader Builder. Adapted from Paper Shaders under Apache-2.0. 4-color palette (#EAFF94, #FFFFFF, #000C38, #94FFAF). A drop-in, zero-dependency React component for hero sections and animated gradient/noise backgrounds.
ShaderShader BackgroundWebGLImage DitheringPaperAnimatedBackgroundHeroHero BackgroundAnimationAnimated BackgroundNoiseTextureRetro
precision highp float;
uniform vec2 u_resolution;
uniform float u_time;
uniform vec3 u_colors[4];
vec3 shade(vec2 uv, vec2 p, float t) {
// ····· ··· ···· ·· ······· ····· ·· ·····
float v = fbm(p * ····· + t * ····);
return palette(0.5 + 0.5 * sin(v + ·····));
}