|
group2 0.1.0
CSE 125 Group 2
|
Dynamic point light – built by Game, injected into the PBR light array. More...
#include <RendererTypes.hpp>
Public Attributes | |
| glm::vec3 | position {0.0f} |
| World-space position. | |
| glm::vec3 | color {1.0f} |
| Light colour (linear RGB). | |
| float | intensity = 1.0f |
| Brightness multiplier (passed as color.a in the UBO). | |
| float | range = 500.0f |
| Attenuation range (world units); falloff = 1 - (d²/r²). | |
Dynamic point light – built by Game, injected into the PBR light array.
| glm::vec3 PointLight::color {1.0f} |
Light colour (linear RGB).
| float PointLight::intensity = 1.0f |
Brightness multiplier (passed as color.a in the UBO).
| glm::vec3 PointLight::position {0.0f} |
World-space position.
| float PointLight::range = 500.0f |
Attenuation range (world units); falloff = 1 - (d²/r²).