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() should be called successfully before using the Light functions.

Command Index

CopyLight
CreateLight
DisableLightShadow
FreeLight
HideLight
IsLight
LightColor
LightDiffuseColor
LightLocate
LightLookAt
LightSpecularColor
MoveLight
SpotLightRange

Example

Light.pb

Supported OS

All

Reference Manual - Index