postProcess.enableChromaticAberration

Section: Post-Process

What it does

postProcess.enableChromaticAberration enables ChromaticAberration on a postProcess object. It takes bool and amount. amount is optional.

Signature

postProcess.enableChromaticAberration(bool, amount?)

Arguments

  • bool
  • amountoptional

Example · generated

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

postProcess.enableChromaticAberration 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