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

Parameters describing a spot light. More...

#include <GREM/resource/Model.hpp>

Public Attributes

vec3 color
 Color of the light in linear RGB space.
float intensity
 Luminous intensity of the light, in candela, if it were colored pure white.
float range
 Distance cutoff where the light's intensity reaches zero, or a non-positive value for infinite range.
float innerConeAngle
 Angle, in radians, where the light cone reaches maximum brightness.
float outerConeAngle
 Angle, in radians, where the light cone fades to zero.

Detailed Description

Parameters describing a spot light.

Member Data Documentation

◆ color

vec3 grem::resource::Model::SpotLight::color

Color of the light in linear RGB space.

◆ intensity

float grem::resource::Model::SpotLight::intensity

Luminous intensity of the light, in candela, if it were colored pure white.

◆ range

float grem::resource::Model::SpotLight::range

Distance cutoff where the light's intensity reaches zero, or a non-positive value for infinite range.

◆ innerConeAngle

float grem::resource::Model::SpotLight::innerConeAngle

Angle, in radians, where the light cone reaches maximum brightness.

◆ outerConeAngle

float grem::resource::Model::SpotLight::outerConeAngle

Angle, in radians, where the light cone fades to zero.


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