Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Light.shadowBias

Switch to Manual
public float shadowBias;

Description

Shadow mapping constant bias.

Shadow caster surfaces are pushed by this world-space amount away from the light, to help prevent self-shadowing ("shadow acne") artifacts.

See Also: shadows, shadowNormalBias properties.

Did you find this page useful? Please give it a rating: