Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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.

modifying model textures

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

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.