Created two shadow maps per parameter setup, dynamic and static. Fixes a few crashes and the paves the way for lights doing both static and dynamic.