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.

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

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
light.shadowSoftnessFade = 0.3F