justahero/webgl-cafe — pull request #8 by justahero (2014-09-21 20:59:34+00:00)
Title: Add Light classes to Cafe lib

Adds classes for ambient and basic directional lights.

* directional light is set as input for vertex shader
* ambient color is set as input argument for shader