day/night background colorizer with speed parm

http://pastebin.com/B0FtrE1f

Cool for back of a fps game