Light.shadowBias 阴影偏移

var shadowBias : float

Description描述

Shadow mapping bias

阴影贴图的偏移。

参见: shadows 属性

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	void Awake() {
		light.shadowBias = 0.2F;
	}
}
light.shadowBias = 0.2;
Page last updated: 2011-3-30