R2 Shaders
|
Vectors used when calculating directional lighting. More...
#include <R2LightDirectional.h>
Data Fields | |
vec3 | observer_to_surface |
Direction from observer to surface (referred to as V in most texts) | |
vec3 | surface_to_light |
Direction from surface to light source (referred to as L in most texts) | |
vec3 | normal |
The surface normal (referred to as N in most texts) | |
vec3 | reflection |
Reflection between observer and normal (referred to as R in most texts) | |
Vectors used when calculating directional lighting.
Definition at line 9 of file R2LightDirectional.h.