Dpcf

data class Dpcf(val penumbraScale: Float = 1.0f, val penumbraRatioScale: Float = 1.0f) : Shadows

Dynamic Percentage-Closer soft Filtering — soft shadows whose penumbra grows with distance from the occluder. Cheaper than Pcss; as of Filament 1.75 the per-light ShadowConfig.bulbRadius feeds PCSS only, so tune DPCF through penumbraScale instead.

Constructors

Link copied to clipboard
constructor(penumbraScale: Float = 1.0f, penumbraRatioScale: Float = 1.0f)

Properties

Link copied to clipboard

Scales how fast the penumbra widens with distance.

Link copied to clipboard

Global multiplier on penumbra size.