Generating a depth map from a static mesh rock

I am working with the rock object that came with the starterContent. I want to paint moss on it so that the moss only appears in the deeper crevices. I found a tutorial that shows how to do this but the tutorial uses a depth map. So I am wondering how I can get a depth map from this static mesh object such as this rock prop.

Thank you.