D4NM4N #1 Ted allows for painting by height & slope and lets you export greyscale alpha maps of the various texture layers. Not sure if thats what you need though, but it sounds similar-ish.