R2 Core Shaders

Macros | Functions | Variables
R2DebugEyeZReconstruction.frag File Reference

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

`#include "R2GBufferInput.h"`
`#include "R2LogDepth.h"`
`#include "R2Viewport.h"`
Include dependency graph for R2DebugEyeZReconstruction.frag:

Go to the source code of this file.

## Functions
| layout (location=0) out float R2_out_z
void | main (void)

## Variables
uniform R2_viewport_t | R2_viewport
uniform R2_gbuffer_input_t | R2_gbuffer
uniform float | R2_depth_coefficient

## Detailed Description

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

Definition in file R2DebugEyeZReconstruction.frag.