Skip to main content

Interface: LightEstimationSpec

Defined in: light-estimation.ts:38

Which slots a live estimate may take over.

All three light slots default to on, because an app that asks for light estimation is asking for the room's light and not for a third of it. shadows defaults to off: it costs a shadow map and a second render, and it is a rendering decision the app should make on purpose.

Properties

PropertyModifierTypeDescriptionDefined in
ambient?readonlyboolean-light-estimation.ts:39
ibl?readonlyboolean-light-estimation.ts:41
key?readonlyboolean-light-estimation.ts:40
shadows?readonlybooleanAsk the host to cast shadows from the estimated key light.light-estimation.ts:43