R2 Shaders
Functions | Variables
R2LightShaderDriverSingle.h File Reference

A fragment shader driver for single instance lights. More...

#include "R2LightOutput.h"
#include "R2ReconstructedSurface.h"
#include "R2GBufferInput.h"
#include "R2LogDepth.h"
#include "R2Normals.h"
#include "R2Viewport.h"
#include "R2ViewRays.h"
Include dependency graph for R2LightShaderDriverSingle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

Variables

uniform R2_viewport_t R2_light_viewport
 
uniform R2_gbuffer_input_t R2_light_gbuffer
 
uniform float R2_light_depth_coefficient
 
uniform R2_view_rays_t R2_light_view_rays
 
in float R2_light_volume_positive_eye_z
 

Detailed Description

A fragment shader driver for single instance lights.

Definition in file R2LightShaderDriverSingle.h.