Added ability to turn off shadow maps.