added some shadow mapping stuff.