Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

glsl-noise

webgl-noise shaders ported to work with glslify

Subscribe to updates I use glsl-noise


Statistics on glsl-noise

Number of watchers on Github 70
Number of open issues 1
Main language GLSL
Average time to merge a PR 1 day
Open pull requests 0+
Closed pull requests 0+
Last commit almost 4 years ago
Repo Created about 6 years ago
Repo Last Updated over 1 year ago
Size 10 KB
Organization / Authorhughsk
Contributors2
Page Updated
Do you use glsl-noise? Leave a review!
View glsl-noise activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating glsl-noise for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

glsl-noise frozen

webgl-noise ported to an NPM package so that you can require it from glslify.

glsl-noise

Usage

// Require as many or as little as you need:
#pragma glslify: snoise2 = require(glsl-noise/simplex/2d)
#pragma glslify: snoise3 = require(glsl-noise/simplex/3d)
#pragma glslify: snoise4 = require(glsl-noise/simplex/4d)
#pragma glslify: cnoise2 = require(glsl-noise/classic/2d)
#pragma glslify: cnoise3 = require(glsl-noise/classic/3d)
#pragma glslify: cnoise4 = require(glsl-noise/classic/4d)
#pragma glslify: pnoise2 = require(glsl-noise/periodic/2d)
#pragma glslify: pnoise3 = require(glsl-noise/periodic/3d)
#pragma glslify: pnoise4 = require(glsl-noise/periodic/4d)

attribute vec3 position;

// And just treat them as functions like
// you normally would:
void main() {
  gl_FragColor = vec4(snoise3(position), 1.0);
}
glsl-noise open issues Ask a question     (View All Issues)
  • over 4 years Multiple argument types
glsl-noise questions on Stackoverflow (View All Questions)
  • GLSL noise function on devices with no high precision fragment shader
glsl-noise list of languages used
Other projects in GLSL