Sculpted cracks depth color?

This nodegroup may help - it can key materials based on depth. The blend is attached to a massage further down the thread.