GradientBrush appears too banded, solution?


I am making a gradient brush that is for some reason banding very blatantly. Any way to make it smoother?

Here is the brush decleration:

[code]GradientBrush gbrushWorkspace(Colour(75,75,75), 0, 20, Colour(87,87,87), 0, 748, false);

g.fillRect(10, 20, 1004,748);


The graphics context is on a 1024x768 dialog window surface, for whatever that’s worth.

I’ve attached a screenshot to show what I mean:



the only way to get it any smoother would be to dither but I’m not sure juce supports it. a quick fix would be to just make the colors more contrasting.