Fixed a bug with horizon culling and began implementing atmospheric scattering.