Ambient occlusion capable shader for ao-mesher


Shader for use with ao-mesher.

Check it out in your browser.

npm install ao-shader

Creates a shader in the WebGL context.

  • gl is the WebGL context to create the shader in

Returns A GLShader object which wraps a WebGL program

#Credits (c) 2013 Mikola Lysenko. MIT License