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 each light's ShadowConfig.bulbRadius. Cheaper than Pcss.

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.