glsl-ascii-filter
A simple ASCII post-processing effect in GLSL, original here by @movAX13h.
# asciiFilter = require('glsl-ascii-filter') void
Best rendered with retina scaling for crisp edges.
Usage
float asciiFilter(vec3 color, vec2 uv[, float pixelSize])
Applies an ASCII-like filter to the given pixel color
based on the current screen uv
texcoords. The pixelSize
(defaults to 0.04
) can be used to scale the characters.
License
MIT, see LICENSE.md for details.