struct BloomSettings

Settings that control the bloom effect.

Bloom adds an extra highlight to bright areas of the scene.

Public

Constructors

BloomSettings

BloomSettings() = default

Methods

staticGetRttiStatic

static RTTIType *GetRttiStatic()

GetRtti

RTTIType *GetRtti() const override

Returns an interface you can use to access class' Run Time Type Information.

Fields

Enabled

bool Enabled

Enables or disables the bloom effect.

Quality

u32 Quality

Quality of the bloom effect.

Higher values will use higher resolution texture for calculating bloom, at the cost of lower performance. Valid range is [0, 3], default is 2.

Threshold

float Threshold

Determines the minimal threshold of pixel luminance to be included in the bloom calculations.

Any pixel with luminance below this value will be ignored for the purposes of bloom. The value represents luminance after it is scaled by exposure. Set to zero or negative to disable the threshold and include all pixels in the calculations.

Intensity

float Intensity

Determines the intensity of the bloom effect.

Ideally should be in [0, 4] range but higher values are allowed.

Tint

Color Tint

Tint color to apply to the bloom highlight.

A pure white means the bloom inherits the underlying scene color.

FilterSize

float FilterSize

Determines the percent of the texture to account for when filtering for bloom.

Larger values will include farther away pixels.