Lighting is crucial in chroma keying. The background must be lit evenly to ensure the key color is consistent. Good lighting on the subject is also important to avoid shadows.