LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

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.