raisin::SensorBatchRenderer::RgbLighting
struct · #include <rayrai/SensorBatchRenderer.hpp>
Lighting of the RGB cameras.
Public attributes
lightDirection
cpp
std::array<float, 3> lightDirectionDirection the light travels, as Light::direction (need not be unit length).
lightColor
cpp
std::array<float, 3> lightColorLinear color of the directional light.
ambient
cpp
std::array<float, 3> ambientLinear color added regardless of surface orientation.
background
cpp
std::array<float, 3> backgroundColor where nothing was hit, written as is (already gamma encoded), in [0, 1].
gamma
cpp
float gammaOutput encoding: color^(1 / gamma).