Skip to content

LightingProps

Defined in: packages/engine/src/components/Lighting.tsx:15

Property Type Default value Description
background? LookBackground undefined An equirectangular image drawn as the sky in place of the rig’s own, with sunU the column its sun stands in, 0 to 1 across. The rig turns it onto its sun.
clock? Entity undefined The day clock the sun follows; with none, the sun stands at the look’s hour.
focus? Vector3 undefined Where the sun’s shadow box stands. The player hero when left out.
look? LookPick undefined A named look, as World takes it.
shadowBox? Partial<ShadowBox> { halfWidth: 14, depth: 40 } The shadow box’s half width and depth in metres.
shadowMapSize? number 1024 The side of the sun’s shadow map in texels; 0 casts none.