文档

Unity Engine

Unity Engine

shadowBias

Shadow mapping constant bias.
阅读时间1 分钟最后更新于 2 天前

Definition

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.