Skip to main content
GameDev.net gamedev.net
🔒 Locked

view vector and fullscreen quad

Started by JPulham Jun 22, 2009 at 2:05 PM 0 replies 550+ views
Original Post
JPulham
JPulham
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.