PureBasic - Light
Overview
Lights are essential components in order to create worlds which look realistic. As with real life light, it is possible to specify many attributes of this light such as: the color, specular color, direction and more. InitEngine3D() must be called successfully before using the light functions.
Command Index
CopyLight
CreateLight
DisableLightShadows
FreeLight
GetLightColor
HideLight
IsLight
LightAttenuation
LightDirection
LightDirectionX
LightDirectionY
LightDirectionZ
LightID
LightLookAt
LightPitch
LightRoll
LightX
LightY
LightYaw
LightZ
MoveLight
RotateLight
SetLightColor
SpotLightRange
Example
Light.pb
Supported OS
All