R2 Shaders
|
The main function that all deferred light shaders must implement. More...
Go to the source code of this file.
Functions | |
R2_light_output_t | R2_deferredLightMain (const R2_reconstructed_surface_t surface) |
The main function that all deferred light shaders must implement.
Definition in file R2LightShaderMain.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 R2LightAmbientWithOcclusion.h.