Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
|
Describes a simplified light source. More...
#include <foray_lights.hpp>
Public Attributes | |
glm::vec3 | Color |
Linear RGB color of emitted light. | |
ELightType | Type |
Type (see SimplifiedLightType enum values) | |
glm::vec3 | PosOrDir |
Position or direction, interprete based on type. | |
fp32_t | Intensity = 1.f |
Intensity (candela for point type, lux in directional lights) | |
Describes a simplified light source.
glm::vec3 foray::scene::SimpleLight::Color |
Linear RGB color of emitted light.
fp32_t foray::scene::SimpleLight::Intensity = 1.f |
Intensity (candela for point type, lux in directional lights)
glm::vec3 foray::scene::SimpleLight::PosOrDir |
Position or direction, interprete based on type.
ELightType foray::scene::SimpleLight::Type |
Type (see SimplifiedLightType enum values)