Skip to main content

Grayscale

Use the debug controls to adjust or disable the effect.

const grayscale = await TGrayscalePostProcessingEffect.create(this.jobs);

this.postProcessing.add(grayscale);
grayscale.intensity = 0.75;
grayscale.enabled = false;

this.postProcessing.remove(grayscale);
await grayscale.destroy(this.jobs);