ao-shader
ao-shader copied to clipboard
Ambient occlusion shader for ao-mesher
ao-shader
Shader for use with ao-mesher.
Example
To run the example locally
npm install && npm start
Install
npm install ao-shader
var shader = require("ao-shader")(gl)
Creates a shader in the WebGL context.
glis the WebGL context to create the shader in
Returns A GLShader object which wraps a WebGL program
#Credits (c) 2013 Mikola Lysenko. MIT License