Luminance gradients and edge effects