R2 Shaders
|
A trivial directional light with Phong specular highlights. 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 with Phong specular highlights.
Definition in file R2LightDirectionalSpecular.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 R2LightDirectionalSpecular.h.