How to get the world coordinates in post progress?

This is kinda the same idea, you might be able to covert parts of it.

Otherwise you can make all the meshes switch over to a shader that displays their world position, and then pass that as a texture buffer to the postpass.

there are a few other ways to do it to.