toji/webgl-source — Issue #2: Diffuse lighting seems to be broken.
Author: jbauman42
Created: 2011-10-19 06:12:22+00:00
State: open

Looking at the demo, it seems that diffuse lighting is either 0 or 1, not in between. It seems like there's an issue with tangentLightDir in the vertex shader, as the y and z components are always 0.