Back to Filament

SoftShadowOptions

docs/android/dokka/filament-android/com.google.android.filament/-view/-soft-shadow-options/index.md

1.75.01.7 KB
Original Source

//filament-android/com.google.android.filament/View/SoftShadowOptions

SoftShadowOptions

open class SoftShadowOptions

View-level options for PCSS Shadowing.

See also

setSoftShadowOptionsWarning: This API is still experimental and subject to change.

Constructors

SoftShadowOptions[main]
constructor()

Properties

NameSummary
maxPenumbraRatio[main]
open var maxPenumbraRatio: Float
Sets the global default maximum geometric ratio applied to Percentage-Closer Soft Shadows (PCSS).
maxSearchRadius[main]
open var maxSearchRadius: Float
Sets the global default maximum world-space radius used during the PCSS blocker search.
penumbraRatioScale[main]
open var penumbraRatioScale: Float
Sets a global scale factor applied to the PCSS geometric ratio before failsafe clamping.
penumbraScale[main]
open var penumbraScale: Float
Sets a global scale factor applied to the final penumbra size of all PCSS shadows.