Mat example :
color=1,1,1,1
texture0="abstract::rgb2tx_blendmap.dds"
texture1="abstract::rgb2tx_red.dds"
texture2="abstract::rgb2tx_green.dds"
texture3="abstract::rgb2tx_blue.dds"
texture4="abstract::rgb2tx_alpha.dds"
shader="abstract::mesh_diffuse_bumpmap_rgba2tx.vert","abstract::mesh_diffuse_bumpmap_rgba2tx.frag"
shadowshader="abstract::mesh_shadow.vert"
blend=0
Shaders attached, the mesh.frag might be a mess of misc wip stuff.. but the RGBA2TX preprosessor directives are the ones used.
rgba2tx.zip