Shader for use with ao-mesher.
npm install ao-shader
var shader = require("ao-shader")(gl)
Creates a shader in the WebGL context.
gl
is the WebGL context to create the shader inReturns A GLShader
object which wraps a WebGL program
#Credits (c) 2013 Mikola Lysenko. MIT License
Version | Tag | Published |
---|---|---|
0.3.0 | latest | 8yrs ago |