Portal:Algorithms/Eye From Window

From OpenGL Wiki
Jump to navigation Jump to search

Deferred Rendering techniques will often need to obtain an eye-space on the lighting passes. This algorithm demonstrates three mechanisms for computing this value, so that you don't have to fetch it from a texture.