Bloom

constructor(strength: Float = 0.1f, thresholdEnabled: Boolean = true, quality: View.Quality = View.Quality.LOW, resolution: Int = 0, levels: Int = 6)

Parameters

strength

How much bloom is blended into the image, 0..1.

thresholdEnabled

Whether to clip the source at a fixed luminance of 1.0 before blooming. On by default; off blooms the whole image, which is usually only wanted with a dirt texture.

quality

Quality of the bloom's up/downsample chain.

resolution

Width in px of the largest mip in the downsample chain. 0 lets Filament pick a default (~360 px), which can look pixelated on high-DPI displays. Bump to roughly half the render width for a smoother halo on retina/iOS screens.

levels

Mip levels in the bloom chain (3..12). Higher = wider, softer halo.