Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/ULightComponent
Syntax
UPROPERTY (EditAnywhere, BlueprintReadOnly, Category=Light, AdvancedDisplay,
Meta=(UIMin="0", UIMax="1"))
float ShadowBias
Remarks
Controls how accurate self shadowing of whole scene shadows from this light are. At 0, shadows will start at the their caster surface, but there will be many self shadowing artifacts. larger values, shadows will start further from their caster, and there won't be self shadowing artifacts but object might appear to fly. around 0.5 seems to be a good tradeoff. This also affects the soft transition of shadows