Back to Filament

normalBias

docs/android/dokka/filament-android/com.google.android.filament/-light-manager/-shadow-options/normal-bias.md

1.75.0532 B
Original Source

//filament-android/com.google.android.filament/LightManager/ShadowOptions/normalBias

normalBias

[main]
open var normalBias: Float

Amount by which the maximum sampling error is scaled. The resulting value is used to move the shadow away from the fragment normal. Should be 1.0. This is ignored when the View's ShadowType is set to VSM.