postProcess.enableBloom

Section: Post-Process

What it does

postProcess.enableBloom enables Bloom on a postProcess object. It takes bool, intensity and threshold. intensity and threshold are optional.

Signature

postProcess.enableBloom(bool, intensity?, threshold?)

Arguments

  • bool
  • intensityoptional
  • thresholdoptional

Example · generated

function start() {  postProcess.enableBloom(true);}

postProcess.enableBloom is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.

18 members in postProcess