shadowBias
Shadow mapping constant bias.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public float shadowBias { get; set; }
Remarks
Shadow caster surfaces are pushed by this world-space amount away from the light, to help prevent self-shadowing ("shadow acne") artifacts.
Additional Resources: Light.shadows, Light.shadowNormalBias properties.