R2 Core Shaders

Data Fields
R2_light_positional_vectors_t Struct Reference

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.

## Detailed Description

Vectors used when calculating positional lighting.

Definition at line 9 of file R2LightPositional.h.

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

- R2LightPositional.h