Grasshopper hatches as displacement and / or opacity map

Is it somehow possible to use hatches baked to a specific layer as displacement and / or opacity map in a physically based Rhino material?