added proper rendering to terrain, fixed bug where stars would appear on top of terrain