senchalabs / philogl

A WebGL Framework for Data Visualization, Creative Coding and Game Development
http://senchalabs.github.com/philogl/
MIT License
806 stars 154 forks source link

LIGHT_MAX bug #6

Closed philogb closed 13 years ago

philogb commented 13 years ago

Make sure you exit the shader light for-loop if the index exceeds the number of lights set.