attentuation factor now working

gets darker the farther you are away