Hacker News new | ask | show | jobs
by triclops200 2816 days ago
There's a bug in the lambert code:

    var lightPoint = scene.lights[0];
this should be

    var lightPoint = scene.lights[i];