FANDOM



createDirLight(<sLightName>, <tPosition>, <tColour>)
Description
Creates a new directional light.
Example


Arguments
<sLightName>: the name of the light.
<tPosition>: a table containing the XYZ coordinates of the light.
<tColour>: a table containing the RGB components of the light's color. Values greater than 1.0 are assumed to be byte values [0..255], and get scaled. So, we get a vector instead.
Related Pages


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.