Back to Filament

shadowBulbRadius

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

1.75.0775 B
Original Source

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

shadowBulbRadius

[main]
open var shadowBulbRadius: Float

Light bulb radius used for soft shadows. This is only used PCSS. A negative value is used to use a default value for each light type. For Spot and point-lights, this is the radius of the light bulb in meters. For Directional lights, this is tan(angularRadius), or just angularRadius [Rad] for small angles. SUN: getSunAngularRadius() * getSunHaloSize() DIRECTIONAL: 1.0 (1m area light) POINT / SPOT: 0.06 (A19 bulb)