R2 Shaders
Data Fields
R2_light_positional_t Struct Reference

A positional light type. More...

#include <R2LightPositional.h>

Data Fields

vec3 color
 The light color. The components are assumed to be in the range [0, 1].
 
float intensity
 The light intensity.
 
vec3 position
 The eye-space light position.
 
float inverse_range
 The inverse light range (1.0 / range).
 
float inverse_falloff
 The inverse falloff value (1.0 / falloff).
 

Detailed Description

A positional light type.

Definition at line 24 of file R2LightPositional.h.


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