BloomOptions

Options to control the bloom post-processing effect.

Bloom allows bright areas to glow and bleed into surrounding areas, creating a luminous quality. The effect can be enhanced with lens flare, lens artifacts, and customizable bloom color and spread.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Bloom blending mode.

Properties

Link copied to clipboard

How the bloom effect is applied.

Link copied to clipboard

Amount of chromatic aberration in the lens flare effect. Default: 0.005.

Link copied to clipboard

A dirt/scratch/smudges texture (RGB) which gets added to the bloom effect. Smudges are visible where bloom occurs. Threshold must be enabled for the dirt effect to work properly. Default: null.

Link copied to clipboard

Strength of the dirt texture. Default: 0.2.

Link copied to clipboard

Enable or disable the bloom post-processing effect. Default: false.

Link copied to clipboard

Number of flare "ghosts" (lens artifacts). Default: 4.

Link copied to clipboard

Spacing of the ghost in screen units [0, 1). Default: 0.6.

Link copied to clipboard

HDR threshold for the ghosts. Default: 10.0.

Link copied to clipboard

Radius of halo in vertical screen units 0, 0.5. Default: 0.4.

Link copied to clipboard

Thickness of halo in vertical screen units, 0 to disable. Default: 0.1.

Link copied to clipboard

HDR threshold for the halo. Default: 10.0.

Link copied to clipboard

Limit highlights to this value before bloom, range 10, +inf. Default: 1000.0.

Link copied to clipboard

Enable screen-space lens flare effect. Default: false.

Link copied to clipboard
var levels: Int

Number of successive blurs to achieve the blur effect. Minimum is 3 and maximum is 12. This value together with resolution influences the spread of the blur effect. This value can be silently reduced to accommodate the original image size. Default: 6.

Link copied to clipboard

Bloom quality level.

Link copied to clipboard

Resolution of bloom's minor axis. Minimum value is 2^levels and maximum is lower of the original resolution and 4096. This parameter is silently clamped to the minimum and maximum. Default: 384.

Link copied to clipboard

Enable starburst effect on lens flare. Default: true.

Link copied to clipboard

How much of the bloom is added to the original image, between 0 and 1. Default: 0.10.

Link copied to clipboard

When enabled, a threshold at 1.0 is applied on the source image, useful for artistic reasons and usually needed when a dirt texture is used. Default: true.