|
Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
|
Component representing a light source in the scene. More...
#include <LightComponent.hpp>
Public Attributes | |
| LightType | type = LightType::Directional |
| Type classification of the light source. | |
| glm::vec3 | color { 1.0f, 1.0f, 1.0f } |
| RGB light color vector. | |
| float | intensity = 1.0f |
| Intensity multiplier for brightness. | |
| float | range = 10.0f |
| Attenuation distance range for point and spot lights. | |
Component representing a light source in the scene.
| glm::vec3 Engine::LightComponent::color { 1.0f, 1.0f, 1.0f } |
RGB light color vector.
| float Engine::LightComponent::intensity = 1.0f |
Intensity multiplier for brightness.
| float Engine::LightComponent::range = 10.0f |
Attenuation distance range for point and spot lights.
| LightType Engine::LightComponent::type = LightType::Directional |
Type classification of the light source.