|
SolarSim
|
Defines light source properties for scene illumination. More...
#include <light_component.hpp>
Data Fields | |
| std::string | meshID |
| std::string | shaderID |
| glm::vec3 | color = glm::vec3(1.0f) |
| float | radius = 1000.0f |
Defines light source properties for scene illumination.
| glm::vec3 solarsim::LightComponent::color = glm::vec3(1.0f) |
RGB color of the light
| std::string solarsim::LightComponent::meshID |
Identifier for the mesh geometry resource
| float solarsim::LightComponent::radius = 1000.0f |
Effective radius/range of the light
| std::string solarsim::LightComponent::shaderID |
Identifier for the shader program to use