What it does
postProcess.enableGrain enables Grain on a postProcess object. It takes bool and intensity. intensity is optional.
Signature
postProcess.enableGrain(bool, intensity?)Arguments
boolintensityoptional
Example · generated
function start() { postProcess.enableGrain(true);}postProcess.enableGrain 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.