Figured out shadowing during sprite generation.