R2 Shaders
|
Vectors used when calculating positional lighting. More...
#include <R2LightPositional.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 | light_to_surface |
Direction from light source to surface (referred to as -L in most texts) | |
vec3 | normal |
The surface normal (referred to as N in most texts) | |
float | distance |
The distance between the surface and light source. | |
Vectors used when calculating positional lighting.
Definition at line 9 of file R2LightPositional.h.