I have a pentagon that I want to fill with a gradient. The effect should be that one side of the pentagon is uniformly white, and the two opposite sides are uniformly black, with a smooth transition in between. I've tried doing this by overlapping several linear gradients, but the result just doesn't look smooth.
The effect should be something like this, but better obviously.
I'm using CS6.