Back to Filament

shadowNearHint

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

1.75.0692 B
Original Source

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

shadowNearHint

[main]
open var shadowNearHint: Float

Optimize the quality of shadows from this distance from the camera. Shadows will be rendered in front of this distance, but the quality may not be optimal. This value is always positive. Use 0.0f to use the camera near distance. The default of 1m works well with many scenes. The quality of shadows may drop rapidly when this value decreases.