GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::resource::Model::DirectionalLight Struct Reference

Parameters describing a directional light. More...

#include <GREM/resource/Model.hpp>

Public Attributes

vec3 color
 Color of the light in linear RGB space.
float intensity
 Illuminance of the light, in lux, if it were colored pure white.

Detailed Description

Parameters describing a directional light.

Member Data Documentation

◆ color

vec3 grem::resource::Model::DirectionalLight::color

Color of the light in linear RGB space.

◆ intensity

float grem::resource::Model::DirectionalLight::intensity

Illuminance of the light, in lux, if it were colored pure white.


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