Original Post
I am trying to compute the view vector for a simple GLSL raycaster. I know how to compute the view vector in the vertex shader for a normal object, but how do I do it with a fullscreen quad? I assume I have to use the inverse projection matrix or something to unproject a screen point, but can't seem to find what I need. Cheers.