Implemented shadow attenuation for directional lights.