Light.shadowBias Manual     Reference     Scripting  
Scripting > Runtime Classes > Light
Light.shadowBias

var shadowBias : float

Description

Shadow mapping bias

See Also: shadows property.

JavaScripts
light.shadowBias = 0.2;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
light.shadowBias = 0.2F;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
light.shadowBias = 0.2F