hughsk / glsl-noise

webgl-noise shaders ported to work with glslify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple argument types

hughsk opened this issue · comments

#pragma glslify: snoise2 = require('glsl-noise/simplex/2d')
#pragma glslify: snoise3 = require('glsl-noise/simplex/3d')
#pragma glslify: snoise4 = require('glsl-noise/simplex/4d')

Could also be made available like so:

#pragma glslify: snoise = require('glsl-noise/simplex')