Renamed shadowmap to be more generic.