R2 Shaders
Data Fields
R2_light_directional_t Struct Reference

A directional light type. More...

#include <R2LightDirectional.h>

Data Fields

vec3 color
 The light color. The components are assumed to be in the range [0, 1].
 
vec3 direction
 The light direction. Assumed to be normalized.
 
float intensity
 The light intensity.
 

Detailed Description

A directional light type.

Definition at line 22 of file R2LightDirectional.h.


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