var shadowSoftness : float
Description
Softness of directional light's soft shadows
See Also: shadows, shadowSoftnessFade properties.
light.shadowSoftness = 8.0;
using UnityEngine;
using System.Collections;
public class example :
MonoBehaviour {
void Awake() {
light.shadowSoftness = 8.0F;
}
}
import UnityEngine
import System.Collections
class example(
MonoBehaviour):
def
Awake():
light.shadowSoftness = 8.0F