Back to Filament

penumbraScale

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

1.75.0956 B
Original Source

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

penumbraScale

[main]
open var penumbraScale: Float

Sets a light-specific scale factor applied to the final penumbra size of PCSS shadows. This parameter acts as an artistic modifier, allowing you to artificially soften or sharpen the shadows cast by this specific light without changing its physical light bulb size or altering the global scene lighting. The final scale applied to the shadow is calculated by modulating this local value with the global SoftShadowOptions::penumbraScale (global * local). The local penumbra scale multiplier. Default is 1.0.

See also

View.SoftShadowOptions