I'm working on a project where I want to take a collection of vertices that I have in NDC and put them back in world space, but I want them all to lie in a plane. Since there are an infinite number of vertices that can all be projected to the same NDC x and y, is it safe to say that the z-coordinate is completely independent? Can I alter the z-coordinate and "unproject" the point back through the inverse of all the matrices in the pipeline and have it appear in the same "place" on the screen? That's my understanding of how it is supposed to work, is that correct?
If it is, then my intuition is that if I wanted to put all the points in the same plane (in world space) as one specific point (with a normal conveniently equal to the cameras look direction), then all I should have to do is set their NDC z-value equal to the z-value of that particular NDC point? Is that correct? Does that make sense?