lambdacube-engine-0.2.2: 3D rendering engine written entirely in Haskell

Graphics.LambdaCube.Light

Synopsis

Documentation

data LightTypes Source

Possible types of light sources.

Constructors

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.