R2 Shaders
Functions | Variables
R2DebugEyePositionReconstruction.frag File Reference

A fragment shader driver for reconstructing eye-space positions. More...

#include "R2PositionReconstruction.h"
#include "R2GBufferInput.h"
#include "R2LogDepth.h"
#include "R2Viewport.h"
#include "R2ViewRays.h"
Include dependency graph for R2DebugEyePositionReconstruction.frag:

Go to the source code of this file.

Functions

 layout (location=0) out vec4 R2_out_eye_position
 
void main (void)
 

Variables

uniform R2_viewport_t R2_viewport
 
uniform R2_view_rays_t R2_view_rays
 
uniform R2_gbuffer_input_t R2_gbuffer
 
uniform float R2_depth_coefficient
 

Detailed Description

A fragment shader driver for reconstructing eye-space positions.

Definition in file R2DebugEyePositionReconstruction.frag.