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

Parameters describing a point 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.

Detailed Description

Parameters describing a point light.

Member Data Documentation

◆ color

vec3 grem::resource::Model::PointLight::color

Color of the light in linear RGB space.

◆ intensity

float grem::resource::Model::PointLight::intensity

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

◆ range

float grem::resource::Model::PointLight::range

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


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