Optimize shadows down to a single draw call for each type of shadow.