SetLightShadowBias
From MaratisWiki
(Difference between revisions)
(Created page with "Set bias of the lights shadow. Accepts two arguments: Light object and a number. Light = getObject("Light") setLightShadowBias(Light, 1.0)") |
Dahnielson (Talk | contribs) m |
||
| (3 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | Set bias of the lights shadow. Accepts two arguments | + | {{lua-function|setLightShadowBias|object, bias}} |
| + | |||
| + | 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") | ||
setLightShadowBias(Light, 1.0) | setLightShadowBias(Light, 1.0) | ||
| + | |||
| + | [[Category:Lua scripting]] | ||
| + | [[Category:Lua function]] | ||
| + | [[Category:Light]] | ||
Latest revision as of 00: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)