You need to setup the projection matrix, that is all. Both, OpenGL(glut) and DirectX , provide according utility methods to calculate the projection matrix for you.
Thanks. I'm using DirectX, so what utility methods would I need here and what parameters to feed them?
I'm in a pixel shader, so I can only use HLSL code, no D3d... functions!