Discovering light implementation with OpenGL