Game Development Reference
In-Depth Information
Reading the lights section
Lightwave uses a global ambient value which is defined in the lights
section using floating-point values for colour.
AmbientColor 1 1 1
AmbientIntensity 0.25
Each light that is found follows a line containing 'AddLight'. The motion
of a light is read in the same way as the motion of an object.
AddLight
LightName Light
ShowLight 1 5
LightMotion
NumChannels 9
Channel 0
{ Envelope
1
Key -2 0 0 0 0 0 0 0 0
Behaviors 1 1
}
Channel 1
{ Envelope. . ..
Light colour and intensity are defined as floating-point values. The
'LightType' value is an index value that can be
LightColor 1 1 1
LightIntensity 1
AffectCaustics 1
LightType 0
ShadowType 1
Reading the camera section
The camera section uses motion that can be read in the same way as an
object; only six channels are present, the values for scale are not used.
AddCamera
CameraName Camera
Search Nedrilad ::




Custom Search