optimize client lighting