Skip to main content

Interface: ToneMappingEcsComponent

Defined in: rendering/components/tone-mapping-component.ts:12

Configures the tone mapping post-process pass for whichever camera entity this is attached to. See createToneMapEcsSystem.

Properties

exposure

exposure: number

Defined in: rendering/components/tone-mapping-component.ts:18

Multiplies the camera's HDR color before operator compresses it into displayable [0, 1] range. Values above 1 brighten the image before the highlight rolloff kicks in; values below 1 darken it.


operator

operator: TONE_MAPPING_OPERATOR_KEYS

Defined in: rendering/components/tone-mapping-component.ts:24

Which curve compresses HDR color into [0, 1] range. See TONE_MAPPING_OPERATOR.