How to find what tri a texel is on?

Blitz3D Forums/Blitz3D Programming/How to find what tri a texel is on?

Hey, i want to be able to find what triangle a texel(pixel) of a texture is on. I need this as i am attempting to create a 3d normal mapping, instead of just the flat surface stuff. But this is where i'm a bit stumped... Speed isn't really important either. Any ideas?