dao::atmosphere::TreeLight
struct
The light SpeedTree’s trees are lit by, apart from the rest of the level: they take no ambient light, no placed lights and no light probe.
Declared in dao/Atmosphere.h.
Functions
operator==()
bool operator==(const TreeLight &) const =default
Fields
| Field | Type | |
|---|---|---|
diffuse |
std::array<float, 4>{} |
red, green and blue, and a fourth |
direction |
std::array<float, 4>{} |
the way the light travels, a unit vector, and a fourth (1) |