Trying to learn how a 2d lighting algorithm works