|
Monad Engine da02fba2
> Undercity Codex_
|
World-space position and RGB colour of a single point light. More...
#include <Common.h>
Public Attributes | |
| vec3 | color |
| Linear RGB light colour (1,1,1 = white full-intensity). | |
| vec3 | position |
| World-space origin of the light source. | |
World-space position and RGB colour of a single point light.
Collected by Scene::CollectLight() from all GameObjects that carry a LightComponent, then forwarded to RenderQueue::Draw() to set light uniforms.
| vec3 mnd::LightData::color |
| vec3 mnd::LightData::position |