How to get the position of the point of the world position in the local UV space in material?

I can do this to get the correct position in the orthographic View, but I want to get the result of the perspective View. :frowning_face:

Please help me, thank you very much.

This is the result now

OK, I finally found a solution: after debugging, the result is good.