Back to Filament

maxShadowDistance

docs/android/dokka/filament-android/com.google.android.filament/-light-manager/-shadow-options/max-shadow-distance.md

1.75.0625 B
Original Source

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

maxShadowDistance

[main]
open var maxShadowDistance: Float

Maximum shadow-occluder distance for screen-space contact shadows (world units). (30 cm by default)

CAUTION: this parameter is ignored for all lights except the directional/sun light, all other lights use the same value set for the directional/sun light.