dithering considers luminance now (experimental, should be optional?)