support light rotation.