Light component. More...
#include <RadientScene.h>
Public Attributes | |
| RADIENT_LIGHT_TYPE | Type = RADIENT_LIGHT_TYPE_DIRECTIONAL |
| Light type. | |
| RadientFloat3 | Color = {1.f, 1.f, 1.f} |
| Light color. | |
| Float32 | Intensity = 1.f |
| Light intensity. | |
| Float32 | Range = 0.f |
| Maximum effective distance for point and spot lights, in scene units. A value of 0 means unbounded. | |
| Float32 | Exposure = 0.f |
| Exposure multiplier as a power of 2. | |
| Float32 | Diffuse = 1.f |
| Diffuse contribution multiplier. | |
| Float32 | Specular = 1.f |
| Specular contribution multiplier. | |
| Bool | Normalize = False |
| Normalizes power by the light area or angular size. | |
| Bool | EnableColorTemperature = False |
| Enables ColorTemperature. | |
| Float32 | ColorTemperature = 6500.f |
| Color temperature in degrees Kelvin. | |
| Float32 | Radius = 0.5f |
| Radius for sphere and point-style lights, in scene units. | |
| Float32 | Angle = 0.53f |
| Angular diameter for distant lights, in degrees. | |
| Float32 | InnerConeAngle = 0.f |
| Inner spot cone angle in radians. | |
| Float32 | OuterConeAngle = 0.7853981633974483f |
| Outer spot cone angle in radians. | |
| Float32 | ShapingFocus = 0.f |
| Shaping focus. | |
Light component.