Bloom

data class Bloom(val strength: Float = 0.1f, val threshold: Boolean = true, val quality: View.Quality = View.Quality.LOW, val resolution: Int = 0, val levels: Int = 6)

Bloom — "glow" around bright areas.

Parameters

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.

Constructors

Link copied to clipboard
constructor(strength: Float = 0.1f, threshold: Boolean = true, quality: View.Quality = View.Quality.LOW, resolution: Int = 0, levels: Int = 6)

Properties

Link copied to clipboard
val levels: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard