i think u must divide the image of each texture serparetly divide the image in blocks windows [8x8] and make some learning in order to classy the texture do you wnat. also, the glcm depend on some factors:
distance D angle = 0° 45° 90° 135° (offset in matlab) and radius equal to 0 or 1 qunatization level (Numlevel in matlab)
i hope my answer can help you. good luck