
21 Aug
2007
21 Aug
'07
3:53 a.m.
On Mon, 2007-08-20 at 15:49 -0700, MenTaLguY wrote:
Adding random noise to the gradients may help reduce the visibility of artifacts to the human eye, however. Gradients are rendered by selecting colors from a precomputed 1024-color vector, so adding a very small amount of noise to that index calculation should be sufficient.
Ok, as of r15880 I've added a little bit of noise to gradients using a linear feedback shift register. I would consider this pretty experimental and it might get reverted later.
I'm mainly curious to see how much this helps perceptually; the real source of the banding (besides buffer precision issues) is the precomputed vector, but changing that means a pretty significant change architecturally.
-mental