File: FilmPass.md | Updated: 11/15/2025
This pass can be used to create a film grain effect.
const filmPass = new FilmPass();
composer.addPass( filmPass );
FilmPass is an addon, and must be imported explicitly, see Installation#Addons.
import { FilmPass } from 'three/addons/postprocessing/FilmPass.js';
Constructs a new film pass.
intensity | The grain intensity in the range [0,1] (0 = no effect, 1 = full effect). Default is 0.5.
---|---
grayscale | Whether to apply a grayscale effect or not. Default is false.
The pass material.
The pass uniforms. Use this object if you want to update the intensity or grayscale values at runtime.
pass.uniforms.intensity.value = 1;
pass.uniforms.grayscale.value = true;
Frees the GPU-related resources allocated by this instance. Call this method whenever the pass is no longer used in your app.
Overrides: Pass#dispose
Performs the film pass.
renderer | The renderer.
---|---
writeBuffer | The write buffer. This buffer is intended as the rendering destination for the pass.
readBuffer | The read buffer. The pass can access the result from the previous pass from this buffer.
deltaTime | The delta time in seconds.
maskActive | Whether masking is active or not.
Overrides: Pass#render