http://manual.conitec.net/hit.htm

Determine the UV values on the hit position, use them to read the corresponding pixel of the blend map, and check its RGB value.