R2 Shaders
Data Fields
R2_light_directional_vectors_t Struct Reference

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)
 

Detailed Description

Vectors used when calculating directional lighting.

Definition at line 9 of file R2LightDirectional.h.


The documentation for this struct was generated from the following file: