Back to Filament

shadowFar

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

1.75.0613 B
Original Source

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

shadowFar

[main]
open var shadowFar: Float

Distance from the camera after which shadows are clipped. This is used to clip shadows that are too far and wouldn't contribute to the scene much, improving performance and quality. This value is always positive. Use 0.0f to use the camera far distance. This only affect directional lights.