Light.shadowSoftnessFade 阴影柔化淡出

var shadowSoftnessFade : float

Description描述

Fadeout speed of directional light's soft shadows

平行光软阴影的淡出速度。

参见: shadows, shadowSoftness 属性。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	void Awake() {
		light.shadowSoftnessFade = 0.3F;
	}
}
// make light's shadow softness fade out really fast
//使灯光阴影柔化的快速淡出

light.shadowSoftnessFade = 0.3;
Page last updated: 2011-3-30