Ive been trying different ways to create a ray method that gives me back whatever texture is on a mesh by using the xna triangle picking sample as a starting point, but theres just one last thing I need help with, implementing if statements that gives the string for each texture selected on a multitextured mesh. I used the the modification info given in the links below.
raycast texture coordinates of a triangle
My project goal is to try to create certain sounds and particle effects based on the texture of the terrain the character is walking on