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

var shadowSoftnessFade : float

Description

Fadeout speed of directional light's soft shadows

See Also: shadows, shadowSoftness properties.

JavaScripts
// make light's shadow softness fade out really fast
light.shadowSoftnessFade = 0.3;

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
light.shadowSoftnessFade = 0.3F