Pure GLSL 4-Color Bayer Ordered Dither Fluid Shader (Free HTML Download)
Explore the shader math behind Dither Tide—our free commercial 4-color ordered Bayer dithering fluid background—and see how to drop it behind any SaaS or AI hero section.
Why Ordered Bayer Dithering Beats Generic Mesh Gradients
Every AI landing page today uses the same blurred CSS blob gradient. Ordered Bayer dithering introduces crisp tactile pixel structure—evoking Swiss printmaking and retro hardware displays while still reacting organically to pointer movement.
Because Bayer matrix thresholds evaluate in O(1) inside a single fragment shader pass with zero external textures, GPU cost stays minimal even on integrated laptop GPUs and mobile screens.
Core GLSL Architecture Inside Dither Tide
- Dual-Octave Domain-Warped Fluid Field: Simplex/value noise layered with damped pointer velocity vectors creates smooth liquid currents without expensive multi-pass Navier-Stokes FBO chains.
- 4×4 / 8×8 Bayer Threshold Matrix: Normalizes luminance across 4 curated brand palette stops, snapping subtle tonal gradients into razor-sharp retro halftone clusters.
- Zero-Dependency Drop-In Canvas: Works as a full-bleed fixed background layer behind editorial typography, supporting instant dark/light palette presets.
Download Free & Customize in Under 2 Minutes
Dither Tide is part of Motion3D's permanent Free Commercial Library ($0). Open the live interactive preview to test cursor perturbation and palette switches, then unlock the standalone ZIP and GLSL shader source for free—or explore Torus and Particle Loom for advanced GPU dot-matrix and 36K particle systems.
Frequently Asked Questions
Is the Dither Tide WebGL shader completely free for commercial websites?
Yes. Dither Tide (along with Maren Treasury Desk, Solaia Louvre Dimmer, and Cairn Vault Seal) is 100% free to download and use in commercial projects under the Motion3D Commercial License.
Does the GLSL shader require Three.js or npm build tools?
The standalone ZIP runs immediately via native HTML5 WebGL with zero bundler required, and you can also drop the fragment shader straight into React Three Fiber, Next.js, or Astro.