(from
MacOSXHints)
Just open Terminal and paste this in:
[codex]defaults write com.apple.dock no-glass -boolean YES; killall Dock[/codex]
It's not perfect; there's a pretty strong white stroke around the top and sides. But it is a bit less distracting at least.