Just a guess, I'm not sure it's actually working under DX :
you would need to grab a Z-value from a depth(z)-buffer for particular pixel (the one you clicked on) and then transform it to world-coordinates.
But again, I'm not sure you can do it in DX
Give it a try...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.