BloomSettings class Rendering

Makes bright areas bleed light into their surroundings. Computed in a chain of HDR passes and added back to the scene before tone mapping.

Constructors

BloomSettings()

Properties

enabled ↔ bool
Whether bloom runs. Off by default.
getter/setter pair
fireflySuppression ↔ bool
Whether an isolated extreme pixel is weighted down against its neighbors before it blooms, so a mirror glint of a small, intense light cannot flood the frame or strobe as it moves. A uniformly bright region, however intense, keeps its full bloom.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
highlight ↔ double
The brightness a source pixel softly compresses toward before it blooms, so an extreme highlight cannot flood the frame. Values well below it pass nearly unchanged. 0 turns compression off.
getter/setter pair
intensity ↔ double
How strongly the bloom is added back to the scene. 0 is none.
getter/setter pair
lensFlare → LensFlareSettings
Screen-space lens flares, generated inside the bloom chain. Only run while bloom is enabled.
final
levels ↔ int
How many levels the chain downsamples through, clamped to 3 to 6. Each level below 6 drops one downsample and one upsample pass, and the widest part of the glow with them. Brightness stays the same, so 4 gives a tighter glow in seven passes instead of eleven.
getter/setter pair
referenceSize ↔ double?
The render size, in pixels along its larger side, that the blur's spread is measured against. Null measures each view against its own size, so the bloom covers the same fraction of whatever the view draws.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scatter ↔ double
Spread of the blur, from 0 to 1. Higher values bloom wider.
getter/setter pair
threshold ↔ double
HDR brightness above which a pixel starts to bloom.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited