SetLightShadowBias
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) m |
Dahnielson (Talk | contribs) m |
||
Line 2: | Line 2: | ||
Set bias of the lights shadow. Accepts two arguments, light object and a number. | Set bias of the lights shadow. Accepts two arguments, light object and a number. | ||
+ | |||
+ | {{lua-function-param|object|object to operate on}} | ||
+ | {{lua-function-param|bias|shadow bias}} | ||
Light = getObject("Light") | Light = getObject("Light") |
Latest revision as of 01:31, 9 February 2014
setLightShadowBias(object, bias)
Set bias of the lights shadow. Accepts two arguments, light object and a number.
-
object
: object to operate on -
bias
: shadow bias
Light = getObject("Light") setLightShadowBias(Light, 1.0)