Sign in to follow this  

view vector and fullscreen quad

Recommended Posts

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.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this