SetLightShadowBias

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
m
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
Set bias of the lights shadow. Accepts two arguments: Light object and a number.
+
{{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")

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)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox