In Unity 2, each light object had a ShadowConstantBias and a ShadowObjectSizeBias.
Now, in Unity 3, each light just has a Bias.
I need to set this bias from a script, but can't figure out how to do so.
Inspecting UnityEngine.dll didn't turn up anything useful.
To what internal Unity var is each light's Bias gui slider linked?
Aras
3
Whoops, that was an oversight in Unity 3.0. Will be fixed in next release (which probably will be called "3.2")
Eric5h5
2
Not everything is exposed to scripting. If there's no property listed in the docs, that means it's not possible.