R2 Shaders
|
A trivial directional light that simply ignores the surface and applies a constant color. More...
Go to the source code of this file.
Functions | |
R2_light_output_t | R2_deferredLightMain (const R2_reconstructed_surface_t surface) |
Variables | |
uniform R2_light_directional_t | R2_light_directional |
A trivial directional light that simply ignores the surface and applies a constant color.
Definition in file R2LightDirectionalDebugConstant.h.
R2_light_output_t R2_deferredLightMain | ( | const R2_reconstructed_surface_t | surface | ) |
Calculate light values for the current light, based on the current contents of the G-buffer.
surface | Reconstructed surface data taken from the G-Buffer |
Definition at line 13 of file R2LightDirectionalDebugConstant.h.