VolViz
A volume visualization tool
|
Directional light. More...
#include <Light.h>
Public Attributes | |
Color | color {Color::Ones()} |
Color of the light. More... | |
PositionH | position {PositionH::Zero()} |
float | ambientFactor = 0.f |
Factor that specifies how the light contributes to the ambient lighting. More... | |
Directional light.
float VolViz::Light::ambientFactor = 0.f |
Factor that specifies how the light contributes to the ambient lighting.
Color VolViz::Light::color {Color::Ones()} |
Color of the light.
PositionH VolViz::Light::position {PositionH::Zero()} |
Position of the light source. Since only directional light are supported, the light is at an infinite position, therefore the position equals the direction to the light source