Safe Haskell | Safe-Infered |
---|
- data LightTypes
- data Light = Light {}
Documentation
data LightTypes Source
Possible types of light sources.
LT_POINT | Point light sources give off light equally in all directions, so they require only position but no direction. |
LT_DIRECTIONAL | Directional lights simulate parallel light beams from a distant source, hence have direction but no position. |
LT_SPOTLIGHT | Spotlights simulate a cone of light from a source so require position and direction, plus extra values for falloff. |
Light source description.