R2 Shaders
|
Functions for performing position reconstruction during deferred rendering. More...
Go to the source code of this file.
Functions | |
vec4 | R2_positionReconstructFromEyeZ (const float eye_z, const vec2 uv, const R2_view_rays_t view_rays) |
Functions for performing position reconstruction during deferred rendering.
Definition in file R2PositionReconstruction.h.
vec4 R2_positionReconstructFromEyeZ | ( | const float | eye_z, |
const vec2 | uv, | ||
const R2_view_rays_t | view_rays | ||
) |
Reconstruct an eye-space position from the given parameters.
eye_z | The eye-space Z value of the position |
uv | The current position on the screen in UV coordinates |
view_rays | The current set of view rays |
Definition at line 19 of file R2PositionReconstruction.h.