Inheritance: EventDispatcher → Node → TempNode →
Post processing node for creating a film grain effect.
FilmNode is an addon, and must be imported explicitly, see Installation#Addons.
import { film } from 'three/addons/tsl/display/FilmNode.js';
Constructs a new film node.
inputNode
The node that represents the input of the effect.
intensityNode
A node that represents the effect's intensity.
Default is null.
uvNode
A node that allows to pass custom (e.g. animated) uv data.
Default is null.
The node that represents the input of the effect.
A node that represents the effect's intensity.
Default is null.
A node that allows to pass custom (e.g. animated) uv data.
Default is null.
This method is used to setup the effect's TSL code.
builder
The current node builder.
Overrides: TempNode#setup