jacquesh/project-grige — pull request #3 by jacquesh (2014-01-17 19:54:38+00:00)
Title: Light system bug fixes

Moved some OpenGL calls that took place outside of the opengl events (and therefore were trying to use non-current contexts) and fixed the math in the Lighting fragment shader to correctly fade lights when the camera has been moved.