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
boolamountoptional
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.