implemented the light drawopengl functions, for directional light, spotlight and point light