simple-2d-shader
A 2D webgl shader with a varying color attribute
TODO: Need to add more documentation and extra configuration stuff
Example
Try this example in your browser
var shell = var createBuffer = var createSimpleShader = var shader buffer shell shell
Here is a screen shot:
Install
npm install simple-2d-shader
API
var shader = require("simple-2d-shader")(gl)
Creates a simple 2D shader
Credits
(c) 2013 Mikola Lysenko. MIT License