Components / Dither shader

Dither Shader

A WebGL-powered dithering shader component built with Three.js. Supports procedural noise, waves, and patterns.

Interactive Playground

Configure the shape, scale, and dithering style of the WebGL material.

#ED00B5
#000000

MayaDitherShader Props API

Prop / EventTypeDefaultDescription
shapeString"simplex"The pattern shape: simplex, warp, dots, wave, ripple, swirl, sphere.
typeString"8x8"The Bayer matrix dithering level: random, 2x2, 4x4, 8x8.
sizeNumber3Pixel size of the dithering grid grid (1–10 recommended).
fitString"none"Fit mode inside the canvas: none, contain, cover.
scaleNumber1Overall zoom/scale multiplier.
speedNumber1Animation speed multiplier.
colorFrontString"#ED00B5"Foreground (ink) color in CSS hex format.
colorBackString"#000000"Background color in CSS hex format.
rotationNumber0Rotation in degrees (0–360).