Light.shadowSoftness 阴影柔化
var shadowSoftness : float
Description描述
Softness of directional light's soft shadows
平行光的柔化软阴影。
参见: shadows, shadowSoftnessFade 属性
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Awake() {
light.shadowSoftness = 8.0F;
}
}
// make light's shadows very soft
//使灯光的阴影非常柔
light.shadowSoftness = 8.0;
最后修改:2011年3月30日 Wednesday 13:57