2d and 3d Voronoi noise functions, packed for glslify
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
2d.glsl inital commit Jan 28, 2018
3d.glsl the formatting was breaking the build Feb 5, 2018
LICENSE inital commit Jan 28, 2018
README.md Update README.md Jan 28, 2018
package.json the formatting was breaking the build Feb 5, 2018

README.md

glsl-voronoi-noise

Voronoi noise, packed for glslify

   
example 2d output example 3d output

usage:

precision mediump float;
#pragma glslify: voronoi3d = require('glsl-voronoi-noise/3d')

varying vec2 uv;
uniform float t;

void main() {
    gl_FragColor.rgb = voronoi3d(vec3(uv, t));  
    gl_FragColor.a   = 1.0;
}

See also: glsl-worley

Implementations from Shawn Lawson