0.0.0 • Published 10 years ago

gl-shader-update v0.0.0

Weekly downloads
16
License
MIT
Repository
github
Last release
10 years ago

gl-shader-update experimental

Update the vertex/fragment sources of a shader instance created by gl-shader, gl-shader-core or glslify.

Usage

NPM

update.vert(shader, source)

Replace shader's current vertex shader with source.

update.frag(shader, source)

Replace shader's current fragment shader with source.

License

MIT. See LICENSE.md for details.