HGamer3D-0.8.0: Toolset for the Haskell Game Programmer

Safe HaskellNone
LanguageHaskell98

HGamer3D.Graphics3D.Light

Description

Module providing the Light type

Documentation

data LightType Source #

Constructors

PointLight

casting light in all directions, from position

DirectionalLight

like a very far light source (the Sun)

SpotLight Angle Float

a light with a field of view (Angle) and an aspect-ratio (Float)

data Light Source #

Constructors

Light LightType Float Float Float

floats: brightness, range, specular intensity