some soft shadow code. Not fully functional yet.