Skip to main content

Type Alias: ShadowBiasProps

ShadowBiasProps = object

Defined in: modules/lighting/shadow/shadow-types.ts:11

Properties​

depthBias?​

optional depthBias?: number

Defined in: modules/lighting/shadow/shadow-types.ts:15

Constant raster depth bias applied by the caster pipeline.


depthBiasSlopeScale?​

optional depthBiasSlopeScale?: number

Defined in: modules/lighting/shadow/shadow-types.ts:17

Slope-scaled raster depth bias applied by the caster pipeline.


normalBias?​

optional normalBias?: number

Defined in: modules/lighting/shadow/shadow-types.ts:13

Receiver displacement along the world-space normal.


strength?​

optional strength?: number

Defined in: modules/lighting/shadow/shadow-types.ts:19

Fraction of the direct-light contribution affected by the shadow.