rememberEmissiveMaterialInstance

fun rememberEmissiveMaterialInstance(color: LinearColor, intensity: Float = 1.0f, engine: Engine = LocalFilamentEngine.current ?: noFilamentEngine()): MaterialInstance

An UNLIT emissive MaterialInstance that glows: color tint scaled by intensity. Intensity above ~1 pushes past the bloom threshold and produces a halo (enable Bloom on the view).

Parameters

color

Linear-sRGB base/emissive colour.

intensity

Emissive multiplier; > 1 to bloom. Defaults to 1 (full colour, no bloom).

engine

Engine that owns the material. Defaults to the current composition scope's engine.