Finished implementation of light model